org.jboss.system.server.profileservice
Class StaticClusteredProfileFactory

java.lang.Object
  extended by org.jboss.system.server.profileservice.repository.AbstractBootstrapProfileFactory
      extended by org.jboss.system.server.profileservice.repository.StaticProfileFactory
          extended by org.jboss.system.server.profileservice.StaticClusteredProfileFactory

public class StaticClusteredProfileFactory
extends StaticProfileFactory

Expands upon the StaticProfileFactory to include a subprofiles for farmed content.

Author:
Brian Stansberry

Field Summary
 
Fields inherited from class org.jboss.system.server.profileservice.repository.AbstractBootstrapProfileFactory
log
 
Constructor Summary
StaticClusteredProfileFactory()
           
 
Method Summary
protected  String[] createApplicationProfiles(String[] applicationsSubProfiles)
          Create the cluster profiles, including the application profile from the StaticProfileFactory.
protected  org.jboss.profileservice.spi.metadata.ProfileSourceMetaData createClusteredSource(URI[] uris, boolean hotDeployment)
          Create a profile repository source meta data.
 List<URI> getFarmURIs()
           
 List<URI> getHASingletonURIs()
           
 void setFarmURIs(List<URI> farmURIs)
           
 void setHASingletonURIs(List<URI> hasingletonURIs)
           
 
Methods inherited from class org.jboss.system.server.profileservice.repository.StaticProfileFactory
create, createApplicationProfile, createProfileMetaData, createProfileMetaData, createSource, createSubProfileMetaData, getApplicationsName, getApplicationURIs, getAttachmentStoreRoot, getBindingsURI, getBootstrapName, getBootstrapURI, getDeployersName, getDeployersURI, setApplicationsName, setApplicationURIs, setAttachmentStoreRoot, setBindingsURI, setBootstrapName, setBootstrapURI, setDeployersName, setDeployersURI
 
Methods inherited from class org.jboss.system.server.profileservice.repository.AbstractBootstrapProfileFactory
addProfile, addProfiles, createProfile, createProfileKey, createProfiles, createProfiles, getProfileFactory, setProfileFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticClusteredProfileFactory

public StaticClusteredProfileFactory()
Method Detail

getHASingletonURIs

public List<URI> getHASingletonURIs()

setHASingletonURIs

public void setHASingletonURIs(List<URI> hasingletonURIs)

getFarmURIs

public List<URI> getFarmURIs()

setFarmURIs

public void setFarmURIs(List<URI> farmURIs)

createApplicationProfiles

protected String[] createApplicationProfiles(String[] applicationsSubProfiles)
Create the cluster profiles, including the application profile from the StaticProfileFactory.

Overrides:
createApplicationProfiles in class StaticProfileFactory
Returns:
the dependencies for the root profile

createClusteredSource

protected org.jboss.profileservice.spi.metadata.ProfileSourceMetaData createClusteredSource(URI[] uris,
                                                                                            boolean hotDeployment)
Create a profile repository source meta data.

Parameters:
uris - the uris for the repository
hotDeployment - to create a hotDeployment profile
Returns:
the profile source meta data.


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.