org.ow2.orchestra.pvm.internal.model
Class ExceptionHandlerSynchronization

java.lang.Object
  extended by org.ow2.orchestra.pvm.internal.model.ExceptionHandlerSynchronization
All Implemented Interfaces:
Serializable, Synchronization, Command<Object>

public class ExceptionHandlerSynchronization
extends Object
implements Synchronization, Command<Object>

See Also:
Serialized Form

Field Summary
protected  CommandService commandService
           
protected  Exception exception
           
protected  ExecutionImpl execution
           
protected  ProcessElementImpl processElement
           
 
Constructor Summary
ExceptionHandlerSynchronization(ExceptionHandlerImpl exceptionHandler, ExecutionImpl execution, Exception exception, ProcessElementImpl processElement, CommandService commandService)
           
 
Method Summary
 void afterCompletion(int status)
           
 void beforeCompletion()
           
 Object execute(Environment environment)
           
 void register(Transaction transaction)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

execution

protected ExecutionImpl execution

processElement

protected ProcessElementImpl processElement

exception

protected Exception exception

commandService

protected CommandService commandService
Constructor Detail

ExceptionHandlerSynchronization

public ExceptionHandlerSynchronization(ExceptionHandlerImpl exceptionHandler,
                                       ExecutionImpl execution,
                                       Exception exception,
                                       ProcessElementImpl processElement,
                                       CommandService commandService)
Method Detail

afterCompletion

public void afterCompletion(int status)
Specified by:
afterCompletion in interface Synchronization

execute

public Object execute(Environment environment)
Specified by:
execute in interface Command<Object>

beforeCompletion

public void beforeCompletion()
Specified by:
beforeCompletion in interface Synchronization

register

public void register(Transaction transaction)


Copyright © 2011 OW2 Consortium. All Rights Reserved.