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, shutdownclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseConnection, getAdapter, getConfiguration, getConnection, getConnection, getConnection, getDatabase, getDatabaseMap, getDatabaseMap, getDatabases, getDefaultDB, getManager, getManager, getOrCreateDatabase, getSchema, isInit, setSchemapublic void enableLogging(org.apache.avalon.framework.logger.Logger aLogger)
enableLogging in interface org.apache.avalon.framework.logger.LogEnabledLogEnabled.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.Configurableorg.apache.avalon.framework.configuration.ConfigurationExceptionpublic void contextualize(org.apache.avalon.framework.context.Context context)
throws org.apache.avalon.framework.context.ContextException
contextualize in interface org.apache.avalon.framework.context.Contextualizableorg.apache.avalon.framework.context.ContextExceptionpublic void initialize()
throws Exception
initialize in interface org.apache.avalon.framework.activity.InitializableExceptionpublic void dispose()
dispose in interface org.apache.avalon.framework.activity.DisposableCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.