Package org.jboss.system.server.profile.repository.metadata

Examples of org.jboss.system.server.profile.repository.metadata.BasicProfileMetaData


     
      if (bindingsURI != null)
      {
         // Create bindings profile meta data
         ProfileKey bindingsKey = new ProfileKey(bindingsName);
         BasicProfileMetaData bindings = new FilteredProfileMetaData(
               null, null, bindingsName);
         bindings.setSource(createSource(new URI[]{ bindingsURI }, false));
         addProfile(bindingsKey, bindings);
         subprofileNames = new String[] { bindingsName };
      }
      // Create bootstrap profile meta data
      ProfileKey bootstrapKey = new ProfileKey(bootstrapName);
View Full Code Here


    * @return the profile meta data.
    */
   protected ProfileMetaData createProfileMetaData(String name, boolean isHotDeployment, URI[] uris, String[] subProfiles)
   {
      // Create profile
      BasicProfileMetaData metaData = new BasicProfileMetaData(null, null, name);
     
      // Create profile sources
      metaData.setSource(createSource(uris, isHotDeployment));
     
      // Set subProfiles
      metaData.setSubprofiles(createSubProfileMetaData(subProfiles));
     
      return metaData;
   }
View Full Code Here

   }

   private ProfileMetaData createClusteredProfileMetaData(String name, boolean hotDeployment, URI[] uris, String[] subProfiles)
   {
      // Create profile
      BasicProfileMetaData metaData = new BasicProfileMetaData();
      metaData.setName(name);
      // Create profile sources
      ProfileSourceMetaData source = createClusteredSource(uris, hotDeployment);
      metaData.setSource(source);
     
      List<SubProfileMetaData> profileList = new ArrayList<SubProfileMetaData>();
      for(String subProfile : subProfiles)
      {
         BasicSubProfileMetaData md = new BasicSubProfileMetaData();
         md.setName(subProfile);
         profileList.add(md);
      }
      metaData.setSubprofiles(profileList);
     
      return metaData;
   }
View Full Code Here

    * @return the profile meta data.
    */
   private ProfileMetaData createProfileMetaData(boolean hotDeployment, URI[] uris, String[] subProfiles)
   {
      // Create profile
      BasicProfileMetaData metaData = new BasicProfileMetaData();
      metaData.setDomain(getProfileDomain());
      metaData.setServer(getProfileServer());
      metaData.setName(getProfileName());
     
      // Create profile sources
      ProfileSourceMetaData source = createSource(uris, hotDeployment);
      metaData.setSource(source);
     
      List<SubProfileMetaData> profileList = new ArrayList<SubProfileMetaData>();
      for(String subProfile : subProfiles)
      {
         BasicSubProfileMetaData md = new BasicSubProfileMetaData();
         md.setName(subProfile);
         profileList.add(md);
      }
      metaData.setSubprofiles(profileList);
     
      return metaData;
   }
View Full Code Here

TOP

Related Classes of org.jboss.system.server.profile.repository.metadata.BasicProfileMetaData

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.