com.ebmwebsourcing.easyviper.core.impl.engine
Class 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
 
Fields inherited from class com.ebmwebsourcing.easyviper.core.impl.engine.ExecutableElementImpl
nextSelectedExecElmts
 
Constructor Summary
ProcessImpl()
           
 
Method Summary
 com.ebmwebsourcing.easyviper.core.api.engine.Execution createParentExecution()
           
 void end(boolean clean)
           
 java.util.Map<java.lang.String,com.ebmwebsourcing.easyviper.core.api.engine.Execution> getConcernedExecutions(com.ebmwebsourcing.easyviper.core.api.soa.message.InternalMessage<?> message)
           
 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()
           
 com.ebmwebsourcing.easyviper.core.api.model.registry.ProcessKey getProcessKey()
           
 com.ebmwebsourcing.easyviper.core.api.engine.Process.State getState()
           
 void run()
           
 void setExternalContext(com.ebmwebsourcing.easyviper.core.api.env.ExternalContext context)
           
 void setLog(java.util.logging.Logger logger)
           
 void setProcessKey(com.ebmwebsourcing.easyviper.core.api.model.registry.ProcessKey key)
           
 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, 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, linkedNodeAndActivity, linkedTransition2Node, linkInitialNodeAndExecution, removeNode, setExceptions, setFaultScope, setInitialNode, setName, setParentExecution, setParentNode, setTerminationHandler, setVariable, start, startFractalComponent, stop, stopAllExecutions, unlinkedNodeAndActivity, unlinkedNodeAndExecution
 
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 com.ebmwebsourcing.easyviper.core.impl.engine.ExecutableElementImpl
getNextSelectedExecutableElements
 
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, linkedNodeAndActivity, linkedTransition2Node, linkInitialNodeAndExecution, removeNode, setExceptions, setFaultScope, setInitialNode, setParentExecution, setTerminationHandler, setVariable, stopAllExecutions, unlinkedNodeAndActivity, unlinkedNodeAndExecution
 
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, getNextSelectedExecutableElements, 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

getConcernedExecutions

public java.util.Map<java.lang.String,com.ebmwebsourcing.easyviper.core.api.engine.Execution> getConcernedExecutions(com.ebmwebsourcing.easyviper.core.api.soa.message.InternalMessage<?> message)
                                                                                                              throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
getConcernedExecutions 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

getProcessKey

public com.ebmwebsourcing.easyviper.core.api.model.registry.ProcessKey getProcessKey()
Specified by:
getProcessKey in interface com.ebmwebsourcing.easyviper.core.api.engine.Process

setProcessKey

public void setProcessKey(com.ebmwebsourcing.easyviper.core.api.model.registry.ProcessKey key)
Specified by:
setProcessKey in interface com.ebmwebsourcing.easyviper.core.api.engine.Process

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


Copyright © 2009 eBM WebSourcing. All Rights Reserved.