|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EnforcerFactory
This interface defines a factory method for obtaining enforcers of the specified action type. $Revision: 1.3 $
Method Summary | |
---|---|
Enforcer |
getInstance(java.lang.String actionType,
java.lang.Object initPlatformContext,
java.lang.Object initAgentContext)
Instantiate an enforcer for the specified action type. |
Enforcer |
getInstanceForActionForAgent(java.lang.String actionType,
java.lang.String agentID)
Instantiate an enforcer for the specified action type and agentID. |
Method Detail |
---|
Enforcer getInstance(java.lang.String actionType, java.lang.Object initPlatformContext, java.lang.Object initAgentContext) throws EnforcerInstantiationException
actionType
- The String specifying the action type, for which an enforcer is requested.initPlatformContext
- The Object containing platform-specific parameters/objects.initAgentContext
- The Object associated with the specific instance of an agent, for which the created enforcer
is enforcing policies.
EnforcerInstantiationException
- is thrown if the instantiation of the enforcer was not successful,
details will be provided in the exception's message.Enforcer getInstanceForActionForAgent(java.lang.String actionType, java.lang.String agentID) throws EnforcerInstantiationException
actionType
- The String specifying the action type, for which an enforcer is requested.agentID
- The String specifying the ID of the subject, for which the enforcer is enforcing policies.
EnforcerInstantiationException
- is thrown if the instantiation of the enforcer was not successful,
details will be provided in the exception's message.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |