[jbossts-issues] [JBoss JIRA] (JBTM-976) Support multiple lifecycle methods of the same type targeted at the same ServiceRequest
Paul Robinson (Updated) (JIRA)
jira-events at lists.jboss.org
Mon Nov 28 08:27:41 EST 2011
[ https://issues.jboss.org/browse/JBTM-976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Robinson updated JBTM-976:
-------------------------------
Description:
A LifecycleClass implementation should be able to register multiple methods with the same Lifecycele annotation. For example, this would allow more than one compensation method to be triggered.
Example:
{code}
@ServiceRequest()
public void submitOrder(...)
{
...
}
@Compensate
public void cancelOrder()
{
//Cancel the order
}
@Compensate
public void notifyAdmin()
{
//Notify an admin that an order was cancelled.
}
{code}
was:
A LifecycleClass implementation should be able to register multiple methods with the same Lifecycele annotation. For example, this would allow more than one compensation method to be triggered.
Example:
{code}
@ServiceRequest()
public void submitOrder(...)
{
...
}
@Compensate
public void cancelOrder()
{
//Cancel the order
}
@Compensate
public void notifyAdmin()
{
//Notify an admin that an order was cancelled.
}
{quote}
> Support multiple lifecycle methods of the same type targeted at the same ServiceRequest
> ---------------------------------------------------------------------------------------
>
> Key: JBTM-976
> URL: https://issues.jboss.org/browse/JBTM-976
> Project: JBoss Transaction Manager
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: TxBridge
> Reporter: Paul Robinson
> Assignee: Paul Robinson
> Fix For: 5.0.0.M2
>
>
> A LifecycleClass implementation should be able to register multiple methods with the same Lifecycele annotation. For example, this would allow more than one compensation method to be triggered.
> Example:
> {code}
> @ServiceRequest()
> public void submitOrder(...)
> {
> ...
> }
> @Compensate
> public void cancelOrder()
> {
> //Cancel the order
> }
> @Compensate
> public void notifyAdmin()
> {
> //Notify an admin that an order was cancelled.
> }
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossts-issues
mailing list