|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omg.CORBA.LocalObject
org.openorb.policy.ORBPolicyManagerImpl
| Field Summary |
|---|
| Fields inherited from interface org.openorb.policy.PolicySetManager |
|---|
CLIENT_POLICY_DOMAIN, GLOBAL_POLICY_DOMAIN, SERVER_POLICY_DOMAIN |
| Constructor Summary | |
|---|---|
ORBPolicyManagerImpl()
|
|
| Method Summary | |
|---|---|
void |
add_invalid_policy_type(int policy_domain,
int policy_type)
Add an invalid policy type to a policy domain. |
int |
add_policy_domain()
Add a new policy domain. |
void |
add_policy_factory(int type,
PolicyFactory factory)
add a policy factory. |
void |
add_policy_reconciler(int policy_type,
PolicyReconciler reconciler)
|
PolicyManagerOperations |
create_policy_set()
Create a new policy set with no membership restrictions. |
PolicyManagerOperations |
create_policy_set(int policy_domain)
This operation creates new policy manager objects. |
Policy |
create_policy(int type,
Any val)
Invoke the manager to create a policy. |
Policy[] |
get_policy_overrides(int[] ts)
Returns a PolicyList containing the overridden Polices for the requested PolicyTypes. |
Policy |
reconcile_policies(int policy_type,
Policy client_policy,
Policy profile_policy,
DomainManager[] domain_managers)
Merge policies of given type from the given domains. |
void |
set_policy_overrides(Policy[] policies,
SetOverrideType set_add)
Modifies the current set of overrides with the requested list of Policy overrides. |
| Methods inherited from class org.omg.CORBA.LocalObject |
|---|
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.omg.CORBA.Object |
|---|
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
| Constructor Detail |
public ORBPolicyManagerImpl()
| Method Detail |
public void set_policy_overrides(Policy[] policies,
SetOverrideType set_add)
throws InvalidPolicies
set_policy_overrides in interface PolicyManagerOperationsInvalidPoliciespublic Policy[] get_policy_overrides(int[] ts)
get_policy_overrides in interface PolicyManagerOperationspublic PolicyManagerOperations create_policy_set()
create_policy_set in interface PolicySetManagerpublic PolicyManagerOperations create_policy_set(int policy_domain)
create_policy_set in interface PolicySetManager
public void add_invalid_policy_type(int policy_domain,
int policy_type)
add_invalid_policy_type in interface PolicySetManagerpublic int add_policy_domain()
add_policy_domain in interface PolicySetManager
public Policy reconcile_policies(int policy_type,
Policy client_policy,
Policy profile_policy,
DomainManager[] domain_managers)
reconcile_policies in interface PolicyReconcilerOperationspolicy_type - Policy type. client_policy and profile_policy must
be of this type.client_policy - effective client override. (may be null)profile_policy - policy specified in profile. (may be null)domain_managers - domain managers.
INV_POLICY - if merge cannot be performed.
public void add_policy_reconciler(int policy_type,
PolicyReconciler reconciler)
public void add_policy_factory(int type,
PolicyFactory factory)
add_policy_factory in interface PolicyFactoryManager
public Policy create_policy(int type,
Any val)
throws PolicyError
create_policy in interface PolicyFactoryOperationsPolicyError
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||