jBPM :: Distribution 6.2.0-SNAPSHOT

org.jbpm.executor.commands
Class CDIPrintOutCommand

java.lang.Object
  extended by org.jbpm.executor.commands.CDIPrintOutCommand
All Implemented Interfaces:
org.kie.internal.executor.api.Command

public class CDIPrintOutCommand
extends Object
implements org.kie.internal.executor.api.Command

Simple command to log the contextual data and return empty results. After attempting to get BeanManager and creating simple CDI bean based on given class name as parameter. Just for demo purpose.


Constructor Summary
CDIPrintOutCommand()
           
 
Method Summary
 org.kie.internal.executor.api.ExecutionResults execute(org.kie.internal.executor.api.CommandContext ctx)
           
protected  Object getParameter(org.kie.internal.executor.api.CommandContext commandContext, String parameterName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDIPrintOutCommand

public CDIPrintOutCommand()
Method Detail

execute

public org.kie.internal.executor.api.ExecutionResults execute(org.kie.internal.executor.api.CommandContext ctx)
Specified by:
execute in interface org.kie.internal.executor.api.Command

getParameter

protected Object getParameter(org.kie.internal.executor.api.CommandContext commandContext,
                              String parameterName)

jBPM :: Distribution 6.2.0-SNAPSHOT

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.