com.ebmwebsourcing.easyviper.core.api.engine
Interface Scope

All Superinterfaces:
Node, com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent
All Known Subinterfaces:
Process

public interface Scope
extends Node

Author:
Nicolas Salatge - eBM WebSourcing

Method Summary
 Execution createExecution(java.lang.String execName)
           
 Node createNode(java.lang.String nodeName, Behaviour behaviour)
           
 void deleteExecution(Execution execution)
           
 void end(boolean clean)
           
<B extends Behaviour>
java.util.List<B>
findBehaviours(java.lang.Class<B> behaviourClass)
           
 java.util.List<CorrelationGroup> findCorrelationGroups(java.lang.String name)
           
 Endpoint findEndpoint(java.lang.Object key)
           
 java.lang.Object findEndpointKey(Endpoint edp)
           
 Variable findVariable(javax.xml.namespace.QName name)
           
 java.util.List<Node> getAllNodes()
           
 java.util.List<Scope> getAllScopes()
           
 java.util.List<CorrelationGroup> getCorrelationGroups()
           
 java.util.Map<java.lang.Object,Endpoint> getEndpoints()
           
 java.util.Map<Fault,Scope> getExceptions()
           
 Node getInitialNode()
           
 Node getNodeByName(java.lang.String name)
           
 Execution getParentExecution()
           
 Scope getParentScope()
           
 Process getProcess()
           
 TerminationHandler getTerminationHandler()
           
 java.util.Map<javax.xml.namespace.QName,Variable> getVariables()
           
 java.lang.Exception isFaultScope()
           
 void linkedBrotherNodes(Node sourceNode, Node targetNode)
           
 void linkedChildNodeToParent(Node parentNode, Node childNode)
           
 void linkedExecutableElement2Execution(Node source, Execution exe)
           
 void linkedExecution2ExecutableElement(Execution exe, Node target)
           
 void linkedNodeAndFunctionnalBehaviour(Node node, Behaviour behaviour)
           
 void linkInitialNodeAndExecution()
           
 boolean removeNode(Node node)
           
 void setExceptions(java.util.Map<Fault,Scope> exceptions)
           
 void setFaultScope(java.lang.Exception faultScope)
           
 void setInitialNode(Node initial)
           
 void setParentExecution(org.objectweb.fractal.api.Component parentExecution)
           
 void setTerminationHandler(TerminationHandler th)
           
 void setVariable(Variable v)
           
 void stopAllExecutions()
           
 Node unlinkBrotherNodes(Node sourceNode, Node targetNode)
           
 void unlinkedNodeAndExecution(Node targetNode, Execution execution)
           
 void unlinkedNodeAndFunctionnalBehaviour(Node node, Behaviour behaviour)
           
 
Methods inherited from interface com.ebmwebsourcing.easyviper.core.api.engine.Node
execute, getBehaviour, getChildNodes, getExecution, getIncomingNodes, getLogger, getOutgoingNodes, getParentNode, selectDefaultNextTarget, setActivity, setExecution, setLog
 
Methods inherited from interface com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent
createSCAComponent, destroySCAComponent, getComponent, getInitializationContext, getName, setInitializationContext, setName, startSCAComponent, stopSCAComponent
 

Method Detail

createExecution

Execution createExecution(java.lang.String execName)
                          throws CoreException
Throws:
CoreException

getParentExecution

Execution getParentExecution()
                             throws CoreException
Throws:
CoreException

setParentExecution

void setParentExecution(org.objectweb.fractal.api.Component parentExecution)

createNode

Node createNode(java.lang.String nodeName,
                Behaviour behaviour)
                throws CoreException
Throws:
CoreException

removeNode

boolean removeNode(Node node)
                   throws CoreException
Throws:
CoreException

deleteExecution

void deleteExecution(Execution execution)
                     throws CoreException
Throws:
CoreException

end

void end(boolean clean)
         throws CoreException
Throws:
CoreException

linkedBrotherNodes

void linkedBrotherNodes(Node sourceNode,
                        Node targetNode)
                        throws CoreException
Throws:
CoreException

linkedChildNodeToParent

void linkedChildNodeToParent(Node parentNode,
                             Node childNode)
                             throws CoreException
Throws:
CoreException

unlinkBrotherNodes

Node unlinkBrotherNodes(Node sourceNode,
                        Node targetNode)
                        throws CoreException
Throws:
CoreException

linkedExecution2ExecutableElement

void linkedExecution2ExecutableElement(Execution exe,
                                       Node target)
                                       throws CoreException
Throws:
CoreException

linkedExecutableElement2Execution

void linkedExecutableElement2Execution(Node source,
                                       Execution exe)
                                       throws CoreException
Throws:
CoreException

linkedNodeAndFunctionnalBehaviour

void linkedNodeAndFunctionnalBehaviour(Node node,
                                       Behaviour behaviour)
                                       throws CoreException
Throws:
CoreException

unlinkedNodeAndFunctionnalBehaviour

void unlinkedNodeAndFunctionnalBehaviour(Node node,
                                         Behaviour behaviour)
                                         throws CoreException
Throws:
CoreException

getAllNodes

java.util.List<Node> getAllNodes()
                                 throws CoreException
Throws:
CoreException

getAllScopes

java.util.List<Scope> getAllScopes()
                                   throws CoreException
Throws:
CoreException

getNodeByName

Node getNodeByName(java.lang.String name)
                   throws CoreException
Throws:
CoreException

stopAllExecutions

void stopAllExecutions()
                       throws CoreException
Throws:
CoreException

getInitialNode

Node getInitialNode()
                    throws CoreException
Throws:
CoreException

setInitialNode

void setInitialNode(Node initial)
                    throws CoreException
Throws:
CoreException

getVariables

java.util.Map<javax.xml.namespace.QName,Variable> getVariables()

getEndpoints

java.util.Map<java.lang.Object,Endpoint> getEndpoints()

getCorrelationGroups

java.util.List<CorrelationGroup> getCorrelationGroups()

findVariable

Variable findVariable(javax.xml.namespace.QName name)
                      throws CoreException
Throws:
CoreException

findBehaviours

<B extends Behaviour> java.util.List<B> findBehaviours(java.lang.Class<B> behaviourClass)
                                                   throws CoreException
Throws:
CoreException

findEndpoint

Endpoint findEndpoint(java.lang.Object key)
                      throws CoreException
Throws:
CoreException

findEndpointKey

java.lang.Object findEndpointKey(Endpoint edp)

findCorrelationGroups

java.util.List<CorrelationGroup> findCorrelationGroups(java.lang.String name)
                                                       throws CoreException
Throws:
CoreException

setVariable

void setVariable(Variable v)
                 throws CoreException
Throws:
CoreException

getParentScope

Scope getParentScope()
                     throws CoreException
Throws:
CoreException

getProcess

Process getProcess()
                   throws CoreException
Throws:
CoreException

linkInitialNodeAndExecution

void linkInitialNodeAndExecution()
                                 throws CoreException
Throws:
CoreException

unlinkedNodeAndExecution

void unlinkedNodeAndExecution(Node targetNode,
                              Execution execution)
                              throws CoreException
Throws:
CoreException

getExceptions

java.util.Map<Fault,Scope> getExceptions()

setExceptions

void setExceptions(java.util.Map<Fault,Scope> exceptions)

isFaultScope

java.lang.Exception isFaultScope()

setFaultScope

void setFaultScope(java.lang.Exception faultScope)

setTerminationHandler

void setTerminationHandler(TerminationHandler th)

getTerminationHandler

TerminationHandler getTerminationHandler()


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