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

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


     
      DefaultDeploymentRepositoryFactory f = new DefaultDeploymentRepositoryFactory();
      f.setUploadURIs(uris);
     
      List<String> sourceNames = Arrays.asList(uri1.toURI().toString(), upload.toURI().toString());
      ImmutableProfileSourceMetaData source = new ImmutableProfileSourceMetaData(sourceNames);
     
      // See if the upload directory is set correctly
      BasicDeploymentRepository repository = (BasicDeploymentRepository) f.createDeploymentRepository(defaultKey, source);
      assertEquals(upload.toURI(), repository.getUploadUri());
     
View Full Code Here


      {
         source = new HotDeploymentProfileSourceMetaData();
      }
      else
      {
         source = new ImmutableProfileSourceMetaData();
      }
      List<String> sources = new ArrayList<String>();
      for(URI uri : uris)
         sources.add(uri.toString());
      source.setSources(sources);
View Full Code Here

      {
         source = new HotDeploymentProfileSourceMetaData();
      }
      else
      {
         source = new ImmutableProfileSourceMetaData();
      }
      List<String> sources = new ArrayList<String>();
      for(URI uri : uris)
         sources.add(uri.toString());
      source.setSources(sources);
View Full Code Here

TOP

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

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.