Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] EJB Aspects

Alberto -

I think this is possible... I'm not an expert on EJBs, but from your e-mail it sounds like these
interfaces may be treated like any other type:

pointcut homePointcut() :
    call(public * MyHomeInterface.*(..));

pointcut remotePointcut() :
    call(public * MyRemoteInterface.*(..));

pointcut ejbPointcut() :
    homePointcut()
 || remotePointcut();

Hope this helps...

Peter Kalmus

--- alberto.sanchez@xxxxxxxxxxxxx wrote:
> Hi all,
>  
> I'm new to AOP and would like to know if the following is possible:
>  
> - Create a pointcut that is called every time a public method in the home / remote interface of
> myEJB is called.
>  
> Any thoughts? Is it possible?
> Thank you for your help.
> 
> 
> This message is for the designated recipient only and may contain privileged, proprietary, or
> otherwise private information.  If you have received it in error, please notify the sender
> immediately and delete the original.  Any other use of the email by you is prohibited.
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/aspectj-users


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/


Back to the top