dev@glassfish.java.net

heads up : EJB 3.0 Interceptor API changes

From: Kenneth Saks <Kenneth.Saks_at_Sun.COM>
Date: Wed, 22 Feb 2006 09:38:43 -0500

We've made the following changes to the EJB interceptor API in the workspace
to align with the spec :

1. All EJB interceptor annotations/interfaces have been moved from
the javax.ejb package to a new package called javax.interceptor.

This includes :

AroundInvoke
ExcludeClassInterceptors
ExcludeDefaultInterceptors
Interceptors
InvocationContext

2. InvocationContext.getBean() has been renamed to
InvocationContext.getTarget()

3.The return value of

Map Invocation.getContextData()

has been changed to :

Map<String, Object> getContextData()