|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InstrumenterConfiguration
Instrumenter's interface for configuring it.
It is not intended to be implemented by clients. Instead, client code will
have access to an implementation of InstrumenterConfiguration only
when executing
InstrumenterConfigurer.configureInstrumenter(InstrumenterConfiguration)
InstrumenterConfigurer| Method Summary | |
|---|---|
InstrumenterConfiguration |
addAnnotationHanlder(AnnotationHandler<?> handler)
Register an annotation handler to this instrumenter that will be notified to process an annotation each time one of the type returned by AnnotationHandler.getSupportedAnnotationType() is found. |
InstrumenterConfiguration |
setInstrumentationMark(InstrumentationMark instrumentationMark)
Sets the instrumentation mark this instrumenter will print in the instrumented classes. |
| Method Detail |
|---|
@NonNull
InstrumenterConfiguration setInstrumentationMark(@NonNull
InstrumentationMark instrumentationMark)
InstrumenterConfigurer.configureInstrumenter(InstrumenterConfiguration)
, and should be sent at most once from inside it.
instrumentationMark - the instrumentationMark to set
@NonNull
InstrumenterConfiguration addAnnotationHanlder(@NonNull
AnnotationHandler<?> handler)
AnnotationHandler.getSupportedAnnotationType() is found.
If more than one AnnotationHandler that supports a certain
annotation type is registered, the instrumenter will notify all those
handlers when an annotation of such type is found, in the order they have
being registered.
This message must be sent at least once from inside
InstrumenterConfigurer.configureInstrumenter(InstrumenterConfiguration)
handler - the handler to register
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||