|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-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 |
INSTANCESingleton 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. |
java.lang.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)
Note: A policy could be applied to multiple services.
init in interface ActionPolicyservice - the service that this policy applies to
public boolean isAllowed(Service service,
Action action)
Note: for forward compatibility, implementations should generally return true for actions that are not recognized.
isAllowed in interface ActionPolicyservice - the service that is performing the actionaction - the action that is being performedpublic java.lang.String toString()
Note: this method may be used to provide information about this ActionPolicy to management interfaces.
toString in interface ActionPolicy
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||