I've created a log aspect to log enter and exit for all public methods in my web service project, as well as handling exceptions. It works fine for the classes managed directly by spring.
My web service class, however, is managed by the websphere jax-ws runtime and cannot be added to the spring config file. To be able to inject dependencies on it, I 've made it extend SpringBeanAutowiringSupport.
The autowiring of dependencies works fine, but the class doesn't get proxied.
Is this expected behaviour? If so, is it possible to proxy a websphere-managed bean so that my logging functionality will apply to it?
Thanks in advance!
Package name for web service class: no.klp.webservice.aspects
expression="execution(* no.klp.ecm..*.*(..))" />
<aop:aspect id="logCorrelationId" ref="logCorrelationIdBean">
<aop:around pointcut-ref="allPublicOperations" method="logCorrelationId" />
<aop:aspect id="afterThrowing" ref="logCorrelationIdBean">
<aop:after-throwing pointcut-ref="allPublicOperations" throwing="exception"