[jboss-dev-forums] [JBoss AOP Development] - JBoss aop not working with Sun-Jax-Ws classes

Murali K do-not-reply at jboss.com
Fri Dec 7 11:46:08 EST 2012


Murali K [https://community.jboss.org/people/kmk1977] created the discussion

"JBoss aop not working with Sun-Jax-Ws classes"

To view the discussion, visit: https://community.jboss.org/message/780726#780726

--------------------------------------------------------------
I have implemented a Sun-Jax-Ws webservice. The problem is when i deploy JBoss aop, it is not intercepting the classes like below.  Is there any thing extra i need configure in JBoss when i have these kind of classes which already using Spring.

@WebService(targetNamespace = " http://www.in.com/CHS http://www.in.com/CHS", 
                    portName = "CHSPort", serviceName = "CHSService",
                    endpointInterface = "com.in.chs.ws.CHSPortType")
@HandlerChain(file = "WEB-INF/handlers.xml")
public class CHSServiceImpl extends SpringBeanAutowiringSupport implements CHSPortType {

          private static Logger log = Logger.getLogger(CHSServiceImpl.class);

          @Autowired
          protected ValidateRequest validateRequest;

          @Autowired
          protected GESClient gesClient;

          @Autowired
          protected Config config;

}


<bind pointcut="execution(* com.chs.CHSServiceImpl->*(..))">
                     <interceptor-ref name="LoggerAspect"/>
          </bind>
--------------------------------------------------------------

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

Start a new discussion in JBoss AOP Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2028]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20121207/4148fef0/attachment-0001.html 


More information about the jboss-dev-forums mailing list