IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.deployment
Class DeploymentPolicyFactory

java.lang.Object
  extended by 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)

Constructor Summary
DeploymentPolicyFactory()
           
 
Method Summary
static DeploymentPolicy createDeploymentPolicy(URL deploymentPolicyXML, URL objectGridXML)
          Creates the DeploymentPolicy for use in creating a container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentPolicyFactory

public DeploymentPolicyFactory()
Method Detail

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)

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

© Copyright International Business Machines Corp 2005,2012. All rights reserved.