You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2006/11/22 23:08:02 UTC

[jira] Updated: (OPENEJB-364) Example: Interceptors for Lifecycle Callbacks

     [ http://issues.apache.org/jira/browse/OPENEJB-364?page=all ]

David Blevins updated OPENEJB-364:
----------------------------------

    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.

> Example: Interceptors for Lifecycle Callbacks
> ---------------------------------------------
>
>                 Key: OPENEJB-364
>                 URL: http://issues.apache.org/jira/browse/OPENEJB-364
>             Project: OpenEJB
>          Issue Type: Sub-task
>            Reporter: David Blevins
>
> 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.

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