Skip to main content

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

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.


Back to the top