Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] annotated type aspect

If the types (Stateless/Stateful/EJB) could not be resolved, you would
see an error.  The type names are usually resolved from the imports
within the source file).

Have you tried writing something simpler first?  Perhaps

 pointcut traceSessionBean(): execution(public * (@Stateless  *).*(..));

Does that match anything?

Andy

2010/1/4 yaron <yaronp68@xxxxxxxxx>:
> Hi,
> Annotated pointcut question:
> pointcut traceSessionBean(): execution(public * (@(Stateless ||Stateful ||
> EJB)  *).*(..)); doesnt match.
> Do I need to explicitly write javax.ejb.Stateless etc?
> Thanks,
> Yaron
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>


Back to the top