You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2010/08/18 07:47:17 UTC

[jira] Resolved: (OPENEJB-1333) Refactor org.apache.openejb.jee.Lifecycle interface

     [ https://issues.apache.org/jira/browse/OPENEJB-1333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Gawor resolved OPENEJB-1333.
----------------------------------

    Resolution: Fixed

I refactored the Lifecycle interface in revision 986568. The Lifecycle interface now only contains the methods that deal with PostConstruct/PreDestroy information while a new 'Invokable' interface contains methods for getting the AroundInvoke/AroundTime information.


> Refactor org.apache.openejb.jee.Lifecycle interface
> ---------------------------------------------------
>
>                 Key: OPENEJB-1333
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1333
>             Project: OpenEJB
>          Issue Type: Improvement
>          Components: configuration, deployment
>    Affects Versions: (trunk/openejb3)
>            Reporter: Jarek Gawor
>            Assignee: Jarek Gawor
>             Fix For: 3.2
>
>
> Right now the Lifecycle interface contains methods for obtaining PostConstruct/PreDestory callback information and getting AroundInvoke/AroundTimeout information. The AroundInvoke/AroundTime info applies to Session-based beans, Message Driven beans, and interceptors. While the PostConstruct/PreDestory info applies to any type of bean, interceptors, and AppClient or WebApp. So in order to have common interfaces for accessing common information and to avoid implementing functions that do not apply to a particular type, the Lifecycle interface can be split into two separate interfaces. One for providing methods for PostConstruct/PreDestory callback information and another one for getting the AroundInvoke/AroundTimeout information.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.