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

Package class diagram package ProcessImpl
java.lang.Object
  extended by com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl
      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.easycommons.sca.helper.api.SCAComponent, com.ebmwebsourcing.easyviper.core.api.engine.Node, com.ebmwebsourcing.easyviper.core.api.engine.Process, com.ebmwebsourcing.easyviper.core.api.engine.Scope

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

Author:
Nicolas Salatge - eBM WebSourcing

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
correlationGroups, endpoints, exceptions, faultScope, initialNode, parentExecution, terminationHandler
 
Fields inherited from class com.ebmwebsourcing.easyviper.core.impl.engine.NodeImpl
behaviour, childNodes, execution, incomingNodes, outgoingNodes, parentNode
 
Constructor Summary
ProcessImpl()
           
 
Method Summary
 void addExternalContext(com.ebmwebsourcing.easyviper.core.api.soa.Endpoint serviceendpoint, java.lang.String operation, com.ebmwebsourcing.easyviper.core.api.env.ExternalContext context)
           
 void clearExternalContexts()
           
 com.ebmwebsourcing.easyviper.core.api.engine.Execution createParentExecution()
           
 void end(boolean clean)
           
 com.ebmwebsourcing.easyviper.core.api.engine.behaviour.Behaviour findBehaviour(java.lang.String activityName)
           
 com.ebmwebsourcing.easyviper.core.api.engine.expression.Assigner getAssigner()
           
 com.ebmwebsourcing.easyviper.core.api.engine.Engine getEngine()
           
 com.ebmwebsourcing.easyviper.core.api.env.ExternalContext getExternalContext(com.ebmwebsourcing.easyviper.core.api.soa.Endpoint serviceendpoint, java.lang.String operation)
           
 java.util.Map<com.ebmwebsourcing.easyviper.core.api.soa.Endpoint,java.util.Map<java.lang.String,com.ebmwebsourcing.easyviper.core.api.env.ExternalContext>> getExternalContexts()
           
 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 removeExternalContext(com.ebmwebsourcing.easyviper.core.api.soa.Endpoint serviceendpoint, java.lang.String operation)
           
 void run()
           
 void runStepByStep()
           
 void setAssigner(com.ebmwebsourcing.easyviper.core.api.engine.expression.Assigner assigner)
           
 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, createExecution, createNode, deleteExecution, findBehaviours, findBehaviours, findBehaviours, findCorrelationGroups, findEndpoint, findEndpointKey, findVariable, getAllNodes, getAllScopes, getCorrelationGroups, getEndpoints, getExceptions, getInitialNode, getNode, getNodeByName, getParentExecution, getParentNode, getParentScope, getTerminationHandler, getVariables, isFaultScope, linkedBrotherNodes, linkedChildNodeToParent, linkedExecutableElement2Execution, linkedExecution2ExecutableElement, linkedNodeAndFunctionnalBehaviour, linkInitialNodeAndExecution, removeNode, setBehavioursState, setExceptions, setFaultScope, setInitialNode, setParentExecution, setParentNode, setTerminationHandler, setVariable, startAllExecutions, stopAllExecutions, unlinkBrotherNodes, unlinkedNodeAndExecution, unlinkedNodeAndFunctionnalBehaviour
 
Methods inherited from class com.ebmwebsourcing.easyviper.core.impl.engine.NodeImpl
execute, getActivity, getBehaviour, getChildNodes, getExecution, getIncomingNodes, getLogger, getOutgoingNodes, selectDefaultNextTarget, setActivity, setExecution, stopSCAComponent
 
Methods inherited from class com.ebmwebsourcing.easycommons.sca.helper.impl.SCAComponentImpl
createSCAComponent, destroySCAComponent, getComponent, getName, setName, startSCAComponent
 
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, deleteExecution, findBehaviours, findBehaviours, findCorrelationGroups, findEndpoint, findEndpointKey, findVariable, getAllNodes, getAllScopes, getCorrelationGroups, getEndpoints, getExceptions, getInitialNode, getNodeByName, getParentExecution, getParentScope, getTerminationHandler, getVariables, isFaultScope, linkedBrotherNodes, linkedChildNodeToParent, linkedExecutableElement2Execution, linkedExecution2ExecutableElement, linkedNodeAndFunctionnalBehaviour, linkInitialNodeAndExecution, removeNode, setBehavioursState, setExceptions, setFaultScope, setInitialNode, setParentExecution, setTerminationHandler, setVariable, startAllExecutions, stopAllExecutions, unlinkBrotherNodes, unlinkedNodeAndExecution, unlinkedNodeAndFunctionnalBehaviour
 
Methods inherited from interface com.ebmwebsourcing.easyviper.core.api.engine.Node
execute, getBehaviour, getChildNodes, getExecution, getIncomingNodes, getLogger, getOutgoingNodes, getParentNode, selectDefaultNextTarget, setActivity, setExecution, setParentNode
 
Methods inherited from interface com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent
createSCAComponent, destroySCAComponent, getComponent, getName, setName, startSCAComponent, stopSCAComponent
 

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

runStepByStep

public void runStepByStep()
                   throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
runStepByStep 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

getExternalContexts

public java.util.Map<com.ebmwebsourcing.easyviper.core.api.soa.Endpoint,java.util.Map<java.lang.String,com.ebmwebsourcing.easyviper.core.api.env.ExternalContext>> getExternalContexts()
Specified by:
getExternalContexts in interface com.ebmwebsourcing.easyviper.core.api.engine.Process

getExternalContext

public com.ebmwebsourcing.easyviper.core.api.env.ExternalContext getExternalContext(com.ebmwebsourcing.easyviper.core.api.soa.Endpoint serviceendpoint,
                                                                                    java.lang.String operation)
Specified by:
getExternalContext 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.Node
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()
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

addExternalContext

public void addExternalContext(com.ebmwebsourcing.easyviper.core.api.soa.Endpoint serviceendpoint,
                               java.lang.String operation,
                               com.ebmwebsourcing.easyviper.core.api.env.ExternalContext context)
Specified by:
addExternalContext in interface com.ebmwebsourcing.easyviper.core.api.engine.Process

removeExternalContext

public void removeExternalContext(com.ebmwebsourcing.easyviper.core.api.soa.Endpoint serviceendpoint,
                                  java.lang.String operation)
Specified by:
removeExternalContext in interface com.ebmwebsourcing.easyviper.core.api.engine.Process

clearExternalContexts

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

findBehaviour

public com.ebmwebsourcing.easyviper.core.api.engine.behaviour.Behaviour findBehaviour(java.lang.String activityName)
Specified by:
findBehaviour in interface com.ebmwebsourcing.easyviper.core.api.engine.Process


Copyright © 2012 Petals Link. All Rights Reserved.