org.jbpm.executor.commands
Class CDIPrintOutCommand
java.lang.Object
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.
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 |
CDIPrintOutCommand
public CDIPrintOutCommand()
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)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.