Interface InstrumentationContextBuilder
-
public interface InstrumentationContextBuilderThis interface allows registeringContextStoreclass pairs.This interface should not be implemented by the javaagent extension developer - the javaagent will provide the implementation of all transformations described here.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstrumentationContextBuilderregister(String keyClassName, String contextClassName)Register the association between thekeyClassNameand thecontextClassName.
-
-
-
Method Detail
-
register
InstrumentationContextBuilder register(String keyClassName, String contextClassName)
Register the association between thekeyClassNameand thecontextClassName. Class pairs registered using this method will be available asContextStores in the runtime; obtainable by callingInstrumentationContext.get(Class, Class).- Parameters:
keyClassName- The name of the class that an instance of class namedcontextClassNamewill be attached to.contextClassName- The instrumentation context class name.- Returns:
this.- See Also:
InstrumentationContext,ContextStore
-
-