com.ibm.websphere.objectgrid.deployment
Class DeploymentPolicyFactory
java.lang.Object
com.ibm.websphere.objectgrid.deployment.DeploymentPolicyFactory
public final class DeploymentPolicyFactory
- extends Object
Creates the DeploymentPolicy object representation from ObjectGrid descriptor files which
can be used to create ObjectGrid server containers.
- Since:
- WAS XD 6.1 FIX3
- See Also:
Server.createContainer(DeploymentPolicy)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeploymentPolicyFactory
public DeploymentPolicyFactory()
createDeploymentPolicy
public static DeploymentPolicy createDeploymentPolicy(URL deploymentPolicyXML,
URL objectGridXML)
throws ObjectGridException
- Creates the DeploymentPolicy for use in creating a container.
- Parameters:
deploymentPolicyXML
- The deployment policy xml file resource locator. If null, a default deployment policy is created based on the objectGridXML.objectGridXML
- The object grid xml file resource locator. This parameter is not allowed to be null.
- Returns:
- The DeploymentPolicy object representation derived from the files specified.
- Throws:
ObjectGridException
- If the files specified are not valid.
IllegalArgumentExeption
- If objectGridXML is null.- See Also:
Server.createContainer(DeploymentPolicy)
© Copyright International Business Machines Corp 2005,2012. All rights reserved.