|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Classes that implement this interface can act as a broker for
Initable
classes.
Functionality provided by the broker includes:
Initable
in
the system.Initables
during system
startup.Initables
before they are
used.Initables
to requesting
parties.Initables
during
early initalization phases, including circular dependencies
detection.
Method Summary | |
Initable |
getInitable(java.lang.String className)
Provides an instance of Initable class ready to work. |
void |
initClass(java.lang.String className,
java.lang.Object data)
Performs early initialization of an Initable class. |
void |
shutdownClass(java.lang.String className)
Shutdowns an Initable class. |
Method Detail |
public void initClass(java.lang.String className, java.lang.Object data) throws InitializationException
className
- The name of the class to be initailized.data
- An object to be used for initialization activities.
InitializationException
- if initialization of this
class was not successful.public void shutdownClass(java.lang.String className)
className
- The name of the class to be uninitialized.public Initable getInitable(java.lang.String className) throws InstantiationException
className
- The name of the Initable requested.
InstantiationException
- if there was a problem
during instantiation or initialization of the Initable.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |