Package org.apache.torque.avalon
Klasse TorqueComponent
java.lang.Object
org.apache.torque.TorqueInstance
org.apache.torque.avalon.TorqueComponent
- Alle implementierten Schnittstellen:
org.apache.avalon.framework.activity.Disposable
,org.apache.avalon.framework.activity.Initializable
,org.apache.avalon.framework.component.Component
,org.apache.avalon.framework.configuration.Configurable
,org.apache.avalon.framework.context.Contextualizable
,org.apache.avalon.framework.logger.LogEnabled
,org.apache.avalon.framework.thread.ThreadSafe
,Torque
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
Avalon component for Torque.
- Version:
- $Id: TorqueComponent.java 1874175 2020-02-18 21:08:40Z tv $
- Autor:
- Martin Poeschl, Henning P. Schmiedehausen, Thomas Vandahl
-
Feldübersicht
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
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
Convenience method to provide the Avalon logger the way AbstractLogEnabled does.void
Von Klasse geerbte Methoden org.apache.torque.TorqueInstance
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
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von Schnittstelle geerbte Methoden org.apache.torque.avalon.Torque
closeConnection, getAdapter, getConfiguration, getConnection, getConnection, getConnection, getDatabase, getDatabaseMap, getDatabaseMap, getDatabases, getDefaultDB, getManager, getManager, getOrCreateDatabase, getSchema, isInit, setSchema
-
Konstruktordetails
-
TorqueComponent
public TorqueComponent()
-
-
Methodendetails
-
enableLogging
public void enableLogging(org.apache.avalon.framework.logger.Logger aLogger) - Angegeben von:
enableLogging
in Schnittstelleorg.apache.avalon.framework.logger.LogEnabled
- Siehe auch:
-
getLogger
public org.apache.avalon.framework.logger.Logger getLogger()Convenience method to provide the Avalon logger the way AbstractLogEnabled does.- Gibt zurück:
- Logger instance
-
configure
public void configure(org.apache.avalon.framework.configuration.Configuration configuration) throws org.apache.avalon.framework.configuration.ConfigurationException - Angegeben von:
configure
in Schnittstelleorg.apache.avalon.framework.configuration.Configurable
- Löst aus:
org.apache.avalon.framework.configuration.ConfigurationException
-
contextualize
public void contextualize(org.apache.avalon.framework.context.Context context) throws org.apache.avalon.framework.context.ContextException - Angegeben von:
contextualize
in Schnittstelleorg.apache.avalon.framework.context.Contextualizable
- Löst aus:
org.apache.avalon.framework.context.ContextException
-
initialize
- Angegeben von:
initialize
in Schnittstelleorg.apache.avalon.framework.activity.Initializable
- Löst aus:
Exception
-
dispose
public void dispose()- Angegeben von:
dispose
in Schnittstelleorg.apache.avalon.framework.activity.Disposable
-