All,
I use some 'simple' schema configured aop (below). The trouble is, when i undeploy and/or redeploy the application, the aspectj/weaver seems to keep the beanfactory from being garbage collected. Is there some magic to getting aop out when the app is unloaded?
Code:<aop:config> <aop:aspect id="webserviceEndPointAdvice" ref="webserviceEndpointAdvisor"> <aop:pointcut id="webservicePort" expression="execution(public * *SoapPort())"/> <aop:after-returning method="doEndpointConfig" returning="theStub" pointcut-ref="webservicePort"/> </aop:aspect> <aop:aspect id="webserviceEndPointAdvice2" ref="webserviceEndpointAdvisor"> <aop:pointcut id="webservicePort2" expression="execution(public * *ServicesPort())"/> <aop:after-returning method="doEndpointConfig" returning="theStub" pointcut-ref="webservicePort2"/> </aop:aspect> </aop:config>


Reply With Quote
