public class TorqueComponent extends TorqueInstance implements Torque, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.thread.ThreadSafe
Constructor and Description |
---|
TorqueComponent() |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration) |
void |
contextualize(org.apache.avalon.framework.context.Context context) |
void |
dispose() |
void |
enableLogging(org.apache.avalon.framework.logger.Logger aLogger) |
org.apache.avalon.framework.logger.Logger |
getLogger()
Convenience method to provide the Avalon logger the way AbstractLogEnabled does.
|
void |
initialize() |
closeConnection, getAdapter, getConfiguration, getConnection, getConnection, getConnection, getDatabase, getDatabaseMap, getDatabaseMap, getDatabases, getDataSourceFactory, getDefaultDB, getManager, getManager, getOrCreateDatabase, getPeerInstance, getSchema, init, init, initManagerMappings, isInit, registerIDBroker, registerPeerInstance, setConfiguration, setSchema, shutdown
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeConnection, getAdapter, getConfiguration, getConnection, getConnection, getConnection, getDatabase, getDatabaseMap, getDatabaseMap, getDatabases, getDefaultDB, getManager, getManager, getOrCreateDatabase, getSchema, isInit, setSchema
public void enableLogging(org.apache.avalon.framework.logger.Logger aLogger)
enableLogging
in interface org.apache.avalon.framework.logger.LogEnabled
LogEnabled.enableLogging(org.apache.avalon.framework.logger.Logger)
public org.apache.avalon.framework.logger.Logger getLogger()
public void configure(org.apache.avalon.framework.configuration.Configuration configuration) throws org.apache.avalon.framework.configuration.ConfigurationException
configure
in interface org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.configuration.ConfigurationException
public void contextualize(org.apache.avalon.framework.context.Context context) throws org.apache.avalon.framework.context.ContextException
contextualize
in interface org.apache.avalon.framework.context.Contextualizable
org.apache.avalon.framework.context.ContextException
public void initialize() throws Exception
initialize
in interface org.apache.avalon.framework.activity.Initializable
Exception
public void dispose()
dispose
in interface org.apache.avalon.framework.activity.Disposable
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.