org.ogf.graap.wsag.server.api
Class EngineComponent

java.lang.Object
  extended by org.ogf.graap.wsag.server.api.EngineComponent
All Implemented Interfaces:
IEngineComponent
Direct Known Subclasses:
AbstractAgreementFactory, AbstractWSAG4JPersistence

public abstract class EngineComponent
extends Object
implements IEngineComponent

Author:
owaeld

Constructor Summary
EngineComponent()
           
 
Method Summary
protected abstract  void doInitialize()
           
 WsagEngine getEngine()
          Returns the wsag4j engine for this component.
 void initialize(WsagEngine engine)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EngineComponent

public EngineComponent()
Method Detail

initialize

public void initialize(WsagEngine engine)
                throws Exception
Description copied from interface: IEngineComponent

Specified by:
initialize in interface IEngineComponent
Parameters:
engine - the parent wsag engine for this component
Throws:
Exception - Indicates an error while initializing the engine component.

getEngine

public WsagEngine getEngine()
Description copied from interface: IEngineComponent
Returns the wsag4j engine for this component.

Specified by:
getEngine in interface IEngineComponent
Returns:
the wsag engine

doInitialize

protected abstract void doInitialize()
                              throws Exception
Throws:
Exception


Copyright © 2008-2012. All Rights Reserved.