|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Initializer interface is used to prepare the CCM runtime for interaction with the CCM database. This is done in two phases. First the data layer is initialized by loading any object-relational mapping metadata. Secondly the domain layer is initialized by registering any domain metadata. This usually consists of domain object instantiators and observers. It is not safe for CCM code to interact with a CCM database until these phases have been completed.
Field Summary | |
static String |
versionId
|
Method Summary | |
void |
init(DataInitEvent e)
Initializes the object-relational mapping metadata by loading PDL resources. |
void |
init(DomainInitEvent e)
Initializes domain-coupling machinery, usually consisting of registering object instantiators and observers. |
void |
init(LegacyInitEvent e)
Deprecated. with no replacement; code that uses this hook should be refactored to use init(DataInitEvent) and
init(DomainInitEvent) |
Field Detail |
public static final String versionId
Method Detail |
public void init(DataInitEvent e)
e
- A context object with accessors for data
initializationpublic void init(DomainInitEvent e)
e
- A context object with accessors for domain
initializationDomainObjectInstantiator
,
DomainObjectFactory
,
GlobalObserver
,
GlobalObserverManager
public void init(LegacyInitEvent e)
init(DataInitEvent)
and
init(DomainInitEvent)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |