Class TorqueComponent

  • All Implemented Interfaces:
    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 $
    Author:
    Martin Poeschl, Henning P. Schmiedehausen, Thomas Vandahl
    • Constructor Detail

      • TorqueComponent

        public TorqueComponent()
    • Method Detail

      • enableLogging

        public void enableLogging​(org.apache.avalon.framework.logger.Logger aLogger)
        Specified by:
        enableLogging in interface org.apache.avalon.framework.logger.LogEnabled
        See Also:
        LogEnabled.enableLogging(org.apache.avalon.framework.logger.Logger)
      • getLogger

        public org.apache.avalon.framework.logger.Logger getLogger()
        Convenience method to provide the Avalon logger the way AbstractLogEnabled does.
        Returns:
        Logger instance
      • configure

        public void configure​(org.apache.avalon.framework.configuration.Configuration configuration)
                       throws org.apache.avalon.framework.configuration.ConfigurationException
        Specified by:
        configure in interface org.apache.avalon.framework.configuration.Configurable
        Throws:
        org.apache.avalon.framework.configuration.ConfigurationException
      • contextualize

        public void contextualize​(org.apache.avalon.framework.context.Context context)
                           throws org.apache.avalon.framework.context.ContextException
        Specified by:
        contextualize in interface org.apache.avalon.framework.context.Contextualizable
        Throws:
        org.apache.avalon.framework.context.ContextException
      • initialize

        public void initialize()
                        throws Exception
        Specified by:
        initialize in interface org.apache.avalon.framework.activity.Initializable
        Throws:
        Exception
      • dispose

        public void dispose()
        Specified by:
        dispose in interface org.apache.avalon.framework.activity.Disposable