Package org.jboss.profileservice.spi

Examples of org.jboss.profileservice.spi.ProfileKey


      Context ctx = server.getNamingContext();
      profileService = (ProfileService) ctx.lookup("ProfileService");

      deploymentManager = profileService.getDeploymentManager();

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


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

      Context ctx = createContext();
      profileService = (ProfileService) ctx.lookup("ProfileService");
     
      deploymentManager = profileService.getDeploymentManager();

      ProfileKey defaultKey = new ProfileKey(profileName);
      deploymentManager.loadProfile(defaultKey);
   }
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

      Context ctx = createContext();
      profileService = (ProfileService) ctx.lookup("ProfileService");
     
      deploymentManager = profileService.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, false);
      VFS.init();
   }
View Full Code Here

   protected ProfileKey getProfileKey()
   {
      if(getProfileName() == null)
         return defaultProfile;
     
      return new ProfileKey(getProfileName());
   }
View Full Code Here

  
   public void addRepositoryClusteringHandler(RepositoryClusteringHandler handler)
   {
      if (handler != null)
      {
         ProfileKey key = handler.getProfileKey();
         synchronized (clusteringHandlers)
         {
            clusteringHandlers.put(key, handler);
         }
      }     
View Full Code Here

  
   public void removeRepositoryClusteringHandler(RepositoryClusteringHandler handler)
   {
      if (handler != null)
      {
         ProfileKey key = handler.getProfileKey();
         synchronized (clusteringHandlers)
         {
            clusteringHandlers.remove(key);
         }
      } 
View Full Code Here

      if(subProfilesMetaData == null || subProfilesMetaData.isEmpty())
         return;
     
      for(SubProfileMetaData subProfile : subProfilesMetaData)
      {
         ProfileKey subProfileKey = createProfileKey(subProfile);
         if(this.profileMap.containsKey(subProfileKey))
         {
            createProfile(profiles, subProfileKeys, subProfileKey, this.profileMap.get(subProfileKey));
         }
         else if(this.profilesMetaData.containsKey(subProfileKey))
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.