|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.broker.util.configuration.impl.OjbConfigurator
The Configurator
for the OJB system.
Implemented as a singleton.
Method Summary | |
void |
configure(Configurable target)
configures the Configurable instance target. |
Configuration |
getConfigurationFor(Configurable target)
looks up the proper Configuration for
the Configurable instance target. |
static OjbConfigurator |
getInstance()
returns the singleton instance. |
void |
setLogger(Logger logger)
this method allows to set a logger that tracks configuration events. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static OjbConfigurator getInstance()
public void setLogger(Logger logger)
Configurator
setLogger
in interface Configurator
logger
- the logger to setConfigurator.setLogger(Logger)
public void configure(Configurable target) throws ConfigurationException
Configurator
Configurable
instance target.
configure
in interface Configurator
target
- the Configurable
instance.
ConfigurationException
Configurator.configure(Configurable)
public Configuration getConfigurationFor(Configurable target) throws ConfigurationException
Configurator
Configuration
for
the Configurable
instance target.
getConfigurationFor
in interface Configurator
target
- the Configurable
instance.
Configuration
.
ConfigurationException
Configurator.getConfigurationFor(Configurable)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |