Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-342 EJB 3 Examples
  3. OPENEJB-364

Example: Interceptors for Lifecycle Callbacks

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 3.1.x
    • 3.1.x
    • None

    Description

      Interceptors for Lifecycle Callbacks

      Shows how to use @Interceptors to create an interceptor stack for a Stateless Bean that will intercept callback methods via @PostConstruct and @PreDestroy
      Also demonstrates how interceptors can prevent the bean method from being called by throwing exceptions from their around invoke method.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dblevins David Blevins
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: