Package org.jboss.profileservice.spi

Examples of org.jboss.profileservice.spi.ProfileKey


      assertTrue(profileService.getProfileKeys().isEmpty());
   }
  
   protected void assertActive(String profile) throws Exception
   {
      assertNotNull(profileService.getActiveProfile(new ProfileKey(profile)));
   }
View Full Code Here


    * @throws Exception
    */
   protected void processProfileMetaData(ProfileMetaData metaData) throws Exception
   {
      // Create profileKey
      ProfileKey key = createProfileKey(metaData);     
      processProfileMetaData(key, metaData);
   }
View Full Code Here

   {
      if(metaData.getSubprofiles() != null && metaData.getSubprofiles().isEmpty() == false)
      {
         for(SubProfileMetaData subProfile : metaData.getSubprofiles())
         {
            ProfileKey subProfileKey = createProfileKey(subProfile);
            processSubProfileMetaData(subProfileKey, subProfile);
         }
      }
   }
View Full Code Here

    * @param profilesMetaData the profiles meta data
    */
   protected void processProfilesMetaData(ProfilesMetaData profilesMetaData) throws Exception
   {
      // The <profiles> key
      ProfileKey profilesKey = createProfileKey(profilesMetaData);
      processProfilesMetaData(profilesKey, profilesMetaData);
   }
View Full Code Here

   public void testAvaiableProfiles() throws Exception
   {
      Collection<ProfileKey> keys = getDeploymentManager().getProfiles();
      assertNotNull(keys);
      log.debug("available keys: " + keys);
      keys.contains(new ProfileKey("applications"));
      keys.contains(deployersKey);
   }
View Full Code Here

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

      }
   }
  
   public void testSerializationDeserialization() throws Exception
   {
      ProfileKey key = new ProfileKey("domain", "server", "name");
      RepositoryContentMetadata rcm = new RepositoryContentMetadata(key);
      RepositoryRootMetadata rrm = new RepositoryRootMetadata("normal");
     
      RepositoryItemMetadata rim = new RepositoryItemMetadata();
      rim.setRelativePath("/item");
View Full Code Here

     
      // Clear jar suffixes.
      JarUtils.clearSuffixes();
     
      // Parse
      Collection<Profile> profiles = profileFactory.createProfiles(new ProfileKey("default"), null);
      assertNotNull(profiles);
     
      // 2 profiles in default.xml
      // 1 profile in seam.xml
      // 2 profiles in clustering.xml
View Full Code Here

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

   protected ProfileKey getProfileKey()
   {
      if(getProfileName() == null)
         return defaultProfile;
     
      return new ProfileKey(getProfileName());
   }
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.