]
Paul Robinson updated JBTM-975:
-------------------------------
Fix Version/s: 5.0.0.Final
(was: 5.0.0.M2)
Allow many ServiceRequest methods to have a single set of Lifecycle
methods
---------------------------------------------------------------------------
Key: JBTM-975
URL:
https://issues.jboss.org/browse/JBTM-975
Project: JBoss Transaction Manager
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: TXFramework
Reporter: Paul Robinson
Assignee: Paul Robinson
Labels: TXFramework
Fix For: 5.0.0.Final
By default if only one type of LifecycleClass is specified, or if the default of the
current class is used, then the same LifecycleClass is registered for each @ServiceRequest
method. However, a different instance of the class is registered for each @ServiceRequest
method.
By setting the attribute 'single' on @ParticipantService to 'true' allows
the same instance of the LifeCycle class to be used for all @ServiceRequest methods.
{code}
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface ParticipantService
{
public boolean single() default false;
}
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: