com.cyclops.dbdigger
Class DBDiggerLoader

java.lang.Object
  extended bycom.cyclops.dbdigger.DBDiggerLoader
All Implemented Interfaces:
Configurable, Initializable, Serviceable, Startable

public class DBDiggerLoader
extends Object
implements Configurable, Serviceable, Startable, Initializable

When this class is properly loaded in Avalon contain, DBDigger is ready to use

Since:
2003-6-11 15:13:20
Author:
joel guo

Field Summary
static String ROLE
          Role in avalong framework
 
Constructor Summary
DBDiggerLoader()
           
 
Method Summary
 void configure(Configuration conf)
          Override method configure() of super class
 DBDigger getDBDigger(String name)
          Method getDBDigger()
 DBDigger[] getDBDiggers()
          Method getDBDiggers()
static DBDiggerLoader getInstance()
          Method getInstance()
 Schema getSchema()
          Method getSchema()
 void initialize()
          Override method initialize() of super class
 void service(ServiceManager sm)
          Override method service() of super class
 void start()
          Override method start() of super class
 void stop()
          Override method stop() of super class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROLE

public static final String ROLE
Role in avalong framework

See Also:
Constant Field Values
Constructor Detail

DBDiggerLoader

public DBDiggerLoader()
Method Detail

getInstance

public static final DBDiggerLoader getInstance()
Method getInstance()

Returns:
The only instance of this class

configure

public void configure(Configuration conf)
Override method configure() of super class

Specified by:
configure in interface Configurable
See Also:
Configurable.configure(org.apache.avalon.framework.configuration.Configuration)

getDBDigger

public DBDigger getDBDigger(String name)
Method getDBDigger()

Parameters:
name - Name of dbdigger
Returns:
DBDigger object

getDBDiggers

public DBDigger[] getDBDiggers()
Method getDBDiggers()

Returns:
DBDigger object array

getSchema

public Schema getSchema()
Method getSchema()

Returns:
Schema object

initialize

public void initialize()
                throws Exception
Override method initialize() of super class

Specified by:
initialize in interface Initializable
Throws:
Exception
See Also:
Initializable.initialize()

service

public void service(ServiceManager sm)
             throws ServiceException
Override method service() of super class

Specified by:
service in interface Serviceable
Throws:
ServiceException
See Also:
Serviceable.service(org.apache.avalon.framework.service.ServiceManager)

start

public void start()
Override method start() of super class

Specified by:
start in interface Startable
See Also:
Startable.start()

stop

public void stop()
Override method stop() of super class

Specified by:
stop in interface Startable
See Also:
Startable.stop()


Copyright © 2003 Cyclops Group. All Rights Reserved.