|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.cortex.CortexIntrospectorImpl
public class CortexIntrospectorImpl
This class is an implementation of CortexIntrospector that uses the following rules to resolve classes to Cortex objects. The rules are based on those used by java.beans.Introspector.
Introspector
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
CortexIntrospectorImpl()
Constructs and returns a new CortexIntrospectorImpl |
Method Summary | |
---|---|
protected void |
addToCache(java.lang.Class pClass,
Cortex pCortex)
Adds the specified mapping from class to Cortex, replacing any existing mapping for that class. |
java.util.Dictionary |
getCache()
Returns the cache mapping Class to Cortex |
Cortex |
getCortex(java.lang.Class pClass)
Returns the Cortex associated with the given class. |
void |
registerCortex(java.lang.Class pClass,
Cortex pCortex)
Registers the specified Cortex for the specified class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public CortexIntrospectorImpl()
Method Detail |
---|
public java.util.Dictionary getCache()
protected void addToCache(java.lang.Class pClass, Cortex pCortex)
public Cortex getCortex(java.lang.Class pClass)
getCortex
in interface CortexIntrospector
pClass
- the class for which a Cortex is to be found
public void registerCortex(java.lang.Class pClass, Cortex pCortex)
registerCortex
in interface CortexIntrospector
pClass
- the Class with which the specified cortex is to be
associated.pCortex
- the Cortex to be associated with the specified class
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |