A C D E F G H I J M N O P R S T V W

A

AbstractActivity - Class in org.apache.servicemix.beanflow
A useful base class which allows simple bean activities to be written easily.
AbstractActivity() - Constructor for class org.apache.servicemix.beanflow.AbstractActivity
 
Activity - Interface in org.apache.servicemix.beanflow
Represents an activity (step) in a workflow written typically using regular Java code.
Activity.Transitions - Enum in org.apache.servicemix.beanflow
The core transition states of the activity
ActivityHelper - Class in org.apache.servicemix.beanflow
Some helper methods for working with activities
ActivityHelper() - Constructor for class org.apache.servicemix.beanflow.ActivityHelper
 
ActivityTestSupport - Class in org.apache.servicemix.beanflow.util
 
ActivityTestSupport() - Constructor for class org.apache.servicemix.beanflow.util.ActivityTestSupport
 
addListeners(Runnable) - Method in class org.apache.servicemix.beanflow.AbstractActivity
 
addRunnable(Runnable) - Method in class org.apache.servicemix.beanflow.DefaultState
 
addRunnable(Runnable) - Method in interface org.apache.servicemix.beanflow.State
Add a task to be executed if the state changes
addRunnable(Runnable) - Method in class org.apache.servicemix.beanflow.support.AsynchronousNotifier
 
addRunnable(Runnable) - Method in interface org.apache.servicemix.beanflow.support.Notifier
Adds a new listener
addRunnable(Runnable) - Method in class org.apache.servicemix.beanflow.support.SynchronousNotifier
 
assertFailed(Activity) - Method in class org.apache.servicemix.beanflow.util.ActivityTestSupport
 
assertNotFailed(Activity) - Method in class org.apache.servicemix.beanflow.util.ActivityTestSupport
 
assertStarted(Activity) - Method in class org.apache.servicemix.beanflow.util.ActivityTestSupport
 
assertStopped(Activity) - Method in class org.apache.servicemix.beanflow.util.ActivityTestSupport
 
AsynchronousActivity - Class in org.apache.servicemix.beanflow
A simple activity which executes a runnable task in another thread and then completes.
AsynchronousActivity(Executor, Runnable) - Constructor for class org.apache.servicemix.beanflow.AsynchronousActivity
 
AsynchronousNotifier - Class in org.apache.servicemix.beanflow.support
A Notifier which asynchronously notifies listeners to avoid large amounts of deep recursion in complex state models and activities.
AsynchronousNotifier(Executor) - Constructor for class org.apache.servicemix.beanflow.support.AsynchronousNotifier
 
AsynchronousNotifier(Executor, Notifier) - Constructor for class org.apache.servicemix.beanflow.support.AsynchronousNotifier
 

C

calculateQuorum(int) - Method in class org.apache.servicemix.beanflow.JoinQuorum
 
call() - Method in class org.apache.servicemix.beanflow.support.MethodReflector
 
CallableActivity<T> - Class in org.apache.servicemix.beanflow
An asynchronous activity which is capable of returning a future result
CallableActivity(Executor, Callable<T>) - Constructor for class org.apache.servicemix.beanflow.CallableActivity
 
CallableActivity(Executor, FutureTask<T>) - Constructor for class org.apache.servicemix.beanflow.CallableActivity
 
CallablesFactory<T> - Interface in org.apache.servicemix.beanflow.support
A factory which creates a collection of Callable objects
cancelFork(Activity) - Method in class org.apache.servicemix.beanflow.JoinSupport
 
compareAndSet(T, T) - Method in class org.apache.servicemix.beanflow.DefaultState
 
compareAndSet(T, T) - Method in interface org.apache.servicemix.beanflow.State
If the current state is the expected value then set it to the given new value and return true otherwise return false
createActivity() - Method in class org.apache.servicemix.beanflow.util.ParallelBean
 
createActivity() - Method in class org.apache.servicemix.beanflow.util.ParallelTestCase
 
createCallables() - Method in interface org.apache.servicemix.beanflow.support.CallablesFactory
 
createCallables() - Method in class org.apache.servicemix.beanflow.support.FindCallableMethods
 
createExecutor() - Method in class org.apache.servicemix.beanflow.util.ParallelBean
 
createExecutor() - Method in class org.apache.servicemix.beanflow.util.ParallelTestCase
 
createGoToStepTask(T) - Method in class org.apache.servicemix.beanflow.Workflow
Creates a task which will move to the given step
createJoin() - Method in class org.apache.servicemix.beanflow.util.ParallelBean
 
createJoin() - Method in class org.apache.servicemix.beanflow.util.ParallelTestCase
 

D

DefaultState<T> - Class in org.apache.servicemix.beanflow
A default implementation where the state changes are thread safe and the notifications are made outside of the synchronized block to be reentrant.
DefaultState() - Constructor for class org.apache.servicemix.beanflow.DefaultState
 
DefaultState(T) - Constructor for class org.apache.servicemix.beanflow.DefaultState
 
DefaultState(Notifier) - Constructor for class org.apache.servicemix.beanflow.DefaultState
 
DefaultState(T, Notifier) - Constructor for class org.apache.servicemix.beanflow.DefaultState
 
doStart() - Method in class org.apache.servicemix.beanflow.AbstractActivity
 
doStart() - Method in class org.apache.servicemix.beanflow.AsynchronousActivity
 
doStart() - Method in class org.apache.servicemix.beanflow.JoinSupport
 
doStart() - Method in class org.apache.servicemix.beanflow.ParallelActivity
 
doStop() - Method in class org.apache.servicemix.beanflow.AbstractActivity
 

E

equals(Object, Object) - Static method in class org.apache.servicemix.beanflow.DefaultState
Returns true if the two values are equal, handling null pointers gracefully
execute(Workflow<T>) - Method in interface org.apache.servicemix.beanflow.WorkflowStep
 
executeNamedStep(String, Workflow<T>) - Method in class org.apache.servicemix.beanflow.support.ReflectionInterpreter
 
executeStep(T, Workflow<T>) - Method in interface org.apache.servicemix.beanflow.support.Interpreter
Executes the given step on the workflow
executeStep(T, Workflow<T>) - Method in class org.apache.servicemix.beanflow.support.ReflectionInterpreter
 

F

fail(String) - Method in class org.apache.servicemix.beanflow.AbstractActivity
Stops the activity with a failed state, giving the reason for the failure
fail(String, Throwable) - Method in class org.apache.servicemix.beanflow.AbstractActivity
Stops the activity with a failed state with the given reason and exception.
fail(String) - Method in interface org.apache.servicemix.beanflow.Activity
Stops the activity with a failed state, giving the reason for the failure
fail(String) - Method in class org.apache.servicemix.beanflow.ProxyActivity
 
FieldIntrospector - Class in org.apache.servicemix.beanflow.support
Uses reflection to find all of the fields which implement State
FieldIntrospector() - Constructor for class org.apache.servicemix.beanflow.support.FieldIntrospector
 
FindCallableMethods<T> - Class in org.apache.servicemix.beanflow.support
A helper class to create callables from an object using methods with a matching annotation.
FindCallableMethods(Object) - Constructor for class org.apache.servicemix.beanflow.support.FindCallableMethods
 
FindCallableMethods(Object, Class) - Constructor for class org.apache.servicemix.beanflow.support.FindCallableMethods
 
FindCallableMethods(Object, List<Class>) - Constructor for class org.apache.servicemix.beanflow.support.FindCallableMethods
 
fork(Activity) - Method in class org.apache.servicemix.beanflow.JoinSupport
 
fork(TimeoutActivity...) - Method in class org.apache.servicemix.beanflow.Workflow
Forks one or more child activities
fork(long, TimeoutActivity...) - Method in class org.apache.servicemix.beanflow.Workflow
Forks one or more child activities

G

get() - Method in class org.apache.servicemix.beanflow.DefaultState
 
get() - Method in interface org.apache.servicemix.beanflow.State
Returns the current value of the state
getActivity() - Method in class org.apache.servicemix.beanflow.util.ParallelBean
 
getActivity() - Method in class org.apache.servicemix.beanflow.util.ParallelTestCase
 
getAndSet(T) - Method in class org.apache.servicemix.beanflow.DefaultState
 
getAndSet(T) - Method in interface org.apache.servicemix.beanflow.State
Sets the state to a new value and return the old value
getAnnotations() - Method in class org.apache.servicemix.beanflow.support.FindCallableMethods
Returns the annotations used to detect callable methods
getCountDownLatch() - Method in class org.apache.servicemix.beanflow.ParallelActivity
 
getEnumValues(Class) - Static method in class org.apache.servicemix.beanflow.Workflow
 
getExecutor() - Method in class org.apache.servicemix.beanflow.util.ParallelBean
 
getExecutor() - Method in class org.apache.servicemix.beanflow.util.ParallelTestCase
 
getFailedException() - Method in class org.apache.servicemix.beanflow.AbstractActivity
Returns the exception which caused the failure
getFailedException() - Method in interface org.apache.servicemix.beanflow.Activity
Returns the exception which caused the failure
getFailedException() - Method in class org.apache.servicemix.beanflow.ProxyActivity
 
getFailedReason() - Method in class org.apache.servicemix.beanflow.AbstractActivity
Returns the reason for the failure
getFailedReason() - Method in interface org.apache.servicemix.beanflow.Activity
If this activity has failed then return a reason for the failure
getFailedReason() - Method in class org.apache.servicemix.beanflow.ProxyActivity
 
getFirstStep(Class) - Static method in class org.apache.servicemix.beanflow.Workflow
 
getFuture() - Method in class org.apache.servicemix.beanflow.CallableActivity
Returns the future object for the result value of the callable task
getFutures() - Method in class org.apache.servicemix.beanflow.ParallelActivity
 
getIntrospector() - Method in class org.apache.servicemix.beanflow.AbstractActivity
 
getJoin() - Method in class org.apache.servicemix.beanflow.util.ParallelBean
 
getJoin() - Method in class org.apache.servicemix.beanflow.util.ParallelTestCase
 
getMaxThreadPoolSize() - Method in class org.apache.servicemix.beanflow.util.ParallelTestCase
 
getProxy() - Method in class org.apache.servicemix.beanflow.ProxyActivity
 
getState() - Method in class org.apache.servicemix.beanflow.AbstractActivity
Returns the current running state of this activity
getState() - Method in interface org.apache.servicemix.beanflow.Activity
Returns the current running state of this activity
getState() - Method in class org.apache.servicemix.beanflow.ProxyActivity
 
getTimeoutTask() - Method in class org.apache.servicemix.beanflow.TimeoutActivity
Returns a timer task for the timeout event
goToNextSequence(T, Workflow<T>) - Method in class org.apache.servicemix.beanflow.support.ReflectionInterpreter
If the workflow has been told to go to another step do nothing, else lets go to the next enumeration if we are not suspended, otherwise lets suspend.

H

handleStepResult(String, Workflow, Object) - Method in class org.apache.servicemix.beanflow.support.ReflectionInterpreter
 

I

Interpreter<T> - Interface in org.apache.servicemix.beanflow.support
 
Introspector - Interface in org.apache.servicemix.beanflow.support
A strategy for introspecting state objects of a POJO such as using reflection or introspection
is(T) - Method in class org.apache.servicemix.beanflow.DefaultState
Returns true if the current value is equal to the given value
is(T) - Method in interface org.apache.servicemix.beanflow.State
Returns true if the current value is equal to the given value
isAny(T...) - Method in class org.apache.servicemix.beanflow.DefaultState
 
isAny(T...) - Method in interface org.apache.servicemix.beanflow.State
Return true if the current value is equal to any of the given values
isFailed() - Method in class org.apache.servicemix.beanflow.AbstractActivity
 
isFailed() - Method in interface org.apache.servicemix.beanflow.Activity
Returns true if the activity has failed to complete succesfully
isFailed() - Method in class org.apache.servicemix.beanflow.ProxyActivity
 
isFailFast() - Method in class org.apache.servicemix.beanflow.JoinAll
 
isNextStepAvailable() - Method in class org.apache.servicemix.beanflow.Workflow
Returns true if this workflow has a next step to execute
isStopped() - Method in class org.apache.servicemix.beanflow.AbstractActivity
 
isStopped() - Method in interface org.apache.servicemix.beanflow.Activity
Returns true if the activity has stopped running either successfully or if it failed
isStopped() - Method in class org.apache.servicemix.beanflow.ProxyActivity
 
isSuspended() - Method in class org.apache.servicemix.beanflow.Workflow
Returns true if the workflow is in a suspended state where it is waiting for an external event to cause the workflow to resume
isTimedOut() - Method in class org.apache.servicemix.beanflow.TimeoutActivity
Returns true if the flow timed out
isValidMethod(Object, Method) - Method in class org.apache.servicemix.beanflow.support.FindCallableMethods
 
isValidStep(Object) - Method in class org.apache.servicemix.beanflow.support.ReflectionInterpreter
Returns true if the step object is capable of being run directly as opposed to via reflection
iterator(Object) - Method in class org.apache.servicemix.beanflow.support.FieldIntrospector
 
iterator(Object) - Method in interface org.apache.servicemix.beanflow.support.Introspector
 

J

join() - Method in class org.apache.servicemix.beanflow.AbstractActivity
A helper method to block the calling thread until the activity completes
join() - Method in interface org.apache.servicemix.beanflow.Activity
A helper method to block the calling thread until the activity completes.
join() - Method in class org.apache.servicemix.beanflow.ProxyActivity
 
join(JoinSupport, T, long) - Method in class org.apache.servicemix.beanflow.Workflow
Performs a join with the given join activity condition, advancing to the specified joinedStep when the join takes place using the given timeout to the join
JoinAll - Class in org.apache.servicemix.beanflow
Represents a activity which joins on the completion of a collection of child activities.
JoinAll() - Constructor for class org.apache.servicemix.beanflow.JoinAll
 
JoinAll(Activity...) - Constructor for class org.apache.servicemix.beanflow.JoinAll
 
JoinAll(List<Activity>) - Constructor for class org.apache.servicemix.beanflow.JoinAll
 
joinAll(T, long, Activity...) - Method in class org.apache.servicemix.beanflow.Workflow
Creates a join such that when all of the activities are completed the given step will be executed
JoinQuorum - Class in org.apache.servicemix.beanflow
A activity which completes when quorum of the child activities are completed successfully (or there are too many child activities failed to achieve quorum).
JoinQuorum() - Constructor for class org.apache.servicemix.beanflow.JoinQuorum
 
JoinQuorum(Activity...) - Constructor for class org.apache.servicemix.beanflow.JoinQuorum
 
JoinQuorum(List<Activity>) - Constructor for class org.apache.servicemix.beanflow.JoinQuorum
 
JoinSupport - Class in org.apache.servicemix.beanflow
A useful base class for a activity which joins on the success of a collection of child activities.
JoinSupport() - Constructor for class org.apache.servicemix.beanflow.JoinSupport
 
JoinSupport(List<Activity>) - Constructor for class org.apache.servicemix.beanflow.JoinSupport
 
JoinSupport(Activity...) - Constructor for class org.apache.servicemix.beanflow.JoinSupport
 

M

MethodReflector<T> - Class in org.apache.servicemix.beanflow.support
A reflection based implementation of Callable
MethodReflector(Object, Method) - Constructor for class org.apache.servicemix.beanflow.support.MethodReflector
 
MethodReflector(Object, Method, Object[]) - Constructor for class org.apache.servicemix.beanflow.support.MethodReflector
 

N

newParallelMethodActivity(Executor, Object) - Static method in class org.apache.servicemix.beanflow.ParallelActivity
A helper method to create a new ParallelActivity which invokes a number of methods on a POJO in parallel and then joins on them all completing
newParallelMethodActivity(JoinSupport, Executor, Object) - Static method in class org.apache.servicemix.beanflow.ParallelActivity
A helper method to create a new ParallelActivity which invokes a number of methods on a POJO in parallel and then performs a custom join
nextStep() - Method in class org.apache.servicemix.beanflow.Workflow
 
NO_ARGUMENTS - Static variable in class org.apache.servicemix.beanflow.support.MethodReflector
 
NO_PARAMETER_ARGUMENTS - Static variable in class org.apache.servicemix.beanflow.support.ReflectionInterpreter
 
NO_TYPE_ARGUMENTS - Static variable in class org.apache.servicemix.beanflow.support.ReflectionInterpreter
 
Notifier - Interface in org.apache.servicemix.beanflow.support
A strategy for notifying listeners when state changes.

O

onChildStateChange(int, int, int) - Method in class org.apache.servicemix.beanflow.JoinAll
Decide whether or not we are done based on the number of children, the number of child activities stopped and the number of failed activities
onChildStateChange(int, int, int) - Method in class org.apache.servicemix.beanflow.JoinQuorum
 
onChildStateChange(int, int, int) - Method in class org.apache.servicemix.beanflow.JoinSupport
Decide whether or not we are done based on the number of children, the number of child activities stopped and the number of failed activities
onChildStateChange(int, int, int) - Method in class org.apache.servicemix.beanflow.Workflow
 
onFailure(Runnable) - Method in class org.apache.servicemix.beanflow.AbstractActivity
A helper method to add a task to fire when the activity fails
onFailure(Runnable) - Method in interface org.apache.servicemix.beanflow.Activity
A helper method to add a task to fire when the activity fails
onFailure(Runnable) - Method in class org.apache.servicemix.beanflow.ProxyActivity
 
onStepException(String, Exception) - Method in class org.apache.servicemix.beanflow.Workflow
Called when a step fails to execute
onStop(Runnable) - Method in class org.apache.servicemix.beanflow.AbstractActivity
A helper method to add a task to fire when the activity is completed
onStop(Runnable) - Method in interface org.apache.servicemix.beanflow.Activity
A helper method to add a task to fire when the activity is completed
onStop(Runnable) - Method in class org.apache.servicemix.beanflow.ProxyActivity
 
onTimedOut() - Method in class org.apache.servicemix.beanflow.TimeoutActivity
Called when the timeout event occurs
onValidStateChange() - Method in class org.apache.servicemix.beanflow.JoinSupport
 
onValidStateChange() - Method in class org.apache.servicemix.beanflow.TimeoutActivity
A hook so that derived classes can ignore whether the flow is started or timed out and instead focus on the other state
org.apache.servicemix.beanflow - package org.apache.servicemix.beanflow
The core APIs for writing Activities or Workflows using beans and POJOs
org.apache.servicemix.beanflow.annotations - package org.apache.servicemix.beanflow.annotations
Annotations for adding metadata to beans for their use within activities or workflows
org.apache.servicemix.beanflow.support - package org.apache.servicemix.beanflow.support
Various pluggable strategies such as for introspecting the state objects within a bean or performing different notification policies
org.apache.servicemix.beanflow.util - package org.apache.servicemix.beanflow.util
A number of utility classes for testing.

P

Parallel - Annotation Type in org.apache.servicemix.beanflow.annotations
Used to mark a parallel method which should be executed on an activity in a separate thread
ParallelActivity<T> - Class in org.apache.servicemix.beanflow
An activity which invokes a collection of Callable methods.
ParallelActivity(JoinSupport, Executor, CallablesFactory<T>) - Constructor for class org.apache.servicemix.beanflow.ParallelActivity
 
ParallelActivity(JoinSupport, Executor, List<Callable<T>>) - Constructor for class org.apache.servicemix.beanflow.ParallelActivity
 
ParallelActivity(JoinSupport, List<CallableActivity<T>>) - Constructor for class org.apache.servicemix.beanflow.ParallelActivity
 
ParallelBean - Class in org.apache.servicemix.beanflow.util
Represents a POJO which contains Parallel annotations to specify the methods to be executed concurrently.
ParallelBean() - Constructor for class org.apache.servicemix.beanflow.util.ParallelBean
 
ParallelBean(Executor) - Constructor for class org.apache.servicemix.beanflow.util.ParallelBean
 
ParallelBean(Executor, JoinSupport) - Constructor for class org.apache.servicemix.beanflow.util.ParallelBean
 
ParallelTestCase - Class in org.apache.servicemix.beanflow.util
A JUnit test case which supports the Parallel annotations for running concurrent threads in a test case along with the methods ParallelTestCase.sync() or the ParallelTestCase.sync(long) which provide a simple cross-thread synchronisation mechanism
ParallelTestCase() - Constructor for class org.apache.servicemix.beanflow.util.ParallelTestCase
 
ProxyActivity - Class in org.apache.servicemix.beanflow
A simple proxy to an underlying activity making it easy to compose activities together
ProxyActivity(Activity) - Constructor for class org.apache.servicemix.beanflow.ProxyActivity
 

R

ReflectionInterpreter<T> - Class in org.apache.servicemix.beanflow.support
An interpreter strategy which detects step objects of types
ReflectionInterpreter() - Constructor for class org.apache.servicemix.beanflow.support.ReflectionInterpreter
 
removeListeners(Runnable) - Method in class org.apache.servicemix.beanflow.AbstractActivity
 
removeRunnable(Runnable) - Method in class org.apache.servicemix.beanflow.DefaultState
 
removeRunnable(Runnable) - Method in interface org.apache.servicemix.beanflow.State
Remove a task
removeRunnable(Runnable) - Method in class org.apache.servicemix.beanflow.support.AsynchronousNotifier
 
removeRunnable(Runnable) - Method in interface org.apache.servicemix.beanflow.support.Notifier
removes a listener
removeRunnable(Runnable) - Method in class org.apache.servicemix.beanflow.support.SynchronousNotifier
 
resetCountDownLatch() - Method in class org.apache.servicemix.beanflow.ParallelActivity
 
run() - Method in class org.apache.servicemix.beanflow.support.AsynchronousNotifier
 
run() - Method in interface org.apache.servicemix.beanflow.support.Notifier
Causes the listeners to be notified
run() - Method in class org.apache.servicemix.beanflow.support.SynchronousNotifier
 
run() - Method in class org.apache.servicemix.beanflow.TimeoutActivity
 
run() - Method in class org.apache.servicemix.beanflow.Workflow
 

S

scheduleTimeout(Timer, long) - Method in class org.apache.servicemix.beanflow.TimeoutActivity
Schedules the flow to timeout at the given value
set(T) - Method in class org.apache.servicemix.beanflow.DefaultState
 
set(T) - Method in interface org.apache.servicemix.beanflow.State
Sets the current value
setExecutor(Executor) - Method in class org.apache.servicemix.beanflow.util.ParallelBean
 
setExecutor(Executor) - Method in class org.apache.servicemix.beanflow.util.ParallelTestCase
 
setFailFast(boolean) - Method in class org.apache.servicemix.beanflow.JoinAll
If fail fast mode is enabled then this activity fails as soon as a child activity fails.
setIntrospector(Introspector) - Method in class org.apache.servicemix.beanflow.AbstractActivity
 
setJoin(JoinSupport) - Method in class org.apache.servicemix.beanflow.util.ParallelBean
 
setJoin(JoinSupport) - Method in class org.apache.servicemix.beanflow.util.ParallelTestCase
 
setMaxThreadPoolSize(int) - Method in class org.apache.servicemix.beanflow.util.ParallelTestCase
 
setNextStep(T) - Method in class org.apache.servicemix.beanflow.Workflow
Sets the next step to be executed when the current step completes
setProxy(Activity) - Method in class org.apache.servicemix.beanflow.ProxyActivity
 
sleep(int) - Method in class org.apache.servicemix.beanflow.util.ParallelBean
 
sleep(int) - Method in class org.apache.servicemix.beanflow.util.ParallelTestCase
 
start() - Method in class org.apache.servicemix.beanflow.AbstractActivity
Starts the activity
start() - Method in interface org.apache.servicemix.beanflow.Activity
Starts the activity.
start(Activity...) - Static method in class org.apache.servicemix.beanflow.ActivityHelper
Ensures that all the activities are started
start(List<Activity>) - Static method in class org.apache.servicemix.beanflow.ActivityHelper
Ensures that all the activities are started
start() - Method in class org.apache.servicemix.beanflow.ParallelActivity
 
start() - Method in class org.apache.servicemix.beanflow.ProxyActivity
 
start() - Method in class org.apache.servicemix.beanflow.util.ParallelBean
 
startActivity(Activity, long) - Method in class org.apache.servicemix.beanflow.util.ActivityTestSupport
 
startWithTimeout(Timer, long) - Method in interface org.apache.servicemix.beanflow.Activity
For activities that support timeout based operation this helper method starts the activity and registers the timeout
startWithTimeout(Timer, long) - Method in class org.apache.servicemix.beanflow.ParallelActivity
 
startWithTimeout(Timer, long) - Method in class org.apache.servicemix.beanflow.ProxyActivity
 
startWithTimeout(Timer, long) - Method in class org.apache.servicemix.beanflow.TimeoutActivity
 
State<T> - Interface in org.apache.servicemix.beanflow
Represents a piece of state which can be accessed in a multi threaded way rather like AtomicReference but which also supports the use of listeners to be notified when the state changes.
stop() - Method in class org.apache.servicemix.beanflow.AbstractActivity
Stops the activity
stop() - Method in interface org.apache.servicemix.beanflow.Activity
Stops the activity, setting the status to Stopped
stop(Activity...) - Static method in class org.apache.servicemix.beanflow.ActivityHelper
Ensures that all the activities are stopped
stop(List<Activity>) - Static method in class org.apache.servicemix.beanflow.ActivityHelper
Ensures that all the activities are stopped
stop() - Method in class org.apache.servicemix.beanflow.ProxyActivity
 
suspend() - Method in class org.apache.servicemix.beanflow.Workflow
Suspends the workflow processing.
sync() - Method in class org.apache.servicemix.beanflow.ParallelActivity
 
sync(long) - Method in class org.apache.servicemix.beanflow.ParallelActivity
 
sync() - Method in class org.apache.servicemix.beanflow.util.ParallelBean
 
sync(long) - Method in class org.apache.servicemix.beanflow.util.ParallelBean
 
sync() - Method in class org.apache.servicemix.beanflow.util.ParallelTestCase
Blocks the parallel thread until all the other parallel threads have reached the same synchronisation point before continuing.
sync(long) - Method in class org.apache.servicemix.beanflow.util.ParallelTestCase
Blocks up to the give timeout value in the parallel thread until all the other parallel threads have reached the same synchronisation point before continuing.
SynchronousNotifier - Class in org.apache.servicemix.beanflow.support
A default Notifier which just performs the notifications synchronously as the state changes.
SynchronousNotifier() - Constructor for class org.apache.servicemix.beanflow.support.SynchronousNotifier
 

T

testParallelMethods() - Method in class org.apache.servicemix.beanflow.util.ParallelTestCase
 
timeout - Variable in class org.apache.servicemix.beanflow.util.ActivityTestSupport
 
TimeoutActivity - Class in org.apache.servicemix.beanflow
A really simple flow which if the flow is not started within a specific timeout period then the flow fails.
TimeoutActivity() - Constructor for class org.apache.servicemix.beanflow.TimeoutActivity
 
timer - Variable in class org.apache.servicemix.beanflow.util.ActivityTestSupport
 
toState(Object) - Method in class org.apache.servicemix.beanflow.support.FieldIntrospector
Converts the given value to a state object or returns null if it can not be converted
toString() - Method in class org.apache.servicemix.beanflow.DefaultState
 

V

validateStepsExist(Object[], Workflow<T>) - Method in interface org.apache.servicemix.beanflow.support.Interpreter
Validates that all the available step values (enumeration values) are available on the given workflow
validateStepsExist(Object[], Workflow<T>) - Method in class org.apache.servicemix.beanflow.support.ReflectionInterpreter
 
validateStepsExist(Class) - Method in class org.apache.servicemix.beanflow.Workflow
Lets validate the steps exist on an enumerated type.
valueOf(String) - Static method in enum org.apache.servicemix.beanflow.Activity.Transitions
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.servicemix.beanflow.Activity.Transitions
Returns an array containing the constants of this enum type, in the order they're declared.

W

Workflow<T> - Class in org.apache.servicemix.beanflow
An activity which implements a more traditional workflow model where each method represents a transition.
Workflow(Class<T>) - Constructor for class org.apache.servicemix.beanflow.Workflow
TODO is there a way to reference the parameter type of this class? public Workflow() { this(T); }
Workflow(T) - Constructor for class org.apache.servicemix.beanflow.Workflow
 
Workflow(Executor, T) - Constructor for class org.apache.servicemix.beanflow.Workflow
 
Workflow(Executor, Interpreter, State<T>) - Constructor for class org.apache.servicemix.beanflow.Workflow
 
WorkflowStep<T> - Interface in org.apache.servicemix.beanflow
Represents an arbitrary step on a workflow object which can be used by enumerations to define the workflow transitions and what happens at each transition.

A C D E F G H I J M N O P R S T V W

Copyright © 2005-2006 Apache Software Foundation. All Rights Reserved.