org.jppf.node.policy
Class PolicyBuilder

java.lang.Object
  extended by org.jppf.node.policy.PolicyBuilder

public class PolicyBuilder
extends Object

Instances of this class build an execution policy graph, based on a policy descriptor parsed from an XML document.

Author:
Laurent Cohen

Constructor Summary
PolicyBuilder()
           
 
Method Summary
 ExecutionPolicy buildPolicy(PolicyDescriptor desc)
          Build an execution policy from a parsed policy descriptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyBuilder

public PolicyBuilder()
Method Detail

buildPolicy

public ExecutionPolicy buildPolicy(PolicyDescriptor desc)
                            throws Exception
Build an execution policy from a parsed policy descriptor.

Parameters:
desc - the descriptor parsed from an XML document.
Returns:
an ExecutionPolicy instance.
Throws:
Exception - if an error occurs while generating a policy object.


Copyright © 2005-2010 JPPF Team.