public class MongoDBInstrumentation extends ClassInstanceMethodsEnhancePluginDefine
com.mongodb.Mongo instance, and intercept com.mongodb.Mongo#execute(...) method,
this method is a unified entrance of execute mongo command.
support: 3.0.x~3.5.x
MongoDBInterceptorCONTEXT_ATTR_NAME| Constructor and Description |
|---|
MongoDBInstrumentation() |
| Modifier and Type | Method and Description |
|---|---|
protected ClassMatch |
enhanceClass() |
ConstructorInterceptPoint[] |
getConstructorsInterceptPoints() |
InstanceMethodsInterceptPoint[] |
getInstanceMethodsInterceptPoints() |
protected String[] |
witnessClasses() |
getStaticMethodsInterceptPointsenhancedefine, isBootstrapInstrumentationprotected String[] witnessClasses()
witnessClasses in class AbstractClassEnhancePluginDefineprotected ClassMatch enhanceClass()
enhanceClass in class AbstractClassEnhancePluginDefinepublic ConstructorInterceptPoint[] getConstructorsInterceptPoints()
getConstructorsInterceptPoints in class AbstractClassEnhancePluginDefinepublic InstanceMethodsInterceptPoint[] getInstanceMethodsInterceptPoints()
getInstanceMethodsInterceptPoints in class AbstractClassEnhancePluginDefineCopyright © 2019 The Apache Software Foundation. All rights reserved.