Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Is Advice Correct?

This advice looks fine.  Where are you expecting it to be applied that
it shouldn't?

On Mon, Sep 8, 2008 at 2:15 AM, Rashid Mahmood <rashid_m180@xxxxxxxxx> wrote:
> Hi All,
>
> Why this advice has not been applied? Whats wrong with it?
>
> pointcut clientCreate() : call(* javax.ejb.EJBHome+.create(..));
>
>  Object around(Object p, Object homeObject) throws RemoteException :
>          clientCreate() && args(p) && target(homeObject) {
>
>         // invoke method
>         try {
>                 // Some invoking code
>         }catch ( Exception e){
>             throw new RemoteException();
>         }
>      }
>
> Thanx.
>
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>


Back to the top