|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 1 (11.1.1.4.0) E10686-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ADFScope
Defines an interface for ADFScopes.
This interface defines scope operations that are not supported by the base Map scope interface. These operations include: Scope invalidation, scope lifecycle notifications.
A scope user may invalidate a scope by invoking the invalidate() operation on this interface. After an ADFScope is invalidated the scope's state will be unreachable and all cached references to the invalid ADFScope must be nulled. If a scope is used after it is invalidated it may throw a RuntimeException (InvalidStateException).
A scope client may be notified of invalidation events by using the addScopeListener(ADFScopeListener) to register an invalidation listener.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Method Summary | |
---|---|
void |
addScopeListener(ADFScopeListener listener)
|
void |
invalidate()
|
java.lang.Object |
putTransient(java.lang.Object key,
java.lang.Object value)
If the scope supports failover then this may be used to notify the scope that the state does not require failover. |
void |
removeScopeListener(ADFScopeListener listener)
|
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Method Detail |
---|
java.lang.Object putTransient(java.lang.Object key, java.lang.Object value)
void invalidate()
void addScopeListener(ADFScopeListener listener)
void removeScopeListener(ADFScopeListener listener)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 1 (11.1.1.4.0) E10686-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |