-
1. Re: Intercepting Home-Interfaces
bill.burke Oct 19, 2004 9:27 AM (in response to pilhuhn)No, it is not possible with JBoss AOP. The reason? It is because there is no class to massage...Our EJB implementation does not generate any class that implements the home interface. If you implemented BMP customer finders or home methods on the bean class, then yes, JBoss AOP could be used.
Bill -
2. Re: Intercepting Home-Interfaces
pilhuhn Oct 19, 2004 9:37 AM (in response to pilhuhn)Do I understand it correctly, that the HomeInterface is implemented by a proxy? If so, would a $implements (like the $instanceof one) help to do something like
pointcut="call($implements(javax.ejb.EntityHome->findBy*(..)) ?
I think a $implements expression would be nice anyway. :-) -
3. Re: Intercepting Home-Interfaces
bill.burke Oct 19, 2004 9:53 AM (in response to pilhuhn)No, that is incorrect. Nothing implements the home interface (not even customer finders and home methods) The EJB container handles home invocations dynamically or these methods are implemented in methods on the Bean class as ejbFindMETHOD or ejbHomeMETHOD methods.
Bill