public com.ebmwebsourcing.easyviper.core.api.engine.Node createNode(final java.lang.String arg0,final java.lang.Class<? extends com.ebmwebsourcing.easyviper.core.api.engine.behaviour.Behaviour> arg1,final java.util.Map<java.lang.String,java.lang.Object> arg2) throws com.ebmwebsourcing.easyviper.core.api.CoreException { com.ebmwebsourcing.easyviper.core.api.engine.Node ret = service.createNode(arg0,arg1,arg2); return ret; }
public com.ebmwebsourcing.easyviper.core.api.engine.Node createNode(final java.lang.String arg0,final java.lang.Class<? extends com.ebmwebsourcing.easyviper.core.api.engine.behaviour.Behaviour> arg1,final java.util.Map<java.lang.String,java.lang.Object> arg2) throws com.ebmwebsourcing.easyviper.core.api.CoreException { if ( impl == null ) { throw new java.lang.NullPointerException("Trying to invoke a method on a client or server interface whose complementary interface is not bound."); } com.ebmwebsourcing.easyviper.core.api.engine.Node ret = impl.createNode(arg0,arg1,arg2); return ret; }
private Node generateReThrow(final Scope scope, final ReThrow rethrow, final BPELProcess bpelprocess) throws CoreException { this.log.finest("start generate rethrow"); final ReThrowBehaviour reThrowBehaviour = new ReThrowBehaviourImpl(); final Node rethrowNode = scope.createNode(rethrow.getName(), reThrowBehaviour); this.log.finest("end generate rethrow"); return rethrowNode; }
private Node generateEmpty(final Scope scope, final Empty empty, final BPELProcess bpelprocess) throws CoreException { this.log.finest("start generate empty"); final Node emptyNode = scope.createNode(empty.getName(), new EmptyBehaviourImpl()); return emptyNode; }
private Node generateExit(final Scope scope, final Exit exit, final BPELProcess bpelprocess) throws CoreException { this.log.finest("start generate exit"); final Node exitNode = scope.createNode(exit.getName(), new ExitBehaviourImpl()); return exitNode; }
private Node generateExtendedActivity(Scope scope, ExtendedActivity activity, BPELProcess bpelprocess) throws CoreException { Node node = null; if (activity != null) { node = activity.generate(scope); } else { // activity unrecognized but that can be ignored node = scope.createNode(null, new EmptyBehaviourImpl()); } return node; }
public Node generate(Scope scope) throws CoreException { Node behaviourNode = scope.createNode(this.model.getName(), new BreakpointBehaviourImpl()); return behaviourNode; }
public Node createForkPattern(final String name, final List<Node> childNodes, final Scope scope) throws CoreException { Node parentNode = null; if (scope == null) { throw new CoreException("scope cannot be null"); } parentNode = scope.createNode(name, ForkBehaviourImpl.class, null); // link all children to parent if (childNodes != null) { for (final Node children : childNodes) { scope.linkedChildNodeToParent(parentNode, children); } } return parentNode; }
public Node createIfPattern(final String name, final List<ConditionalExpression> expressions, final List<Node> childNodes, final Scope scope) throws CoreException { Node parentNode = null; if (scope == null) { throw new CoreException("scope cannot be null"); } if ((expressions == null) || (expressions.size() == 0) || ((childNodes.size() == expressions.size()) && (childNodes .size() == expressions.size() + 1))) { throw new CoreException("Invalid if pattern"); } // final IfBehaviour ifBehaviour = new IfBehaviourImpl(); // ifBehaviour.setConditions(expressions); // Map<String, Object> context = new HashMap<String, Object>(); context.put("conditions", expressions); parentNode = scope.createNode(name, IfBehaviourImpl.class, context); // link all children to parent if (childNodes != null) { for (final Node children : childNodes) { scope.linkedChildNodeToParent(parentNode, children); } } return parentNode; }
public Node generate(Scope scope) throws CoreException { EchoBehaviour echoBehaviour = new EchoBehaviourImpl(); echoBehaviour.setMessage(this.exp); Node echoNode = scope.createNode(this.model.getName(), echoBehaviour); return echoNode; }
public Node createIfPattern(final String name, final List<ConditionalExpression> expressions, final List<Node> childNodes, final Scope scope) throws CoreException { Node parentNode = null; if (scope == null) { throw new CoreException("scope cannot be null"); } if ((expressions == null) || (expressions.size() == 0) || ((childNodes.size() == expressions.size()) && (childNodes .size() == expressions.size() + 1))) { throw new CoreException("Invalid if pattern"); } final IfBehaviour ifBehaviour = new IfBehaviourImpl(); ifBehaviour.setConditions(expressions); parentNode = scope.createNode(name, ifBehaviour); // link all children to parent if (childNodes != null) { for (final Node children : childNodes) { scope.linked(parentNode, children); } } return parentNode; }
public Node createForkPattern(final String name, final List<Node> childNodes, final Scope scope) throws CoreException { Node parentNode = null; if (scope == null) { throw new CoreException("scope cannot be null"); } parentNode = scope.createNode(name, new ForkBehaviourImpl()); // link all children to parent if (childNodes != null) { for (final Node children : childNodes) { scope.linked(parentNode, children); } } return parentNode; } }
public Node generate(Scope scope) throws CoreException { DebugBehaviour debug = new DebugBehaviourImpl(); debug.setActivate(this.isActivate()); Node behaviourNode = scope.createNode(this.model.getName(), debug); return behaviourNode; }
context.put("triggeringNodes", childNodes.keySet()); parentNode = scope.createNode(name, ExclusiveBehaviourImpl.class, context);
parentNode = scope.createNode(name, severalReceiversBehaviour);
public Node generate(Scope scope) throws CoreException { LoggerBehaviour loggerBehaviour = new LoggerBehaviourImpl(); TExpression expression = new TExpression(); expression.getContent().add(this.getMessage()); BPELStringExpression msg = new BPELStringExpressionImpl(expression, this); loggerBehaviour.setMessage(msg); loggerBehaviour.setLevel(LoggerBehaviour.LEVEL.valueOf(this.getLevel())); Node loggerNode = scope.createNode(this.model.getName(), loggerBehaviour); return loggerNode; }
parentNode = scope.createNode(name, ReceiverBehaviourImpl.class, context);
final Node throwNode = scope.createNode(thrw.getName(), throwBehaviour); return throwNode;
try { if( handlers.size() == 0 ) { com.ebmwebsourcing.easyviper.core.api.engine.Node ret = impl.createNode(arg0,arg1,arg2); return ret;
replyNode = scope.createNode(reply.getName(), send);