Hello,
I want(ed) to create an aspect on an EJB method because our services are coded inside the EJB.
So I know now the business should be delegated out of the EJB into a dedicated Service object.
However I wanted to know the reason why spring+aspectj fails to do what it can do on other classes instanciated with newinstance or new () .
So I know weblogic instanciate the class, so I tried to instanciate it myself just to see if the class could be instrumented with a new MyEjbBean() and this didn't worked either.
So it seems Weblogic must modify the class or remove the annotations, or something.
Anyone knows the true reason ?
I want(ed) to create an aspect on an EJB method because our services are coded inside the EJB.
So I know now the business should be delegated out of the EJB into a dedicated Service object.
However I wanted to know the reason why spring+aspectj fails to do what it can do on other classes instanciated with newinstance or new () .
So I know weblogic instanciate the class, so I tried to instanciate it myself just to see if the class could be instrumented with a new MyEjbBean() and this didn't worked either.
So it seems Weblogic must modify the class or remove the annotations, or something.
Anyone knows the true reason ?