Package org.jboss.profileservice.spi

Examples of org.jboss.profileservice.spi.ProfileKey


   {
      String profileName = "default";
      InitialContext ctx = new InitialContext();
      ProfileService ps = (ProfileService) ctx.lookup("ProfileService");
      deploymentManager = ps.getDeploymentManager();
      ProfileKey defaultKey = new ProfileKey(profileName);
      deploymentManager.loadProfile(defaultKey);
      VFS.init();
   }
View Full Code Here


      contextInst.set(ctx);
      profileService = (ProfileService) ctx.lookup("ProfileService");

      deploymentManager = profileService.getDeploymentManager();

      ProfileKey defaultKey = new ProfileKey(DEFAULT_PROFILE_KEY_NAME);
     
      deploymentManager.loadProfile(defaultKey);
   }
View Full Code Here

/*     */     throws Exception
/*     */   {
/* 110 */     if (this.profileRepository == null) {
/* 111 */       throw new IllegalStateException("No profileRepository specified");
/*     */     }
/* 113 */     ProfileKey key = new ProfileKey(this.name);
/* 114 */     if (this.deploymentRepository == null)
/*     */     {
/* 116 */       this.deploymentRepository = this.profileRepository.getProfileDeploymentRepository(key);
/*     */     }
/* 118 */     log.info("Loading profile: " + this.name + " from: " + this.deploymentRepository);
View Full Code Here

/* 196 */     ProfileService ps = getProfileService();
/* 197 */     if (ps == null) {
/* 198 */       throw new NullPointerException("ProfileService has not been set");
/*     */     }
/*     */
/* 201 */     ProfileKey key = new ProfileKey(name);
/* 202 */     Profile profile = ps.getProfile(key);
/*     */
/* 205 */     VFSDeployment first = null;
/*     */
/* 208 */     Collection boostraps = profile.getDeployments(ManagedDeployment.DeploymentPhase.BOOTSTRAP);
View Full Code Here

/* 336 */       VirtualFile vf = getVFforURI(uri);
/* 337 */       this.vdfList.add(vf);
/*     */     }
/* 339 */     if (this.profileKey == null)
/*     */     {
/* 341 */       this.profileKey = new ProfileKey("default");
/*     */     }
/* 343 */     scan();
/*     */   }
View Full Code Here

/*  71 */     this.profileRoot = profileRoot;
/*     */   }
/*     */
/*     */   public void start()
/*     */   {
/*  76 */     ProfileKey key = new ProfileKey(this.name);
/*  77 */     this.defaultImpl = new ProfileImpl(this.profileRoot, key);
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   public Collection<ProfileKey> getProfileKeys()
/*     */   {
/*  89 */     Collection keys = new HashSet();
/*  90 */     keys.add(new ProfileKey(null));
/*  91 */     return keys;
/*     */   }
View Full Code Here

/*     */   public Collection<ProfileKey> getProfileKeys()
/*     */   {
/* 109 */     Collection keys = new HashSet();
/* 110 */     for (File profile : this.root.listFiles())
/*     */     {
/* 112 */       keys.add(new ProfileKey(profile.getName()));
/*     */     }
/* 114 */     return keys;
/*     */   }
View Full Code Here

   {
      String profileName = configuration.getProfileName();
      InitialContext ctx = new InitialContext();
      ProfileService ps = (ProfileService) ctx.lookup("ProfileService");
      deploymentManager = ps.getDeploymentManager();
      ProfileKey defaultKey = new ProfileKey(profileName);
      deploymentManager.loadProfile(defaultKey);
   }
View Full Code Here

   {
      String profileName = configuration.getProfileName();
      InitialContext ctx = new InitialContext();
      ProfileService ps = (ProfileService) ctx.lookup("ProfileService");
      deploymentManager = ps.getDeploymentManager();
      ProfileKey defaultKey = new ProfileKey(profileName);
      deploymentManager.loadProfile(defaultKey);
      VFS.init();
   }
View Full Code Here

TOP

Related Classes of org.jboss.profileservice.spi.ProfileKey

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.