org.xfp.engine
Class Engine

java.lang.Object
  extended byorg.xfp.AttributeContainer
      extended byorg.xfp.engine.Engine
All Implemented Interfaces:
org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.parameters.Parameterizable, org.apache.avalon.framework.activity.Startable

public class Engine
extends AttributeContainer
implements org.apache.avalon.framework.parameters.Parameterizable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.activity.Startable, org.apache.avalon.framework.activity.Disposable

The XFP Engine executes Task's at scheduled time. It can be used directly (as seen in Main.main()) or as an Avalon component. The current implementation internally uses the Quartz Enterprise Job Scheduler .

Version:
$Id: Engine.java,v 1.1 2004/03/19 15:56:43 flaviotordini Exp $
Author:
Flavio Tordini

Field Summary
protected static java.lang.String COMPONENT_NAME
           
 
Fields inherited from class org.xfp.AttributeContainer
name, parentContainer
 
Constructor Summary
Engine()
          Sole constructor.
 
Method Summary
 void dispose()
          Dispose.
 void initialize()
          Initialize.
 void parameterize(org.apache.avalon.framework.parameters.Parameters parameters)
          Parameterize.
 void start()
          Start.
 void stop()
          Stop.
 
Methods inherited from class org.xfp.AttributeContainer
configureAttributes, disposeAttributes, getAttributes, getFullName, getName, initializeAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_NAME

protected static final java.lang.String COMPONENT_NAME
See Also:
Constant Field Values
Constructor Detail

Engine

public Engine()
Sole constructor.

Method Detail

parameterize

public void parameterize(org.apache.avalon.framework.parameters.Parameters parameters)
                  throws org.apache.avalon.framework.parameters.ParameterException
Parameterize.

Specified by:
parameterize in interface org.apache.avalon.framework.parameters.Parameterizable
Throws:
org.apache.avalon.framework.parameters.ParameterException
See Also:
Parameterizable.parameterize(Parameters)

initialize

public void initialize()
                throws java.lang.Exception
Initialize.

Specified by:
initialize in interface org.apache.avalon.framework.activity.Initializable
Throws:
java.lang.Exception
See Also:
Initializable.initialize()

start

public void start()
           throws java.lang.Exception
Start.

Specified by:
start in interface org.apache.avalon.framework.activity.Startable
Throws:
java.lang.Exception
See Also:
Startable.start()

stop

public void stop()
          throws java.lang.Exception
Stop.

Specified by:
stop in interface org.apache.avalon.framework.activity.Startable
Throws:
java.lang.Exception
See Also:
Startable.stop()

dispose

public void dispose()
Dispose.

Specified by:
dispose in interface org.apache.avalon.framework.activity.Disposable
See Also:
Disposable.dispose()


Copyright © 2003-2004 XFP Team. All Rights Reserved.