org.tigris.scarab.components
Class TorqueComponent

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.torque.avalon.TorqueComponent
          extended byorg.tigris.scarab.components.TorqueComponent
All Implemented Interfaces:
org.apache.avalon.framework.component.Component, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.activity.Startable, org.apache.avalon.framework.thread.ThreadSafe

public class TorqueComponent
extends org.apache.torque.avalon.TorqueComponent

Avalon component for Torque adjusted to the needs of Scarab.

Version:
$Id: TorqueComponent.java 9925 2005-10-31 12:41:16Z hair $
Author:
Hussayn dabbous

Constructor Summary
  TorqueComponent()
           
protected TorqueComponent(org.apache.torque.TorqueInstance torqueInstance)
          Creates a new instance.
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration configuration)
           
 void initialize()
           
 
Methods inherited from class org.apache.torque.avalon.TorqueComponent
closeConnection, contextualize, getConfiguration, getConnection, getConnection, getConnection, getDatabaseMap, getDatabaseMap, getDB, getDefaultDB, getManager, getManager, isInit, registerMapBuilder, start, stop
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TorqueComponent

public TorqueComponent()

TorqueComponent

protected TorqueComponent(org.apache.torque.TorqueInstance torqueInstance)
Creates a new instance.

Parameters:
torqueInstance - The instance of the Torque core used by this component.
Method Detail

configure

public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Throws:
org.apache.avalon.framework.configuration.ConfigurationException
See Also:
Configurable.configure(org.apache.avalon.framework.configuration.Configuration)

initialize

public void initialize()
                throws java.lang.Exception
Throws:
java.lang.Exception
See Also:
Initializable.initialize()


Copyright © 2000-2004 Tigris.org. All Rights Reserved.