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

Refactor org.apache.openejb.jee.Lifecycle interface

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.7.0
    • Fix Version/s: 4.0
    • Component/s: configuration, deployment
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: