[jbossts-issues] [JBoss JIRA] (JBTM-998) Allow participant lifecycle methods to be declared private

Paul Robinson (Created) (JIRA) jira-events at lists.jboss.org
Fri Dec 9 10:32:40 EST 2011


Allow participant lifecycle methods to be declared private
----------------------------------------------------------

                 Key: JBTM-998
                 URL: https://issues.jboss.org/browse/JBTM-998
             Project: JBoss Transaction Manager
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: TXFramework
    Affects Versions: 5.0.0.M1
            Reporter: Paul Robinson
            Assignee: Paul Robinson
             Fix For: 5.0.0.M2


Currently following lifecycle method (and any others) will never be invoked:

{code}
@Compensate
private void cancelOrder()
{
  ...
}
{code}

This is because it is declared private and thus never seen by the reflection mechanism.

The improvement is to have private methods also considered when searching for lifecycle methods.

--
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