|
16 | 16 | * |
17 | 17 | */ |
18 | 18 |
|
19 | | -package org.apache.skywalking.apm.plugin.jdbc.oracle.define; |
| 19 | +package io.skywalking.apm.plugin.jdbc.oracle.define; |
20 | 20 |
|
21 | 21 | import net.bytebuddy.description.method.MethodDescription; |
22 | 22 | import net.bytebuddy.matcher.ElementMatcher; |
|
34 | 34 | * {@link ConnectionInstrumentation} define that the oracle plugin intercept the following methods that the class which |
35 | 35 | * extend oracle.jdbc.driver.PhysicalConnection |
36 | 36 | * |
37 | | - * 1. Enhance <code>prepareStatement</code> by <code>org.apache.skywalking.apm.plugin.jdbc.oracle.CreatePreparedStatementInterceptor</code> |
38 | | - * 2. Enhance <code>prepareCall</code> by <code>org.apache.skywalking.apm.plugin.jdbc.oracle.CreateCallableInterceptor</code> |
39 | | - * 3. Enhance <code>createStatement</code> by <code>org.apache.skywalking.apm.plugin.jdbc.oracle.CreateStatementInterceptor</code> |
| 37 | + * 1. Enhance <code>prepareStatement</code> by <code>io.skywalking.apm.plugin.jdbc.oracle.CreatePreparedStatementInterceptor</code> |
| 38 | + * 2. Enhance <code>prepareCall</code> by <code>io.skywalking.apm.plugin.jdbc.oracle.CreateCallableInterceptor</code> |
| 39 | + * 3. Enhance <code>createStatement</code> by <code>io.skywalking.apm.plugin.jdbc.oracle.CreateStatementInterceptor</code> |
40 | 40 | * 4. Enhance <code>commit, rollback, close, releaseSavepoint</code> by <code>org.apache.skywalking.apm.plugin.jdbc.define.ConnectionServiceMethodInterceptor</code> |
41 | 41 | * |
42 | 42 | * @author zhangxin |
43 | 43 | */ |
44 | 44 | public class ConnectionInstrumentation extends ClassInstanceMethodsEnhancePluginDefine { |
45 | 45 |
|
46 | 46 | public static final String ENHANCE_CLASS = "oracle.jdbc.driver.PhysicalConnection"; |
47 | | - public static final String PREPARED_STATEMENT_INTERCEPT_CLASS = "org.apache.skywalking.apm.plugin.jdbc.oracle.CreatePreparedStatementInterceptor"; |
48 | | - public static final String CALLABLE_INTERCEPT_CLASS = "org.apache.skywalking.apm.plugin.jdbc.oracle.CreateCallableInterceptor"; |
49 | | - public static final String CREATE_STATEMENT_INTERCEPT_CLASS = "org.apache.skywalking.apm.plugin.jdbc.oracle.CreateStatementInterceptor"; |
| 47 | + public static final String PREPARED_STATEMENT_INTERCEPT_CLASS = "io.skywalking.apm.plugin.jdbc.oracle.CreatePreparedStatementInterceptor"; |
| 48 | + public static final String CALLABLE_INTERCEPT_CLASS = "io.skywalking.apm.plugin.jdbc.oracle.CreateCallableInterceptor"; |
| 49 | + public static final String CREATE_STATEMENT_INTERCEPT_CLASS = "io.skywalking.apm.plugin.jdbc.oracle.CreateStatementInterceptor"; |
50 | 50 | public static final String T4C_CONNECTION_CLASS = "oracle.jdbc.driver.T4CConnection"; |
51 | 51 |
|
52 | 52 | @Override protected ConstructorInterceptPoint[] getConstructorsInterceptPoints() { |
|
0 commit comments