if ( result!=null || method.getReturnType().equals(void.class) ) //interpreted as "redisplay"
{
if ( method.isAnnotationPresent( CreateProcess.class ) )
{
log.trace( "encountered @CreateProcess" );
CreateProcess tag = method.getAnnotation(CreateProcess.class);
BusinessProcess.instance().createProcess( tag.definition() );
}
if ( method.isAnnotationPresent(StartTask.class) )
{
log.trace( "encountered @StartTask" );
BusinessProcess.instance().startTask();