public class Domain extends Object implements oracle.fmwplatform.envspec.common.ParentContainerWithVariables, oracle.fmwplatform.envspec.common.EntityWithId, oracle.fmwplatform.envspec.common.Tunable<Topology>, oracle.fmwplatform.util.validation.ValidationParticipant
Modifier and Type | Field and Description |
---|---|
static String |
RESERVED_TOKEN_ADMINSERVER |
static String |
RESERVED_TOKEN_DOMAIN |
Constructor and Description |
---|
Domain() |
Modifier and Type | Method and Description |
---|---|
boolean |
addAllApplicationBindings(List<ApplicationBinding> applicationBindings) |
boolean |
addAllClusterBindings(List<ClusterBinding> clusterBindings)
Adds the ClusterBindings provided to the list of ClusterBindings in this Domain.
|
boolean |
addAllCoherenceClusterBindings(List<CoherenceClusterBinding> coherenceClusterBindings)
Adds the CoherenceClusterBindings provided to the list of CoherenceClusterBindings in this Domain.
|
boolean |
addAllDataSourceBindings(Collection<DataSourceBinding> dataSourceBindings)
Add all DataSourceBindings to the Domain.
|
boolean |
addAllDependencies(List<Dependency> dependencies)
Add a list of Dependency objects to the Domain
|
boolean |
addAllDeployedProducts(Collection<OracleProduct> products) |
boolean |
addAllJmsBindings(List<JMSBinding> jmsBindings) |
boolean |
addAllSchemas(List<Schema> schemas)
Adds the Schemas provided to the list of Schemas in this Domain.
|
boolean |
addAllServerBindings(Collection<ServerBinding> serverBindings)
Adds the ServerBindings provided to the list of ServerBindings in this Domain.
|
boolean |
addAllServiceBindings(List<ServiceBinding> serviceBindings)
Adds the ServiceBindings provided to the list of ServiceBindings in this Domain.
|
boolean |
addAllWebTierBindings(List<WebTierBinding> webTierBindings)
Adds the WebTierBindings provided to the list of WebTierBindings in this domain
|
boolean |
addApplicationBinding(ApplicationBinding applicationBinding) |
boolean |
addClusterBinding(ClusterBinding clusterBinding)
Adds the ClusterBinding provided to the list of ClusterBindings in this Domain.
|
boolean |
addCoherenceClusterBinding(CoherenceClusterBinding coherenceClusterBinding)
Adds the CoherenceClusterBinding provided to the list of CoherenceClusterBindings in this Domain.
|
boolean |
addDataSourceBinding(DataSourceBinding dataSourceBinding)
Add a DataSourceBinding to the Domain.
|
boolean |
addDependency(Dependency dependency)
Add a single Dependency object to the Domain
|
boolean |
addDeployedProduct(OracleProduct oracleProduct) |
boolean |
addJmsBinding(JMSBinding jmsBinding) |
boolean |
addMigratableTargetBinding(MigratableTargetBinding migratableTargetBinding)
Adds the MigratableTargtBinding provided to the list of MigratableTargetBinding in this Domain.
|
boolean |
addSchema(Schema schema)
Adds the Schema provided to the list of Schemas in this Domain.
|
boolean |
addServerBinding(ServerBinding serverBinding)
Adds the ServerBinding provided to the list of ServerBindings in this Domain.
|
boolean |
addServiceBinding(ServiceBinding serviceBinding)
Adds the ServiceBinding provided to the list of ServiceBindings in this Domain.
|
boolean |
addSetting(String alias,
String value)
Convenience method to add a setting with the given alias and value, to the tuning parameters for this Domain.
|
boolean |
addWebTierBinding(WebTierBinding webTierBinding)
Adds the WebTierBinding provided to the list of WebTierBindings in this Domain
|
ForeignJndiProviderBinding |
findForeignJndiProviderBindingForResource(String resourceId) |
String |
getAdminCredentialRef()
Returns the Credential reference used to login to the AdminServer.
|
Server |
getAdminServer()
Returns the AdminServer on this Domain or null if one has not been set.
|
String |
getAdminServerId()
Returns the Server id of the AdminServer on this Domain or null if one has not been set.
|
String |
getAdminServerName()
The name of the admin server for this domain
|
String |
getAdminServerUrl()
Returns the admin server URL
|
oracle.fmwplatform.envspec.lookup.data.AliasCategory |
getAliasCategory() |
List<ApplicationBinding> |
getApplicationBindings() |
String |
getApplicationPath()
Return the domain's application path.
|
CapacityConstraint |
getCapacityConstraintByName(String resourceName)
Return the AppSvcResource by the provided name
|
List<ClasspathFileSystemResource> |
getClasspathFilesForServerId(String serverId) |
ClusterBinding |
getClusterBindingByName(String clusterName)
Returns the binding matching the cluster name provided or null if no match is found.
|
ClusterBinding |
getClusterBindingForClusterID(String clusterID)
Returns the cluster binding for the cluster Id specified or null if none are found.
|
ClusterBinding |
getClusterBindingForServerName(String serverName)
Return the cluster binding to which the server is assigned.
|
List<ClusterBinding> |
getClusterBindings()
Returns the list of cluster bindings in this domain.
|
List<ClusterBinding> |
getClusterBindingsForClusterIDs(List<String> clusterIDs)
Returns the cluster bindings for the cluster IDs specified o an empty list if none are found.
|
Cluster |
getClusterById(String clusterId)
Return the Cluster in this Domain that matches the name provided or null if no match is found.
|
String |
getClusterIdForClusterName(String clusterName)
Returns the cluster id for the cluster name provided or null if no match is found
|
List<String> |
getClusterIds()
Returns the list of cluster Ids on this domain.
|
String |
getClusterNameForServerName(String serverName)
Return the cluster name to which the server is assigned
|
CoherenceClusterBinding |
getCoherenceClusterBinding(String name)
Get the specified Coherence cluster binding by its name.
|
CoherenceClusterBinding |
getCoherenceClusterBindingByRef(String clusterRef)
Get the Coherence Cluster Binding that references the specified Coherence Cluster resource.
|
List<CoherenceClusterBinding> |
getCoherenceClusterBindings()
Return the list of jms messaging bridges for all of the blueprints in the domain.
|
ContextRequestClass |
getContextRequestClassByName(String resourceName)
Return the AppSvcResource by the provided name
|
DataSourceBinding |
getDataSourceBindingByName(String dataSourceName)
Returns the DataSourceBinding that matches the provided name.
|
List<DataSourceBinding> |
getDataSourceBindings()
Returns the list of DataSourceBindings or an empty list if there are none.
|
String |
getDefaultCoherencePort()
Returns the Default Coherence Port
|
List<Dependency> |
getDependencies()
Returns the dependencies of the Domain
|
List<OracleProduct> |
getDeployedProducts() |
String |
getDomainName()
Deprecated.
|
DomainProfile |
getDomainProfile() |
List<Application> |
getEffectiveApplications()
Return the list of applications for all of the blueprints in the domain.
|
Set<Blueprint> |
getEffectiveBlueprints()
Returns all the targets in this domain.
|
List<CapacityConstraint> |
getEffectiveCapacityConstraints()
Return the list of capacity constraint resources for all of the blueprints in the domain.
|
List<Cluster> |
getEffectiveClusters()
Returns all the clusters in this domain.
|
List<CoherenceClusterSystemResource> |
getEffectiveCoherenceClusterSystemResources()
Return the list of coherence system resources for all of the blueprints in the domain.
|
List<ContextRequestClass> |
getEffectiveContextRequestClasses()
Return the list of response time request classes for all of the blueprints in the domain.
|
List<FairShareRequestClass> |
getEffectiveFairShareRequestClasses()
Return the list of fair share request classes for all of the blueprints in the domain.
|
List<FileStore> |
getEffectiveFileStores()
Return the list of file stores for all of the blueprints in the domain.
|
List<ForeignJndiProvider> |
getEffectiveForeignJNDIProviders()
Return the list of foreign jndi providers for all of the blueprints in the domain.
|
List<JdbcStore> |
getEffectiveJdbcStores()
Return the list of jdbc stores for all of the blueprints in the domain.
|
List<JDBCSystemResource> |
getEffectiveJDBCSystemResources()
Return the list of JDBCSystemResources for all of the blueprints in the domain.
|
List<JMSBridgeDestination> |
getEffectiveJMSBridgeDestinations()
Return the list of jms bridge destinations for all of the blueprints in the domain.
|
List<JMSMessagingBridge> |
getEffectiveJMSMessagingBridges()
Return the list of jms messaging bridges for all of the blueprints in the domain.
|
List<JMSServer> |
getEffectiveJMSServers()
Return the list of jms servers for all of the blueprints in the domain.
|
List<JMSSystemResource> |
getEffectiveJMSSystemResources()
Return the list of JMSSystemResources for all the blueprints in the domain.
|
List<Library> |
getEffectiveLibraries()
Return the list of libraries for all of the blueprints in the domain.
|
List<MailSession> |
getEffectiveMailSessions()
Return the list of mail sessions for all of the blueprints in the domain.
|
List<MaxThreadsConstraint> |
getEffectiveMaxThreadsConstraint()
Return the list of max thread constraint resources for all of the blueprints in the domain.
|
List<MigratableTarget> |
getEffectiveMigratableTargets()
Returns all the migratable targets in this domain.
|
List<MinThreadsConstraint> |
getEffectiveMinThreadsConstraint()
Return the list of min thread constraint resources for all of the blueprints in the domain.
|
List<OsgiFramework> |
getEffectiveOsgiFrameworks() |
List<PathService> |
getEffectivePathServices()
Return the list of jms path services for all of the blueprints in the domain.
|
List<AppSvcResource> |
getEffectiveResourcesForAppSvcGroupId(String appSvcGroupId) |
List<ResponseTimeRequestClass> |
getEffectiveResponseTimeRequestClasses()
Return the list of response time request classes for all of the blueprints in the domain.
|
List<SAFAgent> |
getEffectiveSAFAgents()
Return the list of saf agents for all of the blueprints in the domain.
|
List<Server> |
getEffectiveServers()
Returns all the servers in this domain.
|
List<ShutdownClass> |
getEffectiveShutdownClasses()
Return the list of shutdown classes for all of the blueprints in the domain.
|
List<CompositeDeployment> |
getEffectiveSoaCompositeResources()
Return the list of CompositeDeployment for all of the blueprints in the domain.
|
List<StartupClass> |
getEffectiveStartupClasses()
Return the list of startup classes for all of the blueprints in the domain.
|
List<Target> |
getEffectiveTargets()
Returns all the targets in this domain.
|
List<Template> |
getEffectiveTemplates()
Returns all the templates in this domain.
|
Map<String,String> |
getEffectiveVariables()
Returns the variables from the tuning parameters of this domain as well as from the topology that this domain
belongs to.
|
List<WLDFSystemResource> |
getEffectiveWLDFSystemResources()
Return the list of WLDFSystemResources for all of the blueprints in the domain.
|
List<WorkManager> |
getEffectiveWorkManagers()
Return the list of work manager resources for all of the blueprints in the domain.
|
FairShareRequestClass |
getFairShareRequestClassByName(String resourceName)
Return the AppSvcResource by the provided name
|
FileStore |
getFileStoreByName(String storeName)
Return the File persistent store by the provided name
|
GenericFileSystemResource |
getFileSystemResourceForId(String resourceId)
Return the generic file system resource for the provided resource id.
|
ForeignJndiProviderBinding |
getForeignJndiProviderBindingForResource(String resourceId) |
List<GenericDataSourceBinding> |
getGenericDataSourceBindings()
Returns the list of generic data source bindings from this domain.
|
List<GridLinkDataSourceBinding> |
getGridLinkDataSourceBindings()
Returns the list of Active GridLink data source bindings from this domain.
|
String |
getId()
Returns the id used to reference this Domain.
|
JdbcStore |
getJdbcStoreByName(String storeName)
Return the Jdbc persistent store by the provided name
|
JDBCSystemResource |
getJDBCSystemResourceByName(String name) |
JMSBinding |
getJmsBinding(String name) |
JMSBinding |
getJmsBindingByResourceReference(String refName) |
List<JMSBinding> |
getJmsBindings() |
JMSMessagingBridgeBinding |
getJmsBridgeBindingByName(String name) |
JMSMessagingBridgeBinding |
getJmsBridgeBindingByResourceReference(String refName) |
List<JMSMessagingBridgeBinding> |
getJmsBridgeBindings() |
JMSBridgeDestinationBinding |
getJmsBridgeDestinationBindingByName(String name) |
JMSBridgeDestinationBinding |
getJmsBridgeDestinationBindingByResourceReference(String refName) |
List<JMSBridgeDestinationBinding> |
getJmsBridgeDestinationBindings() |
JMSModuleBinding |
getJmsModuleBindingByName(String name) |
JMSModuleBinding |
getJmsModuleBindingByResourceReference(String refName) |
List<JMSModuleBinding> |
getJmsModuleBindings() |
JMSServerBinding |
getJmsServerBindingByName(String name) |
JMSServerBinding |
getJmsServerBindingByResourceReference(String refName) |
List<JMSServerBinding> |
getJmsServerBindings() |
JMSServer |
getJMSServerForId(String resourceId)
Return the JMS Server for the provided resource id
|
MailSessionBinding |
getMailSessionBindingForResource(String resourceId) |
MaxThreadsConstraint |
getMaxThreadsConstraintByName(String resourceName)
Return the AppSvcResource by the provided name
|
MigratableTargetBinding |
getMigratableTargetBindingForMigratableTargetId(String migratableTargetId) |
MigratableTargetBinding |
getMigratableTargetBindingForMigratableTargetName(String migratableTargetName) |
List<MigratableTargetBinding> |
getMigratableTargetBindings()
Returns the list of migratable target bindings in this domain.
|
MinThreadsConstraint |
getMinThreadsConstraintByName(String resourceName)
Return the AppSvcResource by the provided name
|
List<MultiDataSourceBinding> |
getMultiDataSourceBindings()
Returns the list of Multi data source bindings from this domain.
|
String |
getName()
Returns the name of this Domain.
|
Topology |
getParent()
Returns the object that contains this entity
|
String |
getPath()
Returns the path of the domain
|
PathServiceBinding |
getPathServiceBindingByName(String name) |
PathServiceBinding |
getPathServiceBindingByResourceReference(String refName) |
List<PathServiceBinding> |
getPathServiceBindings() |
String |
getProvides()
Return the domain's provides value.
|
Map<String,String> |
getReservedKeywords()
Returns a map containing any reserved keywords and values for variable substitution for this entity
|
ResponseTimeRequestClass |
getResponseTimeRequestClassByName(String resourceName)
Return the AppSvcResource by the provided name
|
SAFAgentBinding |
getSafAgentBindingByName(String name) |
SAFAgentBinding |
getSafAgentBindingByResourceReference(String refName) |
List<SAFAgentBinding> |
getSafAgentBindings() |
SAFAgent |
getSAFAgentForId(String resourceId)
Return the SAFAgent for the provided resource id
|
Schema |
getSchemaForSchemaComponentRefID(String compId) |
List<Schema> |
getSchemas()
Returns the list of schemas in this domain
|
ServerBinding |
getServerBindingByID(String serverBindingID)
Returns the ServerBinding for the server binding id specified or null if no match is found.
|
ServerBinding |
getServerBindingByName(String serverName)
Returns the ServerBinding matching the server name provided or null if no match is found.
|
ServerBinding |
getServerBindingForServerID(String serverID)
Returns the ServerBinding for the server Id specified or null if no match is found.
|
List<ServerBinding> |
getServerBindings()
Returns the list of ServerBindings in this Domain or an empty list if none are found.
|
List<ServerBinding> |
getServerBindingsForServerIDs(List<String> serverIDs)
Returns the ServerBindings for the server ids specified or an empty list if none are found.
|
String |
getServerIdForServerName(String serverName)
Returns the Server id for the server name provided or null if no match is found
|
List<String> |
getServerIds()
Returns the list of unique server ids on this domain or an empty list if none are found.
|
<T extends ServiceBinding> |
getServiceBindingForResource(String resourceId,
Class<T> clazzType)
Returns the ServiceBinding for the server Id specified or null if no match is found.
|
List<ServiceBinding> |
getServiceBindings()
Returns the list of ServiceBinding in this Domain or an empty list if none are found.
|
CompositeDeployment |
getSoaCompositeResourceById(String id)
Return the CompositeDeployment for all of the blueprints in the domain.
|
List<SystemPropertyResource> |
getSystemPropertyResourcesForServerId(String serverId) |
Set<String> |
getTargetNamesForBlueprintResource(String resourceID) |
TuningParameters |
getTuningParameters()
Returns the TuningParamaeters for this Domain or null if one has not been set.
|
Type |
getType()
Returns the type of the domain (local or shared)
|
String |
getVariableValue(String key)
Returns the variable value assigned to the specified key.
|
String |
getVersion()
Gets the version of the domain.
|
List<WebTierBinding> |
getWebTierBindings()
Returns the list of WebTierBindings in this Domain or an empty list if none are found
|
WLDFSystemResource |
getWLDFSystemResourceByName(String name) |
boolean |
removeApplicationBinding(ApplicationBinding applicationBinding)
Removes an application binding from this Domain.
|
Domain |
removeApplicationBindings()
Removes all application bindings from this Domain.
|
boolean |
removeClusterBinding(ClusterBinding clusterBinding)
Removes the ClusterBinding from the list of ClusterBindings in this Domain.
|
Domain |
removeClusterBindings()
Removes the clusterBindings of this Domain.
|
boolean |
removeCoherenceClusterBinding(CoherenceClusterBinding coherenceClusterBinding) |
boolean |
removeCoherenceClusterBindingByRef(String clusterRef) |
Domain |
removeDependencies()
Removes the dependencies of this domain.
|
boolean |
removeDeployedProduct(OracleProduct product)
Removes an application binding from this Domain.
|
Domain |
removeDeployedProducts()
Removes all deployed products from this Domain.
|
boolean |
removeJmsBinding(JMSBinding jmsBinding) |
boolean |
removeJmsBridgeDestinationBinding(JMSBridgeDestinationBinding jmsBridgeDestinationBinding) |
boolean |
removeJmsMessagingBridgeBinding(JMSMessagingBridgeBinding jmsMessagingBridgeBinding) |
boolean |
removeJmsModuleBinding(JMSModuleBinding jmsModuleBinding) |
boolean |
removeJmsServerBinding(JMSServerBinding jmsServerBinding) |
boolean |
removeMigratableTargetBinding(MigratableTargetBinding target) |
boolean |
removeMigratableTargetBindingById(String targetId) |
boolean |
removePathServiceBinding(PathServiceBinding pathServiceBinding) |
boolean |
removeSafAgentBinding(SAFAgentBinding safAgentBinding) |
Domain |
removeSchemas()
Removes the schemas of this Domain.
|
boolean |
removeServerBinding(ServerBinding serverBinding)
Removes the ServerBinding from the list of ServerBindings in this Domain.
|
Domain |
removeServerBindings()
Removes the serverBindings of this Domain.
|
Domain |
removeWebTierBindings()
Removes the webTierBindings of this Domain.
|
Domain |
setAdminCredentialRef(String adminCredentialRef)
Sets the Credential reference for the AdminServer of this Domain
|
void |
setAdminServerName(String adminServerName)
Set admin server name for this domain
|
Domain |
setAdminServerUrl(String adminServerUrl)
Sets the URL for the aAdminServer
|
Domain |
setApplicationPath(String applicationPath)
Set the domain application path.
|
void |
setDataSourceBindings(List<DataSourceBinding> dataSourceBindings)
Sets the bindings for the DataSources that are associated with this Domain.
|
Domain |
setDefaultCoherencePort(String defaultCoherencePort)
Set the domain defaultCoherencePort value.
|
Domain |
setDomainProfile(DomainProfile domainProfile)
Sets the DomainProfile for this Domain.
|
Domain |
setId(String id)
Sets id to be used when referencing this Domain.
|
Domain |
setName(String name)
Sets the name of this Domain.
|
Domain |
setParent(Topology topology)
Sets the container object that contains this.
|
Domain |
setPath(String path)
Sets the path to the location on the file system where the Domain is located.
|
Domain |
setProvides(String provides)
Set the domain provides value.
|
Domain |
setTuningParameters(TuningParameters tuningParameters)
Sets the TuningParameters for this Domain or null if no TuningParameters.
|
Domain |
setType(Type type)
Sets the type of the Domain (local or shared).
|
Domain |
setVersion(String version)
Set the version of the domain.
|
String |
substitute(String text)
Replaces substitution keys in the specified text with their corresponding values.
|
String |
toCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toJsonCompactString()
Returns a compact string representation of the object in JSON format.
|
String |
toJsonString()
Returns a string representation of the object in JSON format.
|
String |
toString()
Returns a string representation of the object in XML format.
|
String |
toXmlCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toXmlString()
Returns a string representation of the object in XML format.
|
void |
validate(oracle.fmwplatform.util.validation.Validate validate)
Validate this Domain using the specified Validate instance.
|
public static final String RESERVED_TOKEN_DOMAIN
public static final String RESERVED_TOKEN_ADMINSERVER
public String getId()
getId
in interface oracle.fmwplatform.envspec.common.EntityWithId
public Domain setId(String id)
setId
in interface oracle.fmwplatform.envspec.common.EntityWithId
id
- the id to be used when referencing this Domainpublic String getName()
getName
in interface oracle.fmwplatform.envspec.common.Tunable<Topology>
public Domain setName(String name)
name
- the name of this Domainpublic Topology getParent()
oracle.fmwplatform.envspec.common.ContainerAware
getParent
in interface oracle.fmwplatform.envspec.common.ContainerAware<Topology>
public Domain setParent(Topology topology)
oracle.fmwplatform.envspec.common.ContainerAware
setParent
in interface oracle.fmwplatform.envspec.common.ContainerAware<Topology>
topology
- the parent containerpublic String getPath()
public Domain setPath(String path)
path
- the path to the location on the file system where the Domain is locatedpublic String getAdminCredentialRef()
public Domain setAdminCredentialRef(String adminCredentialRef)
adminCredentialRef
- the Credential id to be used as a referencepublic Server getAdminServer() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be found or readpublic String getAdminServerId() throws FMWEnvSpecException
FMWEnvSpecException
- When a DomainProfile cannot be found or readpublic String getAdminServerUrl()
public Domain setAdminServerUrl(String adminServerUrl)
adminServerUrl
- the AdminServer urlpublic String getAdminServerName()
public void setAdminServerName(String adminServerName)
adminServerName
- name of the admin server@Deprecated public String getDomainName()
public DomainProfile getDomainProfile()
public Domain setDomainProfile(DomainProfile domainProfile)
domainProfile
- the DomainProile to be associated to this Domainpublic Type getType()
public Domain setType(Type type)
type
- the type of the Domain (local or shared)public String getVersion()
public Domain setVersion(String version)
version
- the new versionpublic String getApplicationPath()
public Domain setApplicationPath(String applicationPath)
applicationPath
- the path where applications will be deployed for this domainpublic String getProvides()
public Domain setProvides(String provides)
provides
- the String value that shows what this Domain object provides Used for Dependency.public boolean addServerBinding(ServerBinding serverBinding)
serverBinding
- the ServerBinding to add to the list of ServerBindings in this DomainCollection.add(E)
)IllegalArgumentException
- if the parameter is nullpublic boolean addAllServerBindings(Collection<ServerBinding> serverBindings)
serverBindings
- the ServerBindings to add to the list of ServerBindings in this DomainIllegalArgumentException
- if the given collection is null or contains nullpublic boolean removeServerBinding(ServerBinding serverBinding)
serverBinding
- the ServerBinding to be removed from the list of ServerBindings in this Domainpublic Domain removeServerBindings()
public ServerBinding getServerBindingByName(String serverName)
serverName
- the name of the server that is to be returnedpublic ServerBinding getServerBindingForServerID(String serverID)
serverID
- the server id for the ServerBinding that is to be returnedpublic ServerBinding getServerBindingByID(String serverBindingID)
serverBindingID
- the id for the ServerBinding that is to be returnedpublic List<ServerBinding> getServerBindings()
public List<ServerBinding> getServerBindingsForServerIDs(List<String> serverIDs)
serverIDs
- the Server ids for the ServerBinding that are to be returnedpublic String getServerIdForServerName(String serverName)
serverName
- the name of the Server for which the id is to be returnedpublic List<String> getServerIds() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile cannot be found or readpublic boolean addClusterBinding(ClusterBinding clusterBinding) throws IllegalArgumentException
clusterBinding
- the ClusterBinding to add to the list of ClusterBindings in this DomainCollection.add(E)
)IllegalArgumentException
public boolean removeClusterBinding(ClusterBinding clusterBinding)
clusterBinding
- the ClusterBinding to be removed from the list of ClusterBindings in this Domainpublic boolean addAllClusterBindings(List<ClusterBinding> clusterBindings) throws IllegalArgumentException
clusterBindings
- the ClusterBindings to be added to list of ClusterBindingsIllegalArgumentException
public Domain removeClusterBindings()
public ClusterBinding getClusterBindingByName(String clusterName)
clusterName
- the name of the server that is to be returnedpublic String getClusterIdForClusterName(String clusterName)
clusterName
- the name of the cluster for which the id is to be returnedpublic ClusterBinding getClusterBindingForClusterID(String clusterID)
clusterID
- the cluster binding for the cluster Id specified or null if none are foundpublic List<ClusterBinding> getClusterBindings()
public List<ClusterBinding> getClusterBindingsForClusterIDs(List<String> clusterIDs)
clusterIDs
- the clusterIds for the ClusterBIndings to be returnedpublic Cluster getClusterById(String clusterId) throws FMWEnvSpecException
clusterId
- the id of the Cluster to be returnedFMWEnvSpecException
- When a domain profile cannot be found or readpublic List<String> getClusterIds() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile cannot be found or readpublic String getClusterNameForServerName(String serverName)
serverName
- of the server in the environmentpublic ClusterBinding getClusterBindingForServerName(String serverName)
serverName
- of the server in the environmentpublic boolean addMigratableTargetBinding(MigratableTargetBinding migratableTargetBinding)
migratableTargetBinding
- the ServerBinding to add to the list of MigratableTargetBinding in this DomainCollection.add(E)
)public List<MigratableTargetBinding> getMigratableTargetBindings()
public MigratableTargetBinding getMigratableTargetBindingForMigratableTargetId(String migratableTargetId)
public MigratableTargetBinding getMigratableTargetBindingForMigratableTargetName(String migratableTargetName)
public boolean removeMigratableTargetBinding(MigratableTargetBinding target)
public boolean removeMigratableTargetBindingById(String targetId)
public boolean addDataSourceBinding(DataSourceBinding dataSourceBinding)
dataSourceBinding
- the DataSourceBinding to add to the list of DataSourceBindings in this DomainCollection.add(E)
)public boolean addAllDataSourceBindings(Collection<DataSourceBinding> dataSourceBindings)
dataSourceBindings
- the list of datasources to add to this DomainCollection.add(E)
)public List<DataSourceBinding> getDataSourceBindings()
public List<GenericDataSourceBinding> getGenericDataSourceBindings()
public List<MultiDataSourceBinding> getMultiDataSourceBindings()
public List<GridLinkDataSourceBinding> getGridLinkDataSourceBindings()
public void setDataSourceBindings(List<DataSourceBinding> dataSourceBindings)
dataSourceBindings
- the DataSourceBindings that are to be associated with this Domainpublic DataSourceBinding getDataSourceBindingByName(String dataSourceName)
dataSourceName
- the name of the DataSource to be returnedpublic List<JMSBinding> getJmsBindings()
public JMSBinding getJmsBinding(String name)
public JMSBinding getJmsBindingByResourceReference(String refName)
public boolean addJmsBinding(JMSBinding jmsBinding)
public boolean addAllJmsBindings(List<JMSBinding> jmsBindings)
public boolean removeJmsBinding(JMSBinding jmsBinding)
public List<JMSMessagingBridgeBinding> getJmsBridgeBindings()
public List<JMSBridgeDestinationBinding> getJmsBridgeDestinationBindings()
public List<JMSModuleBinding> getJmsModuleBindings()
public List<JMSServerBinding> getJmsServerBindings()
public List<PathServiceBinding> getPathServiceBindings()
public List<SAFAgentBinding> getSafAgentBindings()
public JMSMessagingBridgeBinding getJmsBridgeBindingByName(String name)
public JMSBridgeDestinationBinding getJmsBridgeDestinationBindingByName(String name)
public JMSModuleBinding getJmsModuleBindingByName(String name)
public JMSServerBinding getJmsServerBindingByName(String name)
public PathServiceBinding getPathServiceBindingByName(String name)
public SAFAgentBinding getSafAgentBindingByName(String name)
public JMSMessagingBridgeBinding getJmsBridgeBindingByResourceReference(String refName)
public JMSBridgeDestinationBinding getJmsBridgeDestinationBindingByResourceReference(String refName)
public JMSModuleBinding getJmsModuleBindingByResourceReference(String refName)
public JMSServerBinding getJmsServerBindingByResourceReference(String refName)
public PathServiceBinding getPathServiceBindingByResourceReference(String refName)
public SAFAgentBinding getSafAgentBindingByResourceReference(String refName)
public boolean removeJmsMessagingBridgeBinding(JMSMessagingBridgeBinding jmsMessagingBridgeBinding)
public boolean removeJmsBridgeDestinationBinding(JMSBridgeDestinationBinding jmsBridgeDestinationBinding)
public boolean removeJmsModuleBinding(JMSModuleBinding jmsModuleBinding)
public boolean removeJmsServerBinding(JMSServerBinding jmsServerBinding)
public boolean removePathServiceBinding(PathServiceBinding pathServiceBinding)
public boolean removeSafAgentBinding(SAFAgentBinding safAgentBinding)
public boolean addServiceBinding(ServiceBinding serviceBinding)
serviceBinding
- the ServiceBinding to add to the list of ServiceBindings in this DomainCollection.add(E)
)public boolean addAllServiceBindings(List<ServiceBinding> serviceBindings)
serviceBindings
- the ServiceBindings to add to the list of ServiceBindings in this Domainpublic List<ForeignJndiProvider> getEffectiveForeignJNDIProviders() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic List<ServiceBinding> getServiceBindings()
public <T extends ServiceBinding> T getServiceBindingForResource(String resourceId, Class<T> clazzType)
T
- the class typeresourceId
- the id of the AppSvcResource that is referenced by the domain service bindingclazzType
- the class typepublic ForeignJndiProviderBinding getForeignJndiProviderBindingForResource(String resourceId)
public ForeignJndiProviderBinding findForeignJndiProviderBindingForResource(String resourceId)
public MailSessionBinding getMailSessionBindingForResource(String resourceId)
public boolean addCoherenceClusterBinding(CoherenceClusterBinding coherenceClusterBinding)
coherenceClusterBinding
- the CoherenceClusterBinding to add to the list of CoherenceClusterBindings in this DomainCollection.add(E)
)public boolean addAllCoherenceClusterBindings(List<CoherenceClusterBinding> coherenceClusterBindings)
coherenceClusterBindings
- the CoherenceClusterBindings to be added to list of CoherenceClusterBindingspublic List<CoherenceClusterSystemResource> getEffectiveCoherenceClusterSystemResources() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic List<OsgiFramework> getEffectiveOsgiFrameworks() throws FMWEnvSpecException
FMWEnvSpecException
public List<CoherenceClusterBinding> getCoherenceClusterBindings()
public CoherenceClusterBinding getCoherenceClusterBinding(String name)
name
- the name of the binding to getpublic CoherenceClusterBinding getCoherenceClusterBindingByRef(String clusterRef)
clusterRef
- the reference to the Coherence cluster resourcepublic boolean removeCoherenceClusterBinding(CoherenceClusterBinding coherenceClusterBinding)
public boolean removeCoherenceClusterBindingByRef(String clusterRef)
public boolean addSchema(Schema schema) throws IllegalArgumentException
schema
- the Schema to add to the list of Schemas in this DomainCollection.add(E)
)IllegalArgumentException
public boolean addAllSchemas(List<Schema> schemas) throws IllegalArgumentException
schemas
- he Schemas to add to the list of SchemasIllegalArgumentException
public List<Schema> getSchemas()
public Domain removeSchemas()
public boolean addWebTierBinding(WebTierBinding webTierBinding) throws IllegalArgumentException
webTierBinding
- the WebTierBinding to addtrue
if the given webTierBinding is added to the listIllegalArgumentException
public boolean addAllWebTierBindings(List<WebTierBinding> webTierBindings) throws IllegalArgumentException
webTierBindings
- the WebTierBindings to addtrue
if this list changed as a result of the callIllegalArgumentException
public Domain removeWebTierBindings()
public List<WebTierBinding> getWebTierBindings()
public List<Target> getEffectiveTargets() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be found or readpublic boolean addSetting(String alias, String value)
addSetting
in interface oracle.fmwplatform.envspec.common.Tunable<Topology>
alias
- the alias of a Settingvalue
- the value of a Setting
#return whether or not the tuning parameter was addedpublic TuningParameters getTuningParameters()
getTuningParameters
in interface oracle.fmwplatform.envspec.common.Tunable<Topology>
public Domain setTuningParameters(TuningParameters tuningParameters)
setTuningParameters
in interface oracle.fmwplatform.envspec.common.Tunable<Topology>
tuningParameters
- the TuningParameters for this Domain or null if no TuningParameterspublic oracle.fmwplatform.envspec.lookup.data.AliasCategory getAliasCategory()
getAliasCategory
in interface oracle.fmwplatform.envspec.common.Tunable<Topology>
public Map<String,String> getEffectiveVariables() throws FMWEnvSpecException
getEffectiveVariables
in interface oracle.fmwplatform.envspec.common.ParentContainerWithVariables
FMWEnvSpecException
- When any tuning parameters references cannot be readpublic List<Server> getEffectiveServers() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be found or readpublic List<Cluster> getEffectiveClusters() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be found or readpublic List<MigratableTarget> getEffectiveMigratableTargets() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be found or readpublic Set<String> getTargetNamesForBlueprintResource(String resourceID) throws FMWEnvSpecException
FMWEnvSpecException
public Set<Blueprint> getEffectiveBlueprints() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be found or readpublic List<AppSvcResource> getEffectiveResourcesForAppSvcGroupId(String appSvcGroupId) throws FMWEnvSpecException
FMWEnvSpecException
public List<CompositeDeployment> getEffectiveSoaCompositeResources() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic CompositeDeployment getSoaCompositeResourceById(String id) throws FMWEnvSpecException
id
- the id of the resource to getFMWEnvSpecException
- When a domain profile reference cannot be foundpublic List<JDBCSystemResource> getEffectiveJDBCSystemResources() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic JDBCSystemResource getJDBCSystemResourceByName(String name) throws FMWEnvSpecException
FMWEnvSpecException
public List<JMSSystemResource> getEffectiveJMSSystemResources() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic List<WLDFSystemResource> getEffectiveWLDFSystemResources() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic WLDFSystemResource getWLDFSystemResourceByName(String name) throws FMWEnvSpecException
FMWEnvSpecException
public List<Application> getEffectiveApplications() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic List<Library> getEffectiveLibraries() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic List<JMSServer> getEffectiveJMSServers() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic List<PathService> getEffectivePathServices() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic List<SAFAgent> getEffectiveSAFAgents() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic List<JMSMessagingBridge> getEffectiveJMSMessagingBridges() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic List<JMSBridgeDestination> getEffectiveJMSBridgeDestinations() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic List<StartupClass> getEffectiveStartupClasses() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic List<ShutdownClass> getEffectiveShutdownClasses() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic List<WorkManager> getEffectiveWorkManagers() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic List<FileStore> getEffectiveFileStores() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic List<MailSession> getEffectiveMailSessions() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic GenericFileSystemResource getFileSystemResourceForId(String resourceId) throws FMWEnvSpecException
resourceId
- the id of the resource to getFMWEnvSpecException
- When a domain profile reference cannot be foundpublic JMSServer getJMSServerForId(String resourceId) throws FMWEnvSpecException
resourceId
- the JMS Server IDFMWEnvSpecException
- When a domain profile reference cannot be foundpublic SAFAgent getSAFAgentForId(String resourceId) throws FMWEnvSpecException
resourceId
- the SAF Agent IDFMWEnvSpecException
- When a domain profile reference cannot be foundpublic List<JdbcStore> getEffectiveJdbcStores() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic List<ClasspathFileSystemResource> getClasspathFilesForServerId(String serverId) throws FMWEnvSpecException
FMWEnvSpecException
public List<SystemPropertyResource> getSystemPropertyResourcesForServerId(String serverId) throws FMWEnvSpecException
FMWEnvSpecException
public List<CapacityConstraint> getEffectiveCapacityConstraints() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic CapacityConstraint getCapacityConstraintByName(String resourceName) throws FMWEnvSpecException
resourceName
- to match in the effective blueprintsFMWEnvSpecException
- if problems returning the blueprintpublic List<FairShareRequestClass> getEffectiveFairShareRequestClasses() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic FairShareRequestClass getFairShareRequestClassByName(String resourceName) throws FMWEnvSpecException
resourceName
- to match in the effective blueprintsFMWEnvSpecException
- if problems returning the blueprintpublic List<ContextRequestClass> getEffectiveContextRequestClasses() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic ContextRequestClass getContextRequestClassByName(String resourceName) throws FMWEnvSpecException
resourceName
- to match in the effective blueprintsFMWEnvSpecException
- if problems returning the blueprintpublic FileStore getFileStoreByName(String storeName) throws FMWEnvSpecException
storeName
- to match in the effective blueprintsFMWEnvSpecException
- if problems returning the blueprintspublic JdbcStore getJdbcStoreByName(String storeName) throws FMWEnvSpecException
storeName
- to match in the effective blueprintsFMWEnvSpecException
- if problems returning the blueprintspublic List<ResponseTimeRequestClass> getEffectiveResponseTimeRequestClasses() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic ResponseTimeRequestClass getResponseTimeRequestClassByName(String resourceName) throws FMWEnvSpecException
resourceName
- to match in the effective blueprintsFMWEnvSpecException
- if problems returning the blueprintpublic List<Template> getEffectiveTemplates() throws FMWEnvSpecException
FMWEnvSpecException
- When external file references cannot be read OR when a custom template does not have location specifiedpublic List<MaxThreadsConstraint> getEffectiveMaxThreadsConstraint() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic MaxThreadsConstraint getMaxThreadsConstraintByName(String resourceName) throws FMWEnvSpecException
resourceName
- to match in the effective blueprintsFMWEnvSpecException
- if problems returning the blueprintpublic List<MinThreadsConstraint> getEffectiveMinThreadsConstraint() throws FMWEnvSpecException
FMWEnvSpecException
- When a domain profile reference cannot be foundpublic MinThreadsConstraint getMinThreadsConstraintByName(String resourceName) throws FMWEnvSpecException
resourceName
- to match in the effective blueprintsFMWEnvSpecException
- if problem finding the blueprintpublic List<OracleProduct> getDeployedProducts()
public boolean addDeployedProduct(OracleProduct oracleProduct)
public boolean removeDeployedProduct(OracleProduct product)
product
- the product to be removed from the domainpublic boolean addAllDeployedProducts(Collection<OracleProduct> products)
public Domain removeDeployedProducts()
public List<ApplicationBinding> getApplicationBindings()
public boolean addApplicationBinding(ApplicationBinding applicationBinding)
public boolean removeApplicationBinding(ApplicationBinding applicationBinding)
applicationBinding
- the binding to be removedpublic boolean addAllApplicationBindings(List<ApplicationBinding> applicationBindings)
public Domain removeApplicationBindings()
public void validate(oracle.fmwplatform.util.validation.Validate validate)
validate
in interface oracle.fmwplatform.util.validation.ValidationParticipant
validate
- the Validate instance performing the validationpublic String getVariableValue(String key)
getVariableValue
in interface oracle.fmwplatform.envspec.common.Substitutable
key
- the key of the variable to be checkedpublic String substitute(String text)
substitute
in interface oracle.fmwplatform.envspec.common.Substitutable
text
- the original textpublic Map<String,String> getReservedKeywords()
oracle.fmwplatform.envspec.common.ReservedKeywordProvider
getReservedKeywords
in interface oracle.fmwplatform.envspec.common.ReservedKeywordProvider
public List<Dependency> getDependencies()
public boolean addDependency(Dependency dependency) throws IllegalArgumentException
dependency
- ExecuteAction object to add to the listtrue
if this list changed as a result of the callIllegalArgumentException
- if input parameter is nullpublic boolean addAllDependencies(List<Dependency> dependencies) throws IllegalArgumentException
dependencies
- list of Dependency objects to add to the listtrue
if this list changed as a result of the callIllegalArgumentException
- if input parameter is nullpublic Domain removeDependencies()
public String getDefaultCoherencePort()
public Domain setDefaultCoherencePort(String defaultCoherencePort)
defaultCoherencePort
- set defaultCoherencePortpublic String toXmlCompactString()
public String toXmlString()
public String toJsonCompactString()
public String toJsonString()
public String toCompactString()