|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.NullImplementation.NullActionPolicy
public static class NullImplementation.NullActionPolicy
An implementation of an ActionPolicy that allows all actions.
Field Summary | |
---|---|
static ActionPolicy |
INSTANCE Singleton instance. |
Constructor Summary | |
---|---|
NullImplementation.NullActionPolicy() |
Method Summary | |
---|---|
void |
init(Service service) Called when the specified service loads and configures this policy. |
boolean |
isAllowed(Service service, Action action) Evaluate if the specified action is currently allowed by this policy. |
String |
toString() Return a human-readable String representation of this ActionPolicy. |
Field Detail |
---|
public static final ActionPolicy INSTANCE
Constructor Detail |
---|
public NullImplementation.NullActionPolicy()
Method Detail |
---|
public void init(Service service)
init
in interface ActionPolicy
service
- the service that this policy applies topublic boolean isAllowed(Service service, Action action)
isAllowed
in interface ActionPolicy
service
- the service that is performing the actionaction
- the action that is being performedpublic String toString()
toString
in interface ActionPolicy
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |