com.ibm.websphere.fabric.da.policy
Class PolicyLocator

java.lang.Object
  extended by com.ibm.websphere.fabric.da.policy.PolicyLocator

public final class PolicyLocator
extends java.lang.Object

Used to find, if available, the Propagated Policy associated with the most recent Dynamic Assembler invocation.

Since:
WBSF 7.0
Author:
pmschnei@us.ibm.com

Method Summary
static PolicyLocator getInstance()
          Returns a cacheable, non-null PolicyLocator instance.
 CompositePolicy getPropagatedPolicy()
          Returns the Propagated Policy from the most recent Dynamic Assembler invocation, if available.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static PolicyLocator getInstance()
Returns a cacheable, non-null PolicyLocator instance.


getPropagatedPolicy

public CompositePolicy getPropagatedPolicy()
Returns the Propagated Policy from the most recent Dynamic Assembler invocation, if available. May return null. The instance returned is a disconnected copy and any mutations to it will not be reflected elsewhere in the system.

Returns:
possibly null CompositePolicy instance


Copyright © 2002-2009 IBM. All Rights Reserved.