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

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


    *
    * @return the profile source meta data.
    */
   protected ProfileSourceMetaData createSource(URI[] uris, boolean isHotDeployment)
   {
      AbstractProfileSourceMetaData source = null;
      if(isHotDeployment)
      {
         source = new HotDeploymentProfileSourceMetaData();
      }
      else
      {
         source = new ImmutableProfileSourceMetaData();
      }
      List<String> sources = new ArrayList<String>();
      for(URI uri : uris)
         sources.add(uri.toString());
      source.setSources(sources);
      return source;
   }
View Full Code Here


    * @param uri the uri
    * @return the profile source meta data.
    */
   protected ProfileSourceMetaData createSource(URI[] uris, boolean hotDeployment)
   {
      AbstractProfileSourceMetaData source = null;
      if(hotDeployment)
      {
         source = new HotDeploymentProfileSourceMetaData();
      }
      else
      {
         source = new ImmutableProfileSourceMetaData();
      }
      List<String> sources = new ArrayList<String>();
      for(URI uri : uris)
         sources.add(uri.toString());
      source.setSources(sources);
      return source;
   }
View Full Code Here

TOP

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

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.