Skip to main content

[ejb-spec issues] [JIRA] Resolved: (EJB_SPEC-97) LifecycleCallback method-intf type should not include bean constructor

  • From: "marina vatkina (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [ejb-spec issues] [JIRA] Resolved: (EJB_SPEC-97) LifecycleCallback method-intf type should not include bean constructor
  • Date: Fri, 29 Mar 2013 23:01:53 +0000 (GMT+00:00)
  • Auto-submitted: auto-generated


     [ 
http://java.net/jira/browse/EJB_SPEC-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

marina vatkina resolved EJB_SPEC-97.
------------------------------------

    Resolution: Fixed

Fixed in rev 61044:

svn diff
Index: src/ejb-jar_3_2.xsds
===================================================================
--- src/ejb-jar_3_2.xsds        (revision 60392)
+++ src/ejb-jar_3_2.xsds        (working copy)
@@ -2123,10 +2123,13 @@
                 timeout callback methods
                 message-driven bean message listener method
 
-             This style may be used for stateful session bean lifecycle 
-             callback methods to specify their transaction attributes, 
-             if used with the method-intf element that contains 
-             LifecycleCallback as the value.
+            This style may also be used in combination with the 
+            method-intf element that contains LifecycleCallback as 
+            the value to specify transaction attributes of a stateful 
+            session bean PostConstruct, PreDestroy, PrePassivate, 
+            and PostActivate lifecycle callback methods or to override 
+            transaction attributes of a singleton session bean 
+            PostConstruct and PreDestroy lifecycle callback methods.
 
          2.
          <method>
@@ -2140,8 +2143,9 @@
             this style refers to all the methods with the overloaded
             name.
 
-             This style may be used to refer to stateful session bean
-             lifecycle callback methods to specify their transaction
+            This style may be used to refer to stateful session bean
+            PostConstruct, PreDestroy, PrePassivate, and PostActivate 
+            lifecycle callback methods to specify their transaction
              attributes if any of the following is true:
                 there is only one method with this name in the specified 
                     enterprise bean
@@ -2364,8 +2368,10 @@
        MessageEndpoint refers to the methods of a message-driven bean's
        message-listener interface.
 
-       LifecycleCallback refers to the lifecycle callback methods of 
-        a singleton or stateful session bean.
+       LifecycleCallback refers to the PostConstruct and PreDestroy
+       lifecycle callback methods of a singleton session bean and
+       to the PostConstruct, PreDestroy, PrePassivate, and PostActivate
+       lifecycle callback methods of a stateful session bean.
 
        The method-intf element must be one of the following:
 


> LifecycleCallback method-intf type should not include bean constructor
> ----------------------------------------------------------------------
>
>                 Key: EJB_SPEC-97
>                 URL: http://java.net/jira/browse/EJB_SPEC-97
>             Project: ejb-spec
>          Issue Type: Task
>    Affects Versions: 3.2
>            Reporter: marina vatkina
>            Assignee: marina vatkina
>             Fix For: 3.2
>
>
> If Interceptors can be bound to a constructor directly, the <method> 
> element might refer to a constructor, but LifecycleCallback should be 
> explicit that it includes only PostConstruct, PreDestroy, PrePassivate or 
> PostActivate methods

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[ejb-spec issues] [JIRA] Created: (EJB_SPEC-97) Lifecycle method-intf type should not include bean constructor

marina vatkina (JIRA) 03/14/2013

[ejb-spec issues] [JIRA] Updated: (EJB_SPEC-97) Lifecycle method-intf type should not include bean constructor

marina vatkina (JIRA) 03/29/2013

[ejb-spec issues] [JIRA] Updated: (EJB_SPEC-97) LifecycleCallback method-intf type should not include bean constructor

marina vatkina (JIRA) 03/29/2013

[ejb-spec issues] [JIRA] Resolved: (EJB_SPEC-97) LifecycleCallback method-intf type should not include bean constructor

marina vatkina (JIRA) 03/29/2013
 
 
Close
loading
Please Confirm
Close