public interface IPolicyProcessor extends ISubsystem, IPolicy
NOTE: The Policy Framework has been replaced by the Profile Framework.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_CLASS
Deprecated.
|
static java.lang.String |
PROP_DEF_POLICIES
Deprecated.
|
static java.lang.String |
PROP_ENABLE
Deprecated.
|
static java.lang.String |
PROP_IMPL
Deprecated.
|
static java.lang.String |
PROP_IMPL_NAME
Deprecated.
|
static java.lang.String |
PROP_ORDER
Deprecated.
|
static java.lang.String |
PROP_PREDICATE
Deprecated.
|
static java.lang.String |
PROP_RULE
Deprecated.
|
static java.lang.String |
PROP_UNDELETABLE_POLICIES
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addPolicyImpl(java.lang.String id,
java.lang.String classPath)
Deprecated.
Adds a policy implementation identified by an impl id.
|
void |
addPolicyInstance(java.lang.String id,
java.util.Hashtable ht)
Deprecated.
Adds a policy instance
|
void |
changePolicyInstanceOrdering(java.lang.String policyOrderStr)
Deprecated.
Modifies policy ordering.
|
void |
deletePolicyImpl(java.lang.String id)
Deprecated.
Deletes a policy implementation identified by an impl id.
|
void |
deletePolicyInstance(java.lang.String id)
Deprecated.
Deletes a policy instance identified by an instance id.
|
ISubsystem |
getAuthority()
Deprecated.
|
IPolicyRule |
getPolicyImpl(java.lang.String id)
Deprecated.
Returns an implementation identified by a given id.
|
java.util.Vector |
getPolicyImplConfig(java.lang.String id)
Deprecated.
Returns configuration for an implmentation.
|
java.util.Enumeration |
getPolicyImpls()
Deprecated.
Returns the rule implementations registered with this processor.
|
java.util.Enumeration |
getPolicyImplsInfo()
Deprecated.
Returns information on Policy impls.
|
IPolicyRule |
getPolicyInstance(java.lang.String id)
Deprecated.
Returns instance configuration for a given instance id.
|
java.util.Vector |
getPolicyInstanceConfig(java.lang.String id)
Deprecated.
Returns instance configuration for a given instance id.
|
java.util.Enumeration |
getPolicyInstances()
Deprecated.
Returns policy instances registered with this processor.
|
java.util.Enumeration |
getPolicyInstancesInfo()
Deprecated.
Returns information on Policy instances.
|
java.lang.String |
getPolicySubstoreId()
Deprecated.
Returns the policy substore id.
|
void |
modifyPolicyInstance(java.lang.String id,
java.util.Hashtable ht)
Deprecated.
Modifies a policy instance
|
getConfigStore, getId, init, setId, shutdown, startup
static final java.lang.String PROP_DEF_POLICIES
static final java.lang.String PROP_UNDELETABLE_POLICIES
static final java.lang.String PROP_ENABLE
static final java.lang.String PROP_RULE
static final java.lang.String PROP_CLASS
static final java.lang.String PROP_IMPL_NAME
static final java.lang.String PROP_PREDICATE
static final java.lang.String PROP_IMPL
static final java.lang.String PROP_ORDER
ISubsystem getAuthority()
java.lang.String getPolicySubstoreId()
java.util.Enumeration getPolicyImplsInfo()
java.util.Enumeration getPolicyImpls()
IPolicyRule getPolicyImpl(java.lang.String id)
id
- The implementation id.java.util.Vector getPolicyImplConfig(java.lang.String id)
id
- The implementation id.void deletePolicyImpl(java.lang.String id) throws EBaseException
id
- The impl id of the policy to be deleted.
There shouldn't be any active instance for this
implementation.EBaseException
- is thrown if an error occurs in deletion.void addPolicyImpl(java.lang.String id, java.lang.String classPath) throws EBaseException
id
- The impl id of the policy to be added.
The id should be unique.classPath
- The fully qualified path for the implementation.EBaseException
- is thrown if an error occurs in addition.java.util.Enumeration getPolicyInstancesInfo()
java.util.Enumeration getPolicyInstances()
java.util.Vector getPolicyInstanceConfig(java.lang.String id)
id
- The rule id.IPolicyRule getPolicyInstance(java.lang.String id)
id
- The rule id.void deletePolicyInstance(java.lang.String id) throws EBaseException
id
- The instance id of the policy to be deleted.EBaseException
- is thrown if an error occurs in deletion.void addPolicyInstance(java.lang.String id, java.util.Hashtable ht) throws EBaseException
id
- The impl id of the policy to be added.
The id should be unique.ht
- a Hashtable of config params.EBaseException
- is thrown if an error occurs in addition.void modifyPolicyInstance(java.lang.String id, java.util.Hashtable ht) throws EBaseException
id
- The impl id of the policy to be modified.
The policy instance with this id should be present.ht
- a Hashtable of config params.EBaseException
- is thrown if an error occurs in addition.void changePolicyInstanceOrdering(java.lang.String policyOrderStr) throws EBaseException
policyOrderStr
- The comma separated list of instance ids.EBaseException