com.ebmwebsourcing.easyviper.core.api.engine.behaviour
Class AbstractBehaviourImpl

java.lang.Object
  extended by com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl
      extended by com.ebmwebsourcing.easyviper.core.api.engine.behaviour.AbstractBehaviourImpl
All Implemented Interfaces:
com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent, Behaviour

public abstract class AbstractBehaviourImpl
extends com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl
implements Behaviour

Author:
Nicolas Salatge - eBM WebSourcing

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.ebmwebsourcing.easyviper.core.api.engine.behaviour.Behaviour
Behaviour.State
 
Field Summary
protected  Node node
           
protected  Behaviour.State state
           
 
Constructor Summary
AbstractBehaviourImpl()
           
 
Method Summary
 void execute()
           
protected abstract  void executeOnEnded()
           
protected abstract  void executeOnInactive()
           
protected abstract  void executeOnStarted()
           
 Node getNode()
           
 javax.xml.namespace.QName getQName()
           
 Behaviour.State getState()
           
 void setLog(java.util.logging.Logger logger)
           
 void setQName(javax.xml.namespace.QName name)
           
 void setState(Behaviour.State state)
           
 java.lang.String toString()
           
 
Methods inherited from class com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl
createSCAComponent, destroySCAComponent, getComponent, getInitializationContext, getName, setInitializationContext, setName, startSCAComponent, stopSCAComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent
createSCAComponent, destroySCAComponent, getComponent, getInitializationContext, getName, setInitializationContext, setName, startSCAComponent, stopSCAComponent
 

Field Detail

state

protected Behaviour.State state

node

protected Node node
Constructor Detail

AbstractBehaviourImpl

public AbstractBehaviourImpl()
Method Detail

getQName

public javax.xml.namespace.QName getQName()
                                   throws CoreException
Specified by:
getQName in interface Behaviour
Throws:
CoreException

setQName

public void setQName(javax.xml.namespace.QName name)
              throws CoreException
Specified by:
setQName in interface Behaviour
Throws:
CoreException

executeOnInactive

protected abstract void executeOnInactive()
                                   throws CoreException
Throws:
CoreException

executeOnStarted

protected abstract void executeOnStarted()
                                  throws CoreException
Throws:
CoreException

executeOnEnded

protected abstract void executeOnEnded()
                                throws CoreException
Throws:
CoreException

execute

public void execute()
             throws CoreException
Specified by:
execute in interface Behaviour
Throws:
CoreException

getNode

public Node getNode()
Specified by:
getNode in interface Behaviour

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getState

public Behaviour.State getState()
Specified by:
getState in interface Behaviour

setState

public void setState(Behaviour.State state)
Specified by:
setState in interface Behaviour

setLog

public void setLog(java.util.logging.Logger logger)
Specified by:
setLog in interface Behaviour


Copyright © 2009-2011 eBM WebSourcing. All Rights Reserved.