Examples of ProfileSourceMetaData


Examples of org.jboss.profileservice.spi.metadata.ProfileSourceMetaData

         // Extract the profile source type
         type = metaData.getSource().getType();
         if( type == null )
            throw new IllegalArgumentException("Null profile source type.");
  
         ProfileSourceMetaData source = metaData.getSource();
        
         // TODO check if there is a conflict with hotdeployment repositories
         repository = createProfileDeploymentRepository(key, type , source);
         if(repository != null)
         {
View Full Code Here

Examples of org.jboss.profileservice.spi.metadata.ProfileSourceMetaData

      return new FilteredProfile(key, createURIs(metaData), subProfiles, getDeploymentNames(metaData));
   }
  
   protected URI[] createURIs(ProfileMetaData metaData) throws URISyntaxException
   {
      ProfileSourceMetaData profileSource = metaData.getSource();
      if(profileSource == null)
         throw new IllegalArgumentException("Null profile source.");
     
      List<URI> uris = new ArrayList<URI>();
      for(String source : profileSource.getSources())
      {
         URI uri = new URI(source);
         uris.add(uri);
      }
      return uris.toArray(new URI[uris.size()]);
View Full Code Here

Examples of org.jboss.profileservice.spi.metadata.ProfileSourceMetaData

         // Extract the profile source type
         type = metaData.getSource().getType();
         if( type == null )
            throw new IllegalArgumentException("Null profile source type.");
  
         ProfileSourceMetaData source = metaData.getSource();
        
         // TODO check if there is a conflict with hotdeployment repositories
         repository = createProfileDeploymentRepository(key, type , source);
         if(repository != null)
         {
View Full Code Here

Examples of org.jboss.profileservice.spi.metadata.ProfileSourceMetaData

   {
      // 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)
      {
View Full Code Here

Examples of org.jboss.profileservice.spi.metadata.ProfileSourceMetaData

      return new AbstractImmutableProfile(key, createURIs(metaData), subProfiles);
   }
  
   protected URI[] createURIs(ProfileMetaData metaData) throws URISyntaxException
   {
      ProfileSourceMetaData profileSource = metaData.getSource();
      if(profileSource == null)
         throw new IllegalArgumentException("Null profile source.");
     
      List<URI> uris = new ArrayList<URI>();
      for(String source : profileSource.getSources())
      {
         URI uri = new URI(source);
         uris.add(uri);
      }
      return uris.toArray(new URI[uris.size()]);
View Full Code Here

Examples of org.jboss.profileservice.spi.metadata.ProfileSourceMetaData

      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)
      {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.