Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-1333

Refactor org.apache.openejb.jee.Lifecycle interface

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.7.0
    • 4.0
    • configuration, deployment
    • None

    Description

      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.

      Attachments

        Activity

          People

            gawor@mcs.anl.gov Jarek Gawor
            gawor@mcs.anl.gov Jarek Gawor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: