org.apache.yoko.orb.OB
Class PolicyFactoryManager

java.lang.Object
  extended by org.apache.yoko.orb.OB.PolicyFactoryManager

public final class PolicyFactoryManager
extends Object


Constructor Summary
PolicyFactoryManager()
           
 
Method Summary
 Policy createPolicy(int type, Any any)
           
 void filterPolicyList(PolicyListHolder in, PolicyListHolder out)
           
 boolean isPolicyRegistered(int type)
          Test if a policy type is valid for the current context.
 void registerPolicyFactory(int type, PolicyFactory factory, boolean internal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyFactoryManager

public PolicyFactoryManager()
Method Detail

registerPolicyFactory

public void registerPolicyFactory(int type,
                                  PolicyFactory factory,
                                  boolean internal)

createPolicy

public Policy createPolicy(int type,
                           Any any)
                    throws PolicyError
Throws:
PolicyError

filterPolicyList

public void filterPolicyList(PolicyListHolder in,
                             PolicyListHolder out)

isPolicyRegistered

public boolean isPolicyRegistered(int type)
Test if a policy type is valid for the current context.

Parameters:
type - The policy type number.
Returns:
true if the policy is a registered type, false for unknown types.


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.