| 
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
  
oracle.jbo.mom.DefinitionContext
public abstract class DefinitionContext
This abstract class encapsulates the thread-specific behavior and state needed by the DefinitionManager class.
The thread-specific behavior and state can be subdivided into two pieces: a MOM (MetaObject Manager) cache and a MOM parser.
The MOM cache maps metaobject names into metaobjects. Subclasses may optionally support ageing out ("retiring") of least-recently-used metaobjects. A retired cache entry typically retains a weak reference to the metaobject.
The MOM parser supports reading and parsing metaobject documents from a store of some sort. (Different subclasses may support different sorts of stores).
Each DefinitionManager instance will have a set of associated DefinitionContext instances, one per active client thread. In some cases, a single DefinitionContext instance can be shared by multiple threads that are running the same application.
In general, the methods on this class and its subclasses are thread-safe.
| Method Summary | |
|---|---|
 void | 
retireLeastRecentlyUsed(int numToRetire)Retires the specified number of least recently used non-retired ageable metaobjects in the MOM cache.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public void retireLeastRecentlyUsed(int numToRetire)
  | 
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||