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

Kai Weingärtner do-not-reply at jboss.com
Mon Jan 31 12:41:08 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/584424#584424

--------------------------------------------------------------
The Interceptor code is complete as posted. 

The EJB:

@javax.ejb.Stateless(name = "ejb/MyService")
public class MyServiceImpl implements MyService {

    @Override
    @javax.ejb.TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
    @javax.interceptor.Interceptors({CallMonitoringInterceptor.class})
    public Object service(String param1) throws Exception {
// ...
    }
}

and

@javax.ejb.Local
public interface MyService {
    Object service(String param1) throws Exception;
}
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/584424#584424]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

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


More information about the jboss-user mailing list