com.centrasite.jaxr
Interface LifecycleExtensionPoint


public interface LifecycleExtensionPoint

A LifecycleExtensionPoint controls the execution of possibly nested transactions.


Method Summary
 ExtensionOperation getOperation()
          Get the operation that is to be executed under the control of this extension point.
 javax.xml.registry.BulkResponse run()
          Run the attached operation under transaction control.
 void setOperation(ExtensionOperation operation)
          Set the operation that is to be executed under the control of this extension point.
 

Method Detail

setOperation

void setOperation(ExtensionOperation operation)
                  throws javax.xml.registry.JAXRException
Set the operation that is to be executed under the control of this extension point.

Parameters:
operation - the operation to be executed
Throws:
javax.xml.registry.JAXRException

getOperation

ExtensionOperation getOperation()
                                throws javax.xml.registry.JAXRException
Get the operation that is to be executed under the control of this extension point.

Returns:
the operation of this extension point
Throws:
javax.xml.registry.JAXRException

run

javax.xml.registry.BulkResponse run()
                                    throws java.lang.Exception
Run the attached operation under transaction control.

Returns:
the BulkResponse with the result of the operation
Throws:
javax.xml.registry.JAXRException
java.lang.Exception