Skip to content

Commit 912e2c9

Browse files
committed
Change the package name and version
1 parent 9fdd260 commit 912e2c9

File tree

24 files changed

+97
-76
lines changed

24 files changed

+97
-76
lines changed

oracle-10.x-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.openskywalking</groupId>
2323
<artifactId>java-plugin-extensions</artifactId>
24-
<version>1.0.0-SNAPSHOT</version>
24+
<version>1.0.0</version>
2525
</parent>
2626
<modelVersion>4.0.0</modelVersion>
2727

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
*
1717
*/
1818

19-
package org.apache.skywalking.apm.plugin.jdbc.oracle;
19+
package io.skywalking.apm.plugin.jdbc.oracle;
2020

2121
/**
2222
* Constants variables
2323
*
2424
* @author zhang xin
2525
*/
2626
public final class Constants {
27-
public static final String STATEMENT_INTERCEPT_CLASS = "org.apache.skywalking.apm.plugin.jdbc.oracle.StatementExecuteMethodsInterceptor";
27+
public static final String STATEMENT_INTERCEPT_CLASS = "io.skywalking.apm.plugin.jdbc.oracle.StatementExecuteMethodsInterceptor";
2828

29-
public static final String PREPARED_STATEMENT_INTERCEPT_CLASS = "org.apache.skywalking.apm.plugin.jdbc.oracle.PreparedStatementExecuteMethodsInterceptor";
29+
public static final String PREPARED_STATEMENT_INTERCEPT_CLASS = "io.skywalking.apm.plugin.jdbc.oracle.PreparedStatementExecuteMethodsInterceptor";
3030
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
*/
1818

19-
package org.apache.skywalking.apm.plugin.jdbc.oracle;
19+
package io.skywalking.apm.plugin.jdbc.oracle;
2020

2121
import java.lang.reflect.Method;
2222
import org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.EnhancedInstance;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
*/
1818

19-
package org.apache.skywalking.apm.plugin.jdbc.oracle;
19+
package io.skywalking.apm.plugin.jdbc.oracle;
2020

2121
import java.lang.reflect.Method;
2222
import org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.EnhancedInstance;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
*/
1818

19-
package org.apache.skywalking.apm.plugin.jdbc.oracle;
19+
package io.skywalking.apm.plugin.jdbc.oracle;
2020

2121
import java.lang.reflect.Method;
2222
import org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.EnhancedInstance;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
*/
1818

19-
package org.apache.skywalking.apm.plugin.jdbc.oracle;
19+
package io.skywalking.apm.plugin.jdbc.oracle;
2020

2121
import java.lang.reflect.Method;
2222
import org.apache.skywalking.apm.agent.core.context.ContextManager;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
*/
1818

19-
package org.apache.skywalking.apm.plugin.jdbc.oracle;
19+
package io.skywalking.apm.plugin.jdbc.oracle;
2020

2121
import java.lang.reflect.Method;
2222
import org.apache.skywalking.apm.agent.core.context.ContextManager;
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
*/
1818

19-
package org.apache.skywalking.apm.plugin.jdbc.oracle.define;
19+
package io.skywalking.apm.plugin.jdbc.oracle.define;
2020

2121
import net.bytebuddy.description.method.MethodDescription;
2222
import net.bytebuddy.matcher.ElementMatcher;
@@ -34,19 +34,19 @@
3434
* {@link ConnectionInstrumentation} define that the oracle plugin intercept the following methods that the class which
3535
* extend oracle.jdbc.driver.PhysicalConnection
3636
*
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>
4040
* 4. Enhance <code>commit, rollback, close, releaseSavepoint</code> by <code>org.apache.skywalking.apm.plugin.jdbc.define.ConnectionServiceMethodInterceptor</code>
4141
*
4242
* @author zhangxin
4343
*/
4444
public class ConnectionInstrumentation extends ClassInstanceMethodsEnhancePluginDefine {
4545

4646
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";
5050
public static final String T4C_CONNECTION_CLASS = "oracle.jdbc.driver.T4CConnection";
5151

5252
@Override protected ConstructorInterceptPoint[] getConstructorsInterceptPoints() {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919

20-
package org.apache.skywalking.apm.plugin.jdbc.oracle.define;
20+
package io.skywalking.apm.plugin.jdbc.oracle.define;
2121

2222
import org.apache.skywalking.apm.agent.core.plugin.match.ClassMatch;
2323
import org.apache.skywalking.apm.agent.core.plugin.match.NameMatch;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
*/
1818

19-
package org.apache.skywalking.apm.plugin.jdbc.oracle.define;
19+
package io.skywalking.apm.plugin.jdbc.oracle.define;
2020

2121
import net.bytebuddy.description.method.MethodDescription;
2222
import net.bytebuddy.matcher.ElementMatcher;
@@ -26,8 +26,8 @@
2626
import org.apache.skywalking.apm.agent.core.plugin.match.ClassMatch;
2727
import org.apache.skywalking.apm.agent.core.plugin.match.MultiClassNameMatch;
2828

29+
import static io.skywalking.apm.plugin.jdbc.oracle.Constants.PREPARED_STATEMENT_INTERCEPT_CLASS;
2930
import static net.bytebuddy.matcher.ElementMatchers.named;
30-
import static org.apache.skywalking.apm.plugin.jdbc.oracle.Constants.PREPARED_STATEMENT_INTERCEPT_CLASS;
3131

3232
public class OracleCallableInstrumentation extends ClassInstanceMethodsEnhancePluginDefine {
3333

0 commit comments

Comments
 (0)