Examples of ClusteredProfileSourceMetaData


Examples of org.jboss.system.server.profileservice.repository.clustered.metadata.ClusteredProfileSourceMetaData

    *
    * @return the profile source meta data.
    */
   protected ClusteredProfileSourceMetaData createClusteredSource(URI[] uris, boolean hotDeployment)
   {
      ClusteredProfileSourceMetaData source = null;
      if(hotDeployment)
      {
         source = new HotDeploymentClusteredProfileSourceMetaData();
      }
      else
      {
         source = new ImmutableClusteredProfileSourceMetaData();
      }
     
//      source.setPartitionName(getPartitionName());
     
      List<String> sources = new ArrayList<String>();
      for(URI uri : uris)
         sources.add(uri.toString());
      source.setSources(sources);
      return source;
   }
View Full Code Here

Examples of org.jboss.system.server.profileservice.repository.clustered.metadata.ClusteredProfileSourceMetaData

      if(repositoryType == null)
         throw new IllegalArgumentException("Null repository type.");
      if(types.contains(repositoryType) == false)
         throw new IllegalArgumentException("Cannot handle type: " + repositoryType);
     
      ClusteredProfileSourceMetaData clusteredMD = ClusteredProfileSourceMetaData.class.cast(metaData);
      if (clusteredMD.getPartitionName() == null)
      {
         clusteredMD.setPartitionName(getDefaultPartitionName());
      }
     
      URI[] uris = createUris(clusteredMD);
      Map<ProfileKey, RepositoryClusteringHandler> handlers = Collections.unmodifiableMap(this.clusteringHandlers);
      Set<LocalContentManagerFactory<?>> persisters = Collections.unmodifiableSet(this.localContentManagerFactories);
View Full Code Here

Examples of org.jboss.system.server.profileservice.repository.clustered.metadata.ClusteredProfileSourceMetaData

      if(repositoryType == null)
         throw new IllegalArgumentException("Null repository type.");
      if(types.contains(repositoryType) == false)
         throw new IllegalArgumentException("Cannot handle type: " + repositoryType);
     
      ClusteredProfileSourceMetaData clusteredMD = (ClusteredProfileSourceMetaData) metaData;
      if (clusteredMD.getPartitionName() == null)
      {
         clusteredMD.setPartitionName(getDefaultPartitionName());
      }
     
      URI[] uris = createUris(metaData);
      Map<ProfileKey, RepositoryClusteringHandler> handlers = Collections.unmodifiableMap(this.clusteringHandlers);
      Set<LocalContentManagerFactory<?>> persisters = Collections.unmodifiableSet(this.localContentManagerFactories);
View Full Code Here

Examples of org.jboss.system.server.profileservice.repository.clustered.metadata.ClusteredProfileSourceMetaData

    *
    * @return the profile source meta data.
    */
   protected ProfileSourceMetaData createClusteredSource(URI[] uris, boolean hotDeployment)
   {
      ClusteredProfileSourceMetaData source = null;
      if(hotDeployment)
      {
         source = new HotDeploymentClusteredProfileSourceMetaData();
      }
      else
      {
         source = new ImmutableClusteredProfileSourceMetaData();
      }
     
//      source.setPartitionName(getPartitionName());
     
      List<String> sources = new ArrayList<String>();
      for(URI uri : uris)
         sources.add(uri.toString());
      source.setSources(sources);
      return source;
   }
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.