com.arsdigita.persistence
Class Initializer
java.lang.Object
com.arsdigita.persistence.Initializer
- All Implemented Interfaces:
- Initializer
- public class Initializer
- extends Object
- implements Initializer
Initializer loads UDCTs.
- Version:
- $Revision: #22 $ $Date: 2004/05/28 $
- Author:
- Archit Shah
Method Summary |
void |
init(DataInitEvent evt)
Initializes the object-relational mapping metadata by loading
PDL resources. |
void |
init(DomainInitEvent evt)
Sets up the session and loads the persistence metadata from a
file somewhere in your classpath. |
void |
init(LegacyInitEvent evt)
A hook for free-form initialization as existed in the older
initialization scheme. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Initializer
public Initializer()
init
public void init(DataInitEvent evt)
- Description copied from interface:
Initializer
- Initializes the object-relational mapping metadata by loading
PDL resources.
- Specified by:
init
in interface Initializer
- Parameters:
evt
- A context object with accessors for data
initialization
init
public void init(DomainInitEvent evt)
- Sets up the session and loads the persistence metadata from a
file somewhere in your classpath. The name of the file to which
to search for is defined by the metadataXmlFileName
initialization parameter.
- Specified by:
init
in interface Initializer
- Parameters:
evt
- A context object with accessors for domain
initialization- See Also:
DomainObjectInstantiator
,
DomainObjectFactory
,
GlobalObserver
,
GlobalObserverManager
init
public void init(LegacyInitEvent evt)
- Description copied from interface:
Initializer
- A hook for free-form initialization as existed in the older
initialization scheme.
- Specified by:
init
in interface Initializer
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC