[jboss-user] [EJB3] - Re: Plugin required for ejb3 interceptors?

Kai Weingärtner do-not-reply at jboss.com
Mon Jan 31 09:02:41 EST 2011

Kai Weingärtner [http://community.jboss.org/people/KaiWeing] created the discussion

"Re: Plugin required for ejb3 interceptors?"

To view the discussion, visit: http://community.jboss.org/message/584347#584347

Hello Carlo,

thanks for your quick response.

Have you used ejb3 Interceptors in JBoss AS 5.1? I stick to the tutorial, but my EJB-Method is not being intercepted.

This is my (test) code:


public class CallMonitoringInterceptor {

    private static final Logger logger = LoggerFactory.getLogger(CallMonitoringInterceptor.class);

    public Object monitorCall(InvocationContext ctx) throws Exception {
        logger.info("monitoring {}...", ctx.getMethod().toGenericString());
        return ctx.proceed();


Intercepted business method

    public Object service(String param1) throws Exception {

Am I missing anything? 

Thanks in advance,

Reply to this message by going to Community

Start a new discussion in EJB3 at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110131/2376ac4d/attachment.html 

More information about the jboss-user mailing list