Hi All!

i defined the following pointcut:

Code:
<protect-pointcut expression="execution(* najsre7.service..*Manager*Impl*.*(..))" access="ROLE_USER"/>
I would like to add the method arguments, like every method in these packages (managers) that has as an argument of class LaufnummerId ( can be be somewhere in the argument list).

i tried the following:
Code:
<protect-pointcut expression="execution(* najsre7.service..*Manager*Impl*.*(..)) AND args(..,laufnummerId,..)" access="ROLE_USER"/>

or 

<protect-pointcut expression="execution(* najsre7.service..*Manager*Impl*.*(.., laufnummerId, ..)) " access="ROLE_USER"/>

But both don't work. In the first the args isn't validated and the second throw an exception:

Code:
Caused by: java.lang.IllegalArgumentException: warning no match for this type name: laufnummerId [Xlint:invalidAbsoluteTypeName]
	at org.aspectj.weaver.tools.PointcutParser.parsePointcutExpression(PointcutParser.java:315)
	at org.aspectj.weaver.tools.PointcutParser.parsePointcutExpression(PointcutParser.java:286)
Any ideas?

regards angela