org.jbpm.client.impl
Class EnvironmentInterceptor

java.lang.Object
  extended by org.jbpm.client.impl.Interceptor
      extended by org.jbpm.client.impl.EnvironmentInterceptor
All Implemented Interfaces:
CommandService

public class EnvironmentInterceptor
extends Interceptor

sets up an environment around the execution of the command.

Author:
Tom Baeyens

Field Summary
protected  EnvironmentFactory environmentFactory
           
 
Fields inherited from class org.jbpm.client.impl.Interceptor
next
 
Constructor Summary
EnvironmentInterceptor()
           
 
Method Summary
<T> T
execute(Command<T> command)
           
 EnvironmentFactory getEnvironmentFactory()
           
 void setEnvironmentFactory(EnvironmentFactory environmentFactory)
           
 
Methods inherited from class org.jbpm.client.impl.Interceptor
getNext, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

environmentFactory

protected EnvironmentFactory environmentFactory
Constructor Detail

EnvironmentInterceptor

public EnvironmentInterceptor()
Method Detail

execute

public <T> T execute(Command<T> command)

getEnvironmentFactory

public EnvironmentFactory getEnvironmentFactory()

setEnvironmentFactory

public void setEnvironmentFactory(EnvironmentFactory environmentFactory)