users@glassfish.java.net

Re: Simple interceptor (@AroundInvoke) won't invoke

From: <forums_at_java.net>
Date: Sun, 15 May 2011 17:49:53 -0500 (CDT)

Hello
I have an sales EJB project which controls the inventory, in and out of
stock.
I want to add extra functionality to the EJB, such as payment and billing.
For this I want to use Interceptor in Session Bean class. I want to implement
the new functionality as a component, decoupled from the current
implementation.
But I have not access to the current session bean or Xml (ejb-jar), so I can
not put the @ Interceptor in the class or method! how I can solve my problem?
Can I add @ Interceptor from another location, class or session? There is
another way of doing?
Thanks for your help.


--
[Message sent by forum member 'marcosjara']
View Post: http://forums.java.net/node/699652