com.ebmwebsourcing.easyviper.core.impl.engine
Class ProcessImpl

Package class diagram package ProcessImpl
java.lang.Object
  extended by com.ebmwebsourcing.easyviper.core.impl.engine.ExecutableElementImpl
      extended by com.ebmwebsourcing.easyviper.core.impl.engine.NodeImpl
          extended by com.ebmwebsourcing.easyviper.core.impl.engine.ScopeImpl
              extended by com.ebmwebsourcing.easyviper.core.impl.engine.ProcessImpl
All Implemented Interfaces:
com.ebmwebsourcing.easyviper.core.api.engine.Element, com.ebmwebsourcing.easyviper.core.api.engine.ExecutableElement, com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent, com.ebmwebsourcing.easyviper.core.api.engine.Node, com.ebmwebsourcing.easyviper.core.api.engine.Process, com.ebmwebsourcing.easyviper.core.api.engine.Scope, java.io.Serializable

public class ProcessImpl
extends ScopeImpl
implements com.ebmwebsourcing.easyviper.core.api.engine.Process

Author:
Nicolas Salatge - eBM WebSourcing
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.ebmwebsourcing.easyviper.core.api.engine.Process
com.ebmwebsourcing.easyviper.core.api.engine.Process.State
 
Field Summary
 
Fields inherited from class com.ebmwebsourcing.easyviper.core.impl.engine.ScopeImpl
behaviour, childNodes, correlationGroups, endpoints, exceptions, execution, faultScope, incomingTransitions, initialNode, outgoingTransitions, parentExecution, parentNode, th
 
Constructor Summary
ProcessImpl()
           
 
Method Summary
 com.ebmwebsourcing.easyviper.core.api.engine.Execution createParentExecution()
           
 void end(boolean clean)
           
 com.ebmwebsourcing.easyviper.core.api.engine.expression.Assigner getAssigner()
          TODO ......
 com.ebmwebsourcing.easyviper.core.api.engine.Engine getEngine()
           
 com.ebmwebsourcing.easyviper.core.api.env.ExternalContext getExternalContext()
           
 com.ebmwebsourcing.easyviper.core.api.engine.monitoring.Monitor getMonitor()
           
 com.ebmwebsourcing.easyviper.core.api.engine.Process getProcess()
           
 java.util.List<com.ebmwebsourcing.easyviper.core.api.model.registry.ProcessKey> getProcessKeys()
           
 com.ebmwebsourcing.easyviper.core.api.engine.Process.State getState()
           
 java.util.Map<java.lang.String,com.ebmwebsourcing.easyviper.core.api.engine.Execution> getSuspendedExecutions()
           
 void run()
           
 void setAssigner(com.ebmwebsourcing.easyviper.core.api.engine.expression.Assigner assigner)
           
 void setExternalContext(com.ebmwebsourcing.easyviper.core.api.env.ExternalContext context)
           
 void setLog(java.util.logging.Logger logger)
           
 void setProcessKeys(java.util.List<com.ebmwebsourcing.easyviper.core.api.model.registry.ProcessKey> keys)
           
 void setState(com.ebmwebsourcing.easyviper.core.api.engine.Process.State state)
           
 java.lang.String toString()
           
 
Methods inherited from class com.ebmwebsourcing.easyviper.core.impl.engine.ScopeImpl
cleanScopes, create, createExecution, createNode, createTransition, deleteExecution, destroy, findBehaviours, findBehaviours, findCorrelationGroups, findEndpoint, findVariable, getAllNodes, getAllScopes, getAllTransitions, getComponent, getCorrelationGroups, getEndpoints, getExceptions, getInitialNode, getName, getNode, getNodeByName, getParentExecution, getParentNode, getParentScope, getTerminationHandler, getTransitionByName, getVariables, init, isFaultScope, linked, linked, linkedExecutableElement2Execution, linkedExecution2ExecutableElement, linkedNode2Transition, linkedNodeAndFunctionnalBehaviour, linkedTransition2Node, linkedTransitionAndNonFunctionnalBehaviour, linkInitialNodeAndExecution, removeNode, setExceptions, setFaultScope, setInitialNode, setName, setParentExecution, setParentNode, setTerminationHandler, setVariable, start, startFractalComponent, stop, stopAllExecutions, unlinkedNodeAndExecution, unlinkedNodeAndFunctionnalBehaviour, unlinkedTransitionAndNonFunctionnalBehaviour
 
Methods inherited from class com.ebmwebsourcing.easyviper.core.impl.engine.NodeImpl
execute, getActivity, getBehaviour, getChildNodes, getExecution, getIncomingTransitions, getLogger, getMapIncomingTransitions, getMapOutgoingTransitions, getOutgoingTransitions, selectDefaultNextTarget, setActivity, setExecution
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
createExecution, createNode, createTransition, deleteExecution, findBehaviours, findCorrelationGroups, findEndpoint, findVariable, getAllNodes, getAllScopes, getAllTransitions, getCorrelationGroups, getEndpoints, getExceptions, getInitialNode, getNodeByName, getParentExecution, getParentScope, getTerminationHandler, getTransitionByName, getVariables, isFaultScope, linked, linked, linkedExecutableElement2Execution, linkedExecution2ExecutableElement, linkedNode2Transition, linkedNodeAndFunctionnalBehaviour, linkedTransition2Node, linkedTransitionAndNonFunctionnalBehaviour, linkInitialNodeAndExecution, removeNode, setExceptions, setFaultScope, setInitialNode, setParentExecution, setTerminationHandler, setVariable, stopAllExecutions, unlinkedNodeAndExecution, unlinkedNodeAndFunctionnalBehaviour, unlinkedTransitionAndNonFunctionnalBehaviour
 
Methods inherited from interface com.ebmwebsourcing.easyviper.core.api.engine.Node
getBehaviour, getChildNodes, getIncomingTransitions, getLogger, getMapIncomingTransitions, getMapOutgoingTransitions, getOutgoingTransitions, getParentNode, setActivity, setExecution
 
Methods inherited from interface com.ebmwebsourcing.easyviper.core.api.engine.ExecutableElement
execute, getExecution, selectDefaultNextTarget
 
Methods inherited from interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
create, destroy, getComponent, getName, init, setName, start, stop
 

Constructor Detail

ProcessImpl

public ProcessImpl()
            throws com.ebmwebsourcing.easyviper.core.api.CoreException
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException
Method Detail

run

public void run()
         throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
run in interface com.ebmwebsourcing.easyviper.core.api.engine.Process
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

createParentExecution

public com.ebmwebsourcing.easyviper.core.api.engine.Execution createParentExecution()
                                                                             throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
createParentExecution in interface com.ebmwebsourcing.easyviper.core.api.engine.Process
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getSuspendedExecutions

public java.util.Map<java.lang.String,com.ebmwebsourcing.easyviper.core.api.engine.Execution> getSuspendedExecutions()
                                                                                                              throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
getSuspendedExecutions in interface com.ebmwebsourcing.easyviper.core.api.engine.Process
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getEngine

public com.ebmwebsourcing.easyviper.core.api.engine.Engine getEngine()
                                                              throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
getEngine in interface com.ebmwebsourcing.easyviper.core.api.engine.Process
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getProcess

public com.ebmwebsourcing.easyviper.core.api.engine.Process getProcess()
                                                                throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
getProcess in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Overrides:
getProcess in class ScopeImpl
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getExternalContext

public com.ebmwebsourcing.easyviper.core.api.env.ExternalContext getExternalContext()
Specified by:
getExternalContext in interface com.ebmwebsourcing.easyviper.core.api.engine.Process

setExternalContext

public void setExternalContext(com.ebmwebsourcing.easyviper.core.api.env.ExternalContext context)
Specified by:
setExternalContext in interface com.ebmwebsourcing.easyviper.core.api.engine.Process

setLog

public void setLog(java.util.logging.Logger logger)
Specified by:
setLog in interface com.ebmwebsourcing.easyviper.core.api.engine.Element
Overrides:
setLog in class ScopeImpl

getMonitor

public com.ebmwebsourcing.easyviper.core.api.engine.monitoring.Monitor getMonitor()
Specified by:
getMonitor in interface com.ebmwebsourcing.easyviper.core.api.engine.Process

end

public void end(boolean clean)
         throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
end in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Overrides:
end in class ScopeImpl
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getState

public com.ebmwebsourcing.easyviper.core.api.engine.Process.State getState()
Specified by:
getState in interface com.ebmwebsourcing.easyviper.core.api.engine.Process

setState

public void setState(com.ebmwebsourcing.easyviper.core.api.engine.Process.State state)
Specified by:
setState in interface com.ebmwebsourcing.easyviper.core.api.engine.Process

toString

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

getProcessKeys

public java.util.List<com.ebmwebsourcing.easyviper.core.api.model.registry.ProcessKey> getProcessKeys()
Specified by:
getProcessKeys in interface com.ebmwebsourcing.easyviper.core.api.engine.Process

setProcessKeys

public void setProcessKeys(java.util.List<com.ebmwebsourcing.easyviper.core.api.model.registry.ProcessKey> keys)
Specified by:
setProcessKeys in interface com.ebmwebsourcing.easyviper.core.api.engine.Process

getAssigner

public com.ebmwebsourcing.easyviper.core.api.engine.expression.Assigner getAssigner()
TODO ...... CHECK Notification Service

Specified by:
getAssigner in interface com.ebmwebsourcing.easyviper.core.api.engine.Process

setAssigner

public void setAssigner(com.ebmwebsourcing.easyviper.core.api.engine.expression.Assigner assigner)
Specified by:
setAssigner in interface com.ebmwebsourcing.easyviper.core.api.engine.Process


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