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

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
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.Scope, java.io.Serializable
Direct Known Subclasses:
ProcessImpl

public class ScopeImpl
extends NodeImpl
implements com.ebmwebsourcing.easyviper.core.api.engine.Scope

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

Field Summary
protected  com.ebmwebsourcing.easyviper.core.api.engine.behaviour.Behaviour behaviour
           
protected  java.util.Map<java.lang.String,com.ebmwebsourcing.easyviper.core.api.engine.Node> childNodes
           
protected  java.util.List<com.ebmwebsourcing.easyviper.core.api.soa.correlation.CorrelationGroup> correlationGroups
           
protected  java.util.Map<java.lang.Object,com.ebmwebsourcing.easyviper.core.api.soa.Endpoint> endpoints
           
protected  java.util.Map<com.ebmwebsourcing.easyviper.core.api.engine.fault.Fault,com.ebmwebsourcing.easyviper.core.api.engine.Scope> exceptions
           
protected  com.ebmwebsourcing.easyviper.core.api.engine.Execution execution
           
protected  java.lang.Exception faultScope
           
protected  java.util.Map<java.lang.String,com.ebmwebsourcing.easyviper.core.api.engine.Transition> incomingTransitions
           
protected  org.objectweb.fractal.api.Component initialNode
           
protected  java.util.Map<java.lang.String,com.ebmwebsourcing.easyviper.core.api.engine.Transition> outgoingTransitions
           
protected  org.objectweb.fractal.api.Component parentExecution
           
protected  com.ebmwebsourcing.easyviper.core.api.engine.Node parentNode
           
protected  com.ebmwebsourcing.easyviper.core.api.engine.handler.TerminationHandler th
           
 
Fields inherited from class com.ebmwebsourcing.easyviper.core.impl.engine.ExecutableElementImpl
nextSelectedExecElmts
 
Constructor Summary
ScopeImpl()
          Default Constructor
 
Method Summary
 void addBreakpoint(com.ebmwebsourcing.easyviper.core.api.engine.Node node)
           
protected  void cleanScopes(com.ebmwebsourcing.easyviper.core.api.engine.Scope scope)
           
 void create()
          Start the scope behaviour
 com.ebmwebsourcing.easyviper.core.api.engine.Execution createExecution(java.lang.String execName)
          constructor to feed in subclasses of processes.
 com.ebmwebsourcing.easyviper.core.api.engine.Node createNode(java.lang.String nodeName, com.ebmwebsourcing.easyviper.core.api.engine.behaviour.Behaviour behaviourContext)
           
 com.ebmwebsourcing.easyviper.core.api.engine.Transition createTransition(java.lang.String transitionName, com.ebmwebsourcing.easyviper.core.api.engine.Event event)
           
 void deleteExecution(com.ebmwebsourcing.easyviper.core.api.engine.Execution exec)
           
 void destroy()
          Start the scope behaviour
 void end(boolean clean)
           
 java.util.List<com.ebmwebsourcing.easyviper.core.api.soa.correlation.CorrelationGroup> findCorrelationGroups(java.lang.String name)
           
 com.ebmwebsourcing.easyviper.core.api.soa.Endpoint findEndpoint(java.lang.Object key)
           
 com.ebmwebsourcing.easyviper.core.api.engine.variable.Variable findVariable(javax.xml.namespace.QName name)
           
 java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.Node> getAllNodes()
           
 java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.Scope> getAllScopes()
           
 java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.Transition> getAllTransitions()
           
 org.objectweb.fractal.api.Component getComponent()
           
 java.util.List<com.ebmwebsourcing.easyviper.core.api.soa.correlation.CorrelationGroup> getCorrelationGroups()
           
 java.util.Map<java.lang.Object,com.ebmwebsourcing.easyviper.core.api.soa.Endpoint> getEndpoints()
           
 java.util.Map<com.ebmwebsourcing.easyviper.core.api.engine.fault.Fault,com.ebmwebsourcing.easyviper.core.api.engine.Scope> getExceptions()
           
 com.ebmwebsourcing.easyviper.core.api.engine.Node getInitialNode()
           
 java.lang.String getName()
           
 com.ebmwebsourcing.easyviper.core.api.engine.Node getNode(java.lang.String name)
           
 com.ebmwebsourcing.easyviper.core.api.engine.Node getNodeByName(java.lang.String name)
           
 com.ebmwebsourcing.easyviper.core.api.engine.Execution getParentExecution()
           
 com.ebmwebsourcing.easyviper.core.api.engine.Node getParentNode()
           
 com.ebmwebsourcing.easyviper.core.api.engine.Scope getParentScope()
           
 com.ebmwebsourcing.easyviper.core.api.engine.Process getProcess()
           
 com.ebmwebsourcing.easyviper.core.api.engine.handler.TerminationHandler getTerminationHandler()
           
 com.ebmwebsourcing.easyviper.core.api.engine.Transition getTransitionByName(java.lang.String name)
           
 java.util.Map<javax.xml.namespace.QName,com.ebmwebsourcing.easyviper.core.api.engine.variable.Variable> getVariables()
           
 void init(org.objectweb.fractal.api.Component fractalNode)
           
 boolean isDebug()
           
 java.lang.Exception isFaultScope()
           
 void linked(com.ebmwebsourcing.easyviper.core.api.engine.Node parentNode, com.ebmwebsourcing.easyviper.core.api.engine.Node childrenNode)
           
 void linked(com.ebmwebsourcing.easyviper.core.api.engine.Node sourceNode, com.ebmwebsourcing.easyviper.core.api.engine.Transition transition, com.ebmwebsourcing.easyviper.core.api.engine.Node targetNode)
           
 void linkedExecutableElement2Execution(com.ebmwebsourcing.easyviper.core.api.engine.ExecutableElement source, com.ebmwebsourcing.easyviper.core.api.engine.Execution exe)
           
 void linkedExecution2ExecutableElement(com.ebmwebsourcing.easyviper.core.api.engine.Execution exe, com.ebmwebsourcing.easyviper.core.api.engine.ExecutableElement target)
           
 void linkedNode2Transition(com.ebmwebsourcing.easyviper.core.api.engine.Node targetNode, com.ebmwebsourcing.easyviper.core.api.engine.Transition transition)
           
 void linkedNodeAndActivity(com.ebmwebsourcing.easyviper.core.api.engine.Node targetNode, com.ebmwebsourcing.easyviper.core.api.engine.behaviour.Behaviour behaviour)
           
 void linkedTransition2Node(com.ebmwebsourcing.easyviper.core.api.engine.Transition transition, com.ebmwebsourcing.easyviper.core.api.engine.Node sourceNode)
           
 void linkInitialNodeAndExecution()
           
 boolean removeNode(com.ebmwebsourcing.easyviper.core.api.engine.Node node)
           
 void setDebug(boolean debug)
           
 void setExceptions(java.util.Map<com.ebmwebsourcing.easyviper.core.api.engine.fault.Fault,com.ebmwebsourcing.easyviper.core.api.engine.Scope> exceptions)
           
 void setFaultScope(java.lang.Exception faultScope)
           
 void setInitialNode(com.ebmwebsourcing.easyviper.core.api.engine.Node initial)
           
 void setLog(java.util.logging.Logger logger)
           
 void setName(java.lang.String name)
           
 void setParentExecution(org.objectweb.fractal.api.Component parentExecution)
           
 void setParentNode(com.ebmwebsourcing.easyviper.core.api.engine.Node parentNode)
           
 void setTerminationHandler(com.ebmwebsourcing.easyviper.core.api.engine.handler.TerminationHandler th)
           
 void setVariable(com.ebmwebsourcing.easyviper.core.api.engine.variable.Variable v)
           
 void start()
          Start the scope behaviour
 void startFractalComponent()
           
 void stop()
          Stop the scope behaviour
 void stopAllExecutions()
           
 void unlinkedNodeAndActivity(com.ebmwebsourcing.easyviper.core.api.engine.Node targetNode, com.ebmwebsourcing.easyviper.core.api.engine.behaviour.Behaviour behaviour)
           
 void unlinkedNodeAndExecution(com.ebmwebsourcing.easyviper.core.api.engine.Node targetNode, com.ebmwebsourcing.easyviper.core.api.engine.Execution execution)
           
 
Methods inherited from class com.ebmwebsourcing.easyviper.core.impl.engine.NodeImpl
execute, getActivity, getBehaviour, getChildNodes, getExecution, getIncomingTransitions, getLogger, getMapIncomingTransitions, getMapOutgoingTransitions, getOutgoingTransitions, selectDefaultNextTarget, setActivity, setExecution, toString
 
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.Node
getBehaviour, getChildNodes, getIncomingTransitions, getLogger, getMapIncomingTransitions, getMapOutgoingTransitions, getOutgoingTransitions, setActivity, setExecution
 
Methods inherited from interface com.ebmwebsourcing.easyviper.core.api.engine.ExecutableElement
execute, getExecution, getNextSelectedExecutableElements, selectDefaultNextTarget
 

Field Detail

initialNode

protected org.objectweb.fractal.api.Component initialNode

parentExecution

protected org.objectweb.fractal.api.Component parentExecution

childNodes

protected java.util.Map<java.lang.String,com.ebmwebsourcing.easyviper.core.api.engine.Node> childNodes

incomingTransitions

protected java.util.Map<java.lang.String,com.ebmwebsourcing.easyviper.core.api.engine.Transition> incomingTransitions

outgoingTransitions

protected java.util.Map<java.lang.String,com.ebmwebsourcing.easyviper.core.api.engine.Transition> outgoingTransitions

behaviour

protected com.ebmwebsourcing.easyviper.core.api.engine.behaviour.Behaviour behaviour

parentNode

protected com.ebmwebsourcing.easyviper.core.api.engine.Node parentNode

execution

protected com.ebmwebsourcing.easyviper.core.api.engine.Execution execution

exceptions

protected java.util.Map<com.ebmwebsourcing.easyviper.core.api.engine.fault.Fault,com.ebmwebsourcing.easyviper.core.api.engine.Scope> exceptions

endpoints

protected java.util.Map<java.lang.Object,com.ebmwebsourcing.easyviper.core.api.soa.Endpoint> endpoints

correlationGroups

protected java.util.List<com.ebmwebsourcing.easyviper.core.api.soa.correlation.CorrelationGroup> correlationGroups

faultScope

protected java.lang.Exception faultScope

th

protected com.ebmwebsourcing.easyviper.core.api.engine.handler.TerminationHandler th
Constructor Detail

ScopeImpl

public ScopeImpl()
          throws com.ebmwebsourcing.easyviper.core.api.CoreException
Default Constructor

Throws:
org.objectweb.fractal.adl.ADLException
com.ebmwebsourcing.easyviper.core.api.CoreException
Method Detail

create

public void create()
            throws com.ebmwebsourcing.easyviper.core.api.CoreException
Start the scope behaviour

Specified by:
create in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
Overrides:
create in class NodeImpl
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

init

public void init(org.objectweb.fractal.api.Component fractalNode)
          throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
init in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
Overrides:
init in class NodeImpl
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

start

public void start()
           throws com.ebmwebsourcing.easyviper.core.api.CoreException
Start the scope behaviour

Specified by:
start in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
Overrides:
start in class NodeImpl
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

stop

public void stop()
          throws com.ebmwebsourcing.easyviper.core.api.CoreException
Stop the scope behaviour

Specified by:
stop in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
Overrides:
stop in class NodeImpl
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

destroy

public void destroy()
             throws com.ebmwebsourcing.easyviper.core.api.CoreException
Start the scope behaviour

Specified by:
destroy in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
Overrides:
destroy in class NodeImpl
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

startFractalComponent

public void startFractalComponent()
                           throws com.ebmwebsourcing.easyviper.core.api.CoreException
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

createNode

public com.ebmwebsourcing.easyviper.core.api.engine.Node createNode(java.lang.String nodeName,
                                                                    com.ebmwebsourcing.easyviper.core.api.engine.behaviour.Behaviour behaviourContext)
                                                             throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
createNode in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getInitialNode

public com.ebmwebsourcing.easyviper.core.api.engine.Node getInitialNode()
                                                                 throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
getInitialNode in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getNode

public com.ebmwebsourcing.easyviper.core.api.engine.Node getNode(java.lang.String name)
                                                          throws com.ebmwebsourcing.easyviper.core.api.CoreException
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

deleteExecution

public void deleteExecution(com.ebmwebsourcing.easyviper.core.api.engine.Execution exec)
                     throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
deleteExecution in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

stopAllExecutions

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

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
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

cleanScopes

protected void cleanScopes(com.ebmwebsourcing.easyviper.core.api.engine.Scope scope)
                    throws com.ebmwebsourcing.easyviper.core.api.CoreException
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

removeNode

public boolean removeNode(com.ebmwebsourcing.easyviper.core.api.engine.Node node)
                   throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
removeNode in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

setInitialNode

public void setInitialNode(com.ebmwebsourcing.easyviper.core.api.engine.Node initial)
                    throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
setInitialNode in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getName

public java.lang.String getName()
                         throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
getName in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
Overrides:
getName in class NodeImpl
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

setName

public void setName(java.lang.String name)
             throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
setName in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
Overrides:
setName in class NodeImpl
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getComponent

public org.objectweb.fractal.api.Component getComponent()
Specified by:
getComponent in interface com.ebmwebsourcing.easyviper.core.api.engine.FractalComponent
Overrides:
getComponent in class NodeImpl

getParentExecution

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

getAllTransitions

public java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.Transition> getAllTransitions()
                                                                                          throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
getAllTransitions in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getAllNodes

public java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.Node> getAllNodes()
                                                                              throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
getAllNodes in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getAllScopes

public java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.Scope> getAllScopes()
                                                                                throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
getAllScopes in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getTransitionByName

public com.ebmwebsourcing.easyviper.core.api.engine.Transition getTransitionByName(java.lang.String name)
                                                                            throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
getTransitionByName in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getNodeByName

public com.ebmwebsourcing.easyviper.core.api.engine.Node getNodeByName(java.lang.String name)
                                                                throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
getNodeByName in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

linkedTransition2Node

public void linkedTransition2Node(com.ebmwebsourcing.easyviper.core.api.engine.Transition transition,
                                  com.ebmwebsourcing.easyviper.core.api.engine.Node sourceNode)
                           throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
linkedTransition2Node in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

linkedNode2Transition

public void linkedNode2Transition(com.ebmwebsourcing.easyviper.core.api.engine.Node targetNode,
                                  com.ebmwebsourcing.easyviper.core.api.engine.Transition transition)
                           throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
linkedNode2Transition in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

linkedNodeAndActivity

public void linkedNodeAndActivity(com.ebmwebsourcing.easyviper.core.api.engine.Node targetNode,
                                  com.ebmwebsourcing.easyviper.core.api.engine.behaviour.Behaviour behaviour)
                           throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
linkedNodeAndActivity in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

unlinkedNodeAndActivity

public void unlinkedNodeAndActivity(com.ebmwebsourcing.easyviper.core.api.engine.Node targetNode,
                                    com.ebmwebsourcing.easyviper.core.api.engine.behaviour.Behaviour behaviour)
                             throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
unlinkedNodeAndActivity in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

unlinkedNodeAndExecution

public void unlinkedNodeAndExecution(com.ebmwebsourcing.easyviper.core.api.engine.Node targetNode,
                                     com.ebmwebsourcing.easyviper.core.api.engine.Execution execution)
                              throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
unlinkedNodeAndExecution in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

linked

public void linked(com.ebmwebsourcing.easyviper.core.api.engine.Node sourceNode,
                   com.ebmwebsourcing.easyviper.core.api.engine.Transition transition,
                   com.ebmwebsourcing.easyviper.core.api.engine.Node targetNode)
            throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
linked in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

linked

public void linked(com.ebmwebsourcing.easyviper.core.api.engine.Node parentNode,
                   com.ebmwebsourcing.easyviper.core.api.engine.Node childrenNode)
            throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
linked in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

linkedExecution2ExecutableElement

public void linkedExecution2ExecutableElement(com.ebmwebsourcing.easyviper.core.api.engine.Execution exe,
                                              com.ebmwebsourcing.easyviper.core.api.engine.ExecutableElement target)
                                       throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
linkedExecution2ExecutableElement in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

linkedExecutableElement2Execution

public void linkedExecutableElement2Execution(com.ebmwebsourcing.easyviper.core.api.engine.ExecutableElement source,
                                              com.ebmwebsourcing.easyviper.core.api.engine.Execution exe)
                                       throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
linkedExecutableElement2Execution in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

createTransition

public com.ebmwebsourcing.easyviper.core.api.engine.Transition createTransition(java.lang.String transitionName,
                                                                                com.ebmwebsourcing.easyviper.core.api.engine.Event event)
                                                                         throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
createTransition in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

createExecution

public com.ebmwebsourcing.easyviper.core.api.engine.Execution createExecution(java.lang.String execName)
                                                                       throws com.ebmwebsourcing.easyviper.core.api.CoreException
constructor to feed in subclasses of processes.

Specified by:
createExecution in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

addBreakpoint

public void addBreakpoint(com.ebmwebsourcing.easyviper.core.api.engine.Node node)
                   throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
addBreakpoint in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

isDebug

public boolean isDebug()
Specified by:
isDebug in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope

setDebug

public void setDebug(boolean debug)
Specified by:
setDebug in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope

getVariables

public java.util.Map<javax.xml.namespace.QName,com.ebmwebsourcing.easyviper.core.api.engine.variable.Variable> getVariables()
Specified by:
getVariables in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope

findVariable

public com.ebmwebsourcing.easyviper.core.api.engine.variable.Variable findVariable(javax.xml.namespace.QName name)
                                                                            throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
findVariable in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

findCorrelationGroups

public java.util.List<com.ebmwebsourcing.easyviper.core.api.soa.correlation.CorrelationGroup> findCorrelationGroups(java.lang.String name)
                                                                                                             throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
findCorrelationGroups in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

findEndpoint

public com.ebmwebsourcing.easyviper.core.api.soa.Endpoint findEndpoint(java.lang.Object key)
                                                                throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
findEndpoint in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

setVariable

public void setVariable(com.ebmwebsourcing.easyviper.core.api.engine.variable.Variable v)
                 throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
setVariable in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

getParentScope

public com.ebmwebsourcing.easyviper.core.api.engine.Scope getParentScope()
                                                                  throws com.ebmwebsourcing.easyviper.core.api.CoreException
Specified by:
getParentScope in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope
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
Throws:
com.ebmwebsourcing.easyviper.core.api.CoreException

linkInitialNodeAndExecution

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

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 NodeImpl

getEndpoints

public java.util.Map<java.lang.Object,com.ebmwebsourcing.easyviper.core.api.soa.Endpoint> getEndpoints()
Specified by:
getEndpoints in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope

getCorrelationGroups

public java.util.List<com.ebmwebsourcing.easyviper.core.api.soa.correlation.CorrelationGroup> getCorrelationGroups()
Specified by:
getCorrelationGroups in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope

getExceptions

public java.util.Map<com.ebmwebsourcing.easyviper.core.api.engine.fault.Fault,com.ebmwebsourcing.easyviper.core.api.engine.Scope> getExceptions()
Specified by:
getExceptions in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope

setExceptions

public void setExceptions(java.util.Map<com.ebmwebsourcing.easyviper.core.api.engine.fault.Fault,com.ebmwebsourcing.easyviper.core.api.engine.Scope> exceptions)
Specified by:
setExceptions in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope

isFaultScope

public java.lang.Exception isFaultScope()
Specified by:
isFaultScope in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope

getParentNode

public com.ebmwebsourcing.easyviper.core.api.engine.Node getParentNode()
Specified by:
getParentNode in interface com.ebmwebsourcing.easyviper.core.api.engine.Node
Overrides:
getParentNode in class NodeImpl

setParentNode

public void setParentNode(com.ebmwebsourcing.easyviper.core.api.engine.Node parentNode)
Overrides:
setParentNode in class NodeImpl

setFaultScope

public void setFaultScope(java.lang.Exception faultScope)
Specified by:
setFaultScope in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope

setParentExecution

public void setParentExecution(org.objectweb.fractal.api.Component parentExecution)
Specified by:
setParentExecution in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope

setTerminationHandler

public void setTerminationHandler(com.ebmwebsourcing.easyviper.core.api.engine.handler.TerminationHandler th)
Specified by:
setTerminationHandler in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope

getTerminationHandler

public com.ebmwebsourcing.easyviper.core.api.engine.handler.TerminationHandler getTerminationHandler()
Specified by:
getTerminationHandler in interface com.ebmwebsourcing.easyviper.core.api.engine.Scope


Copyright © 2009 eBM WebSourcing. All Rights Reserved.