public interface InitableBroker
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 initialization phases, including circular dependencies
detection.Modifier and Type | Method and Description |
---|---|
Initable |
getInitable(String className)
Provides an instance of Initable class ready to work.
|
void |
initClass(String className,
Object data)
Performs early initialization of an Initable class.
|
void |
shutdownClass(String className)
Shutdowns an Initable class.
|
void initClass(String className, Object data) throws InitializationException
className
- The name of the class to be initialized.data
- An object to be used for initialization activities.InitializationException
- if initialization of this
class was not successful.void shutdownClass(String className)
className
- The name of the class to be uninitialized.Initable getInitable(String className) throws InstantiationException
className
- The name of the Initable requested.InstantiationException
- if there was a problem
during instantiation or initialization of the Initable.Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.