Just noticed this
protected void debugLogDocument(String description, Document doc)
How to turn on debug for this class?
log =
LogFactory.getLog(org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.class);
I started with this silly piece of code which may be interesting to
some. It works too.
public aspect AxisAspect {
public pointcut withinEmitter() :
within(org.apache.axis2.wsdl.codegen.emitter.*); //
AxisServiceBasedMultiLanguageEmitter
public pointcut createJoinPoint(
Emitter emitter) :
withinEmitter() &&
execution(protected Document create*())
&& this(emitter);
Document around(Emitter emitter) :
createJoinPoint(emitter) {
System.out.println("create emitter: " + emitter);
logJoinPoint(thisJoinPoint);
Document doc = (Document) proceed(emitter);
logDocument(doc);
return doc;
}
...
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]