Big refactor. Rename the api-module root package name .
This commit is contained in:
parent
22dba10bde
commit
75d8aba0f4
|
|
@ -1,8 +1,8 @@
|
|||
package com.a.eye.skywalking.health.report;
|
||||
|
||||
|
||||
import com.a.eye.skywalking.logging.api.ILog;
|
||||
import com.a.eye.skywalking.logging.api.LogManager;
|
||||
import com.a.eye.skywalking.api.logging.api.ILog;
|
||||
import com.a.eye.skywalking.api.logging.api.LogManager;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Map;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.logging.api;
|
||||
package com.a.eye.skywalking.api.logging.api;
|
||||
|
||||
/**
|
||||
* The Log interface.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.logging.api;
|
||||
package com.a.eye.skywalking.api.logging.api;
|
||||
|
||||
/**
|
||||
* LogManager is the {@link LogResolver} implementation manager.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.logging.api;
|
||||
package com.a.eye.skywalking.api.logging.api;
|
||||
|
||||
/**
|
||||
* {@link LogResolver} just do only one thing: return the {@link ILog} implementation.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.logging.api;
|
||||
package com.a.eye.skywalking.api.logging.api;
|
||||
|
||||
|
||||
/**
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package com.a.eye.skywalking.logging.impl.log4j2;
|
||||
package com.a.eye.skywalking.api.logging.impl.log4j2;
|
||||
|
||||
import com.a.eye.skywalking.logging.api.ILog;
|
||||
import com.a.eye.skywalking.api.logging.api.ILog;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
|
||||
/**
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
package com.a.eye.skywalking.logging.impl.log4j2;
|
||||
package com.a.eye.skywalking.api.logging.impl.log4j2;
|
||||
|
||||
import com.a.eye.skywalking.logging.api.ILog;
|
||||
import com.a.eye.skywalking.logging.api.LogResolver;
|
||||
import com.a.eye.skywalking.api.logging.api.ILog;
|
||||
import com.a.eye.skywalking.api.logging.api.LogResolver;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
|
||||
/**
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.util;
|
||||
package com.a.eye.skywalking.api.util;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import java.lang.reflect.Modifier;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.util;
|
||||
package com.a.eye.skywalking.api.util;
|
||||
|
||||
public final class StringUtil {
|
||||
public static boolean isEmpty(String str) {
|
||||
|
|
@ -2,13 +2,13 @@ package com.a.eye.skywalking.agent;
|
|||
|
||||
import com.a.eye.skywalking.agent.junction.SkyWalkingEnhanceMatcher;
|
||||
import com.a.eye.skywalking.conf.Config;
|
||||
import com.a.eye.skywalking.conf.SnifferConfigInitializer;
|
||||
import com.a.eye.skywalking.api.conf.SnifferConfigInitializer;
|
||||
import com.a.eye.skywalking.logging.EasyLogResolver;
|
||||
import com.a.eye.skywalking.logging.api.ILog;
|
||||
import com.a.eye.skywalking.logging.api.LogManager;
|
||||
import com.a.eye.skywalking.plugin.AbstractClassEnhancePluginDefine;
|
||||
import com.a.eye.skywalking.plugin.PluginBootstrap;
|
||||
import com.a.eye.skywalking.plugin.PluginDefineCategory;
|
||||
import com.a.eye.skywalking.api.logging.api.ILog;
|
||||
import com.a.eye.skywalking.api.logging.api.LogManager;
|
||||
import com.a.eye.skywalking.api.plugin.AbstractClassEnhancePluginDefine;
|
||||
import com.a.eye.skywalking.api.plugin.PluginBootstrap;
|
||||
import com.a.eye.skywalking.api.plugin.PluginDefineCategory;
|
||||
import com.a.eye.skywalking.plugin.PluginException;
|
||||
import net.bytebuddy.agent.builder.AgentBuilder;
|
||||
import net.bytebuddy.description.NamedElement;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
package com.a.eye.skywalking.agent.junction;
|
||||
|
||||
import com.a.eye.skywalking.plugin.PluginDefineCategory;
|
||||
import com.a.eye.skywalking.api.plugin.PluginDefineCategory;
|
||||
import net.bytebuddy.description.NamedElement;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.conf;
|
||||
package com.a.eye.skywalking.api.conf;
|
||||
|
||||
public class Config {
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package com.a.eye.skywalking.conf;
|
||||
package com.a.eye.skywalking.api.conf;
|
||||
|
||||
import com.a.eye.skywalking.util.TraceIdGenerator;
|
||||
import com.a.eye.skywalking.api.util.TraceIdGenerator;
|
||||
|
||||
public class Constants {
|
||||
/**
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
package com.a.eye.skywalking.conf;
|
||||
package com.a.eye.skywalking.api.conf;
|
||||
|
||||
import com.a.eye.skywalking.logging.api.ILog;
|
||||
import com.a.eye.skywalking.logging.api.LogManager;
|
||||
import com.a.eye.skywalking.util.ConfigInitializer;
|
||||
import com.a.eye.skywalking.util.StringUtil;
|
||||
import com.a.eye.skywalking.api.logging.api.ILog;
|
||||
import com.a.eye.skywalking.api.logging.api.LogManager;
|
||||
import com.a.eye.skywalking.api.util.ConfigInitializer;
|
||||
import com.a.eye.skywalking.api.util.StringUtil;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
package com.a.eye.skywalking.context;
|
||||
package com.a.eye.skywalking.api.context;
|
||||
|
||||
import com.a.eye.skywalking.trace.TraceSegmentRef;
|
||||
import com.a.eye.skywalking.util.StringUtil;
|
||||
import com.a.eye.skywalking.api.util.StringUtil;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package com.a.eye.skywalking.context;
|
||||
package com.a.eye.skywalking.api.context;
|
||||
|
||||
import com.a.eye.skywalking.queue.TraceSegmentProcessQueue;
|
||||
import com.a.eye.skywalking.api.queue.TraceSegmentProcessQueue;
|
||||
import com.a.eye.skywalking.trace.Span;
|
||||
import com.a.eye.skywalking.trace.TraceSegment;
|
||||
|
||||
|
|
@ -1,11 +1,9 @@
|
|||
package com.a.eye.skywalking.context;
|
||||
package com.a.eye.skywalking.api.context;
|
||||
|
||||
import com.a.eye.skywalking.trace.Span;
|
||||
import com.a.eye.skywalking.trace.TraceSegment;
|
||||
import com.a.eye.skywalking.util.TraceIdGenerator;
|
||||
import java.lang.reflect.Executable;
|
||||
import com.a.eye.skywalking.api.util.TraceIdGenerator;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.context;
|
||||
package com.a.eye.skywalking.api.context;
|
||||
|
||||
import com.a.eye.skywalking.trace.TraceSegment;
|
||||
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
package com.a.eye.skywalking.logging;
|
||||
package com.a.eye.skywalking.api.logging;
|
||||
|
||||
import com.a.eye.skywalking.logging.api.ILog;
|
||||
import com.a.eye.skywalking.logging.api.LogResolver;
|
||||
import com.a.eye.skywalking.api.logging.api.ILog;
|
||||
import com.a.eye.skywalking.api.logging.api.LogResolver;
|
||||
|
||||
/**
|
||||
* Created by wusheng on 2016/11/26.
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
package com.a.eye.skywalking.logging;
|
||||
package com.a.eye.skywalking.api.logging;
|
||||
|
||||
|
||||
import com.a.eye.skywalking.api.logging.api.ILog;
|
||||
import com.a.eye.skywalking.util.LoggingUtil;
|
||||
|
||||
import java.net.URLEncoder;
|
||||
|
|
@ -12,7 +13,7 @@ import static com.a.eye.skywalking.logging.LogLevel.*;
|
|||
/**
|
||||
* Created by xin on 16-6-23.
|
||||
*/
|
||||
public class EasyLogger implements com.a.eye.skywalking.logging.api.ILog {
|
||||
public class EasyLogger implements ILog {
|
||||
|
||||
private Class toBeLoggerClass;
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.logging;
|
||||
package com.a.eye.skywalking.api.logging;
|
||||
|
||||
public interface IWriter {
|
||||
void write(String message);
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.logging;
|
||||
package com.a.eye.skywalking.api.logging;
|
||||
|
||||
/**
|
||||
* Created by xin on 2016/12/7.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.logging;
|
||||
package com.a.eye.skywalking.api.logging;
|
||||
|
||||
public class STDOutWriter implements IWriter {
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.logging;
|
||||
package com.a.eye.skywalking.api.logging;
|
||||
|
||||
|
||||
import com.a.eye.skywalking.conf.Config;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.logging;
|
||||
package com.a.eye.skywalking.api.logging;
|
||||
|
||||
import com.a.eye.skywalking.conf.Config;
|
||||
|
||||
|
|
@ -1,8 +1,9 @@
|
|||
package com.a.eye.skywalking.plugin;
|
||||
package com.a.eye.skywalking.api.plugin;
|
||||
|
||||
import com.a.eye.skywalking.logging.api.ILog;
|
||||
import com.a.eye.skywalking.logging.api.LogManager;
|
||||
import com.a.eye.skywalking.util.StringUtil;
|
||||
import com.a.eye.skywalking.api.logging.api.ILog;
|
||||
import com.a.eye.skywalking.api.logging.api.LogManager;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.enhance.ClassEnhancePluginDefine;
|
||||
import com.a.eye.skywalking.api.util.StringUtil;
|
||||
import net.bytebuddy.dynamic.DynamicType;
|
||||
import net.bytebuddy.pool.TypePool.Resolution;
|
||||
|
||||
|
|
@ -10,7 +11,7 @@ import net.bytebuddy.pool.TypePool.Resolution;
|
|||
* Basic abstract class of all sky-walking auto-instrumentation plugins.
|
||||
* <p>
|
||||
* It provides the outline of enhancing the target class.
|
||||
* If you want to know more about enhancing, you should go to see {@link com.a.eye.skywalking.plugin.interceptor.enhance.ClassEnhancePluginDefine}
|
||||
* If you want to know more about enhancing, you should go to see {@link ClassEnhancePluginDefine}
|
||||
*/
|
||||
public abstract class AbstractClassEnhancePluginDefine {
|
||||
private static ILog logger = LogManager.getLogger(AbstractClassEnhancePluginDefine.class);
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
package com.a.eye.skywalking.plugin;
|
||||
package com.a.eye.skywalking.api.plugin;
|
||||
|
||||
import com.a.eye.skywalking.logging.api.ILog;
|
||||
import com.a.eye.skywalking.logging.api.LogManager;
|
||||
import com.a.eye.skywalking.api.logging.api.ILog;
|
||||
import com.a.eye.skywalking.api.logging.api.LogManager;
|
||||
import net.bytebuddy.pool.TypePool;
|
||||
|
||||
import java.net.URL;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package com.a.eye.skywalking.plugin;
|
||||
package com.a.eye.skywalking.api.plugin;
|
||||
|
||||
import com.a.eye.skywalking.util.StringUtil;
|
||||
import com.a.eye.skywalking.api.util.StringUtil;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin;
|
||||
package com.a.eye.skywalking.api.plugin;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin;
|
||||
package com.a.eye.skywalking.api.plugin;
|
||||
|
||||
public class PluginException extends RuntimeException {
|
||||
private static final long serialVersionUID = -6020188711867490724L;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
package com.a.eye.skywalking.plugin;
|
||||
package com.a.eye.skywalking.api.plugin;
|
||||
|
||||
import com.a.eye.skywalking.logging.api.ILog;
|
||||
import com.a.eye.skywalking.logging.api.LogManager;
|
||||
import com.a.eye.skywalking.api.logging.api.ILog;
|
||||
import com.a.eye.skywalking.api.logging.api.LogManager;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
package com.a.eye.skywalking.plugin;
|
||||
package com.a.eye.skywalking.api.plugin;
|
||||
|
||||
import com.a.eye.skywalking.logging.api.ILog;
|
||||
import com.a.eye.skywalking.logging.api.LogManager;
|
||||
import com.a.eye.skywalking.api.logging.api.ILog;
|
||||
import com.a.eye.skywalking.api.logging.api.LogManager;
|
||||
import net.bytebuddy.ByteBuddy;
|
||||
import net.bytebuddy.dynamic.ClassFileLocator;
|
||||
import net.bytebuddy.dynamic.DynamicType;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin.bytebuddy;
|
||||
package com.a.eye.skywalking.api.plugin.bytebuddy;
|
||||
|
||||
import net.bytebuddy.description.method.MethodDescription;
|
||||
import net.bytebuddy.matcher.ElementMatcher;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin.bytebuddy;
|
||||
package com.a.eye.skywalking.api.plugin.bytebuddy;
|
||||
|
||||
import net.bytebuddy.description.method.MethodDescription;
|
||||
import net.bytebuddy.matcher.ElementMatcher;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor;
|
||||
package com.a.eye.skywalking.api.plugin.interceptor;
|
||||
|
||||
import net.bytebuddy.description.method.MethodDescription;
|
||||
import net.bytebuddy.matcher.ElementMatcher;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor;
|
||||
package com.a.eye.skywalking.api.plugin.interceptor;
|
||||
|
||||
import com.a.eye.skywalking.plugin.PluginException;
|
||||
|
||||
|
|
@ -1,15 +1,17 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor;
|
||||
package com.a.eye.skywalking.api.plugin.interceptor;
|
||||
|
||||
import com.a.eye.skywalking.api.plugin.AbstractClassEnhancePluginDefine;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.enhance.ClassEnhancePluginDefine;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
/**
|
||||
* Enhanced instance field type.
|
||||
*
|
||||
* Any plugins({@link com.a.eye.skywalking.plugin.AbstractClassEnhancePluginDefine}'s subclass) override
|
||||
* {@link com.a.eye.skywalking.plugin.interceptor.enhance.ClassEnhancePluginDefine#getConstructorsInterceptPoints}
|
||||
* Any plugins({@link AbstractClassEnhancePluginDefine}'s subclass) override
|
||||
* {@link ClassEnhancePluginDefine#getConstructorsInterceptPoints}
|
||||
* or
|
||||
* {@link com.a.eye.skywalking.plugin.interceptor.enhance.ClassEnhancePluginDefine#getInstanceMethodsInterceptPoints}
|
||||
* {@link ClassEnhancePluginDefine#getInstanceMethodsInterceptPoints}
|
||||
* will add a field with this type.
|
||||
*
|
||||
* @author wusheng
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor;
|
||||
package com.a.eye.skywalking.api.plugin.interceptor;
|
||||
|
||||
import net.bytebuddy.description.method.MethodDescription;
|
||||
import net.bytebuddy.matcher.ElementMatcher;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor;
|
||||
package com.a.eye.skywalking.api.plugin.interceptor;
|
||||
|
||||
public class InterceptorException extends RuntimeException {
|
||||
private static final long serialVersionUID = 7846035239994885019L;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor;
|
||||
package com.a.eye.skywalking.api.plugin.interceptor;
|
||||
|
||||
import net.bytebuddy.description.method.MethodDescription;
|
||||
import net.bytebuddy.matcher.ElementMatcher;
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor.assist;
|
||||
package com.a.eye.skywalking.api.plugin.interceptor.assist;
|
||||
|
||||
import com.a.eye.skywalking.plugin.interceptor.EnhancedClassInstanceContext;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.EnhancedClassInstanceContext;
|
||||
import com.a.eye.skywalking.plugin.interceptor.InterceptorException;
|
||||
import com.a.eye.skywalking.plugin.interceptor.enhance.InstanceMethodsAroundInterceptor;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.enhance.InstanceMethodsAroundInterceptor;
|
||||
|
||||
/**
|
||||
* {@link NoCocurrencyAceessObject} is an abstract class,
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor.enhance;
|
||||
package com.a.eye.skywalking.api.plugin.interceptor.enhance;
|
||||
|
||||
import com.a.eye.skywalking.logging.api.ILog;
|
||||
import com.a.eye.skywalking.logging.api.LogManager;
|
||||
import com.a.eye.skywalking.plugin.interceptor.EnhancedClassInstanceContext;
|
||||
import com.a.eye.skywalking.plugin.interceptor.loader.InterceptorInstanceLoader;
|
||||
import com.a.eye.skywalking.api.logging.api.ILog;
|
||||
import com.a.eye.skywalking.api.logging.api.LogManager;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.loader.InterceptorInstanceLoader;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.EnhancedClassInstanceContext;
|
||||
import net.bytebuddy.implementation.bind.annotation.AllArguments;
|
||||
import net.bytebuddy.implementation.bind.annotation.FieldProxy;
|
||||
import net.bytebuddy.implementation.bind.annotation.RuntimeType;
|
||||
|
|
@ -1,11 +1,10 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor.enhance;
|
||||
package com.a.eye.skywalking.api.plugin.interceptor.enhance;
|
||||
|
||||
import com.a.eye.skywalking.logging.api.ILog;
|
||||
import com.a.eye.skywalking.logging.api.LogManager;
|
||||
import com.a.eye.skywalking.plugin.AbstractClassEnhancePluginDefine;
|
||||
import com.a.eye.skywalking.api.logging.api.ILog;
|
||||
import com.a.eye.skywalking.api.logging.api.LogManager;
|
||||
import com.a.eye.skywalking.api.plugin.AbstractClassEnhancePluginDefine;
|
||||
import com.a.eye.skywalking.plugin.PluginException;
|
||||
import com.a.eye.skywalking.plugin.interceptor.*;
|
||||
import com.a.eye.skywalking.util.StringUtil;
|
||||
import com.a.eye.skywalking.api.util.StringUtil;
|
||||
import net.bytebuddy.description.method.MethodDescription;
|
||||
import net.bytebuddy.dynamic.DynamicType;
|
||||
import net.bytebuddy.implementation.MethodDelegation;
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor.enhance;
|
||||
package com.a.eye.skywalking.api.plugin.interceptor.enhance;
|
||||
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.StaticMethodsInterceptPoint;
|
||||
import com.a.eye.skywalking.plugin.interceptor.StaticMethodsInterceptPoint;
|
||||
|
||||
/**
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor.enhance;
|
||||
package com.a.eye.skywalking.api.plugin.interceptor.enhance;
|
||||
|
||||
import com.a.eye.skywalking.logging.api.ILog;
|
||||
import com.a.eye.skywalking.logging.api.LogManager;
|
||||
import com.a.eye.skywalking.plugin.interceptor.EnhancedClassInstanceContext;
|
||||
import com.a.eye.skywalking.plugin.interceptor.loader.InterceptorInstanceLoader;
|
||||
import com.a.eye.skywalking.api.logging.api.ILog;
|
||||
import com.a.eye.skywalking.api.logging.api.LogManager;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.loader.InterceptorInstanceLoader;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.EnhancedClassInstanceContext;
|
||||
import net.bytebuddy.implementation.bind.annotation.*;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor.enhance;
|
||||
package com.a.eye.skywalking.api.plugin.interceptor.enhance;
|
||||
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.InstanceMethodsInterceptPoint;
|
||||
import com.a.eye.skywalking.plugin.interceptor.ConstructorInterceptPoint;
|
||||
import com.a.eye.skywalking.plugin.interceptor.InstanceMethodsInterceptPoint;
|
||||
|
||||
/**
|
||||
* Plugins, which only need enhance class static methods.
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor.enhance;
|
||||
package com.a.eye.skywalking.api.plugin.interceptor.enhance;
|
||||
|
||||
import com.a.eye.skywalking.logging.api.ILog;
|
||||
import com.a.eye.skywalking.logging.api.LogManager;
|
||||
import com.a.eye.skywalking.plugin.interceptor.loader.InterceptorInstanceLoader;
|
||||
import com.a.eye.skywalking.api.logging.api.ILog;
|
||||
import com.a.eye.skywalking.api.logging.api.LogManager;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.loader.InterceptorInstanceLoader;
|
||||
import net.bytebuddy.implementation.bind.annotation.AllArguments;
|
||||
import net.bytebuddy.implementation.bind.annotation.Origin;
|
||||
import net.bytebuddy.implementation.bind.annotation.RuntimeType;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor.enhance;
|
||||
package com.a.eye.skywalking.api.plugin.interceptor.enhance;
|
||||
|
||||
/**
|
||||
* Constructor context.
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor.enhance;
|
||||
package com.a.eye.skywalking.api.plugin.interceptor.enhance;
|
||||
|
||||
import com.a.eye.skywalking.logging.api.ILog;
|
||||
import com.a.eye.skywalking.logging.api.LogManager;
|
||||
import com.a.eye.skywalking.plugin.interceptor.EnhancedClassInstanceContext;
|
||||
import com.a.eye.skywalking.api.logging.api.ILog;
|
||||
import com.a.eye.skywalking.api.logging.api.LogManager;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.EnhancedClassInstanceContext;
|
||||
import net.bytebuddy.implementation.bind.annotation.AllArguments;
|
||||
import net.bytebuddy.implementation.bind.annotation.FieldProxy;
|
||||
import net.bytebuddy.implementation.bind.annotation.RuntimeType;
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
package com.a.eye.skywalking.api.plugin.interceptor.enhance;
|
||||
|
||||
public interface FieldGetter {
|
||||
Object getValue();
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor.enhance;
|
||||
package com.a.eye.skywalking.api.plugin.interceptor.enhance;
|
||||
|
||||
public interface FieldSetter {
|
||||
void setValue(Object value);
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor.enhance;
|
||||
package com.a.eye.skywalking.api.plugin.interceptor.enhance;
|
||||
|
||||
import com.a.eye.skywalking.plugin.interceptor.EnhancedClassInstanceContext;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.EnhancedClassInstanceContext;
|
||||
|
||||
/**
|
||||
* The instance constructor's interceptor interface.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor.enhance;
|
||||
package com.a.eye.skywalking.api.plugin.interceptor.enhance;
|
||||
|
||||
/**
|
||||
* Instance method invoke context.
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor.enhance;
|
||||
package com.a.eye.skywalking.api.plugin.interceptor.enhance;
|
||||
|
||||
import com.a.eye.skywalking.plugin.interceptor.EnhancedClassInstanceContext;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.EnhancedClassInstanceContext;
|
||||
|
||||
/**
|
||||
* A interceptor, which intercept method's invocation.
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor.enhance;
|
||||
package com.a.eye.skywalking.api.plugin.interceptor.enhance;
|
||||
|
||||
import com.a.eye.skywalking.plugin.interceptor.EnhancedClassInstanceContext;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.EnhancedClassInstanceContext;
|
||||
|
||||
/**
|
||||
* This is a method return value manipulator.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor.enhance;
|
||||
package com.a.eye.skywalking.api.plugin.interceptor.enhance;
|
||||
|
||||
/**
|
||||
* Method invoke context.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor.enhance;
|
||||
package com.a.eye.skywalking.api.plugin.interceptor.enhance;
|
||||
|
||||
/**
|
||||
* Static method invoke context.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor.enhance;
|
||||
package com.a.eye.skywalking.api.plugin.interceptor.enhance;
|
||||
|
||||
|
||||
/**
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor.loader;
|
||||
package com.a.eye.skywalking.api.plugin.interceptor.loader;
|
||||
|
||||
import com.a.eye.skywalking.logging.api.ILog;
|
||||
import com.a.eye.skywalking.logging.api.LogManager;
|
||||
import com.a.eye.skywalking.api.logging.api.ILog;
|
||||
import com.a.eye.skywalking.api.logging.api.LogManager;
|
||||
|
||||
import java.io.BufferedInputStream;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.queue;
|
||||
package com.a.eye.skywalking.api.queue;
|
||||
|
||||
import com.a.eye.skywalking.trace.TraceSegment;
|
||||
import com.lmax.disruptor.EventFactory;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
package com.a.eye.skywalking.queue;
|
||||
package com.a.eye.skywalking.api.queue;
|
||||
|
||||
import com.a.eye.skywalking.conf.Config;
|
||||
import com.a.eye.skywalking.context.TracerContext;
|
||||
import com.a.eye.skywalking.api.context.TracerContext;
|
||||
import com.a.eye.skywalking.context.TracerContextListener;
|
||||
import com.a.eye.skywalking.health.report.HealthCollector;
|
||||
import com.a.eye.skywalking.health.report.HeathReading;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.util;
|
||||
package com.a.eye.skywalking.api.util;
|
||||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.IOException;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.util;
|
||||
package com.a.eye.skywalking.api.util;
|
||||
|
||||
import java.lang.management.ManagementFactory;
|
||||
import java.net.InetAddress;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.util;
|
||||
package com.a.eye.skywalking.api.util;
|
||||
|
||||
/**
|
||||
* Created data xin on 2016/12/4.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.util;
|
||||
package com.a.eye.skywalking.api.util;
|
||||
|
||||
import com.a.eye.skywalking.conf.Constants;
|
||||
import java.util.UUID;
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
package com.a.eye.skywalking.plugin.interceptor.enhance;
|
||||
|
||||
public interface FieldGetter {
|
||||
Object getValue();
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.context;
|
||||
package com.a.eye.skywalking.api.context;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.context;
|
||||
package com.a.eye.skywalking.api.context;
|
||||
|
||||
import com.a.eye.skywalking.trace.Span;
|
||||
import com.a.eye.skywalking.trace.TraceSegment;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.context;
|
||||
package com.a.eye.skywalking.api.context;
|
||||
|
||||
import com.a.eye.skywalking.trace.TraceSegment;
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.context;
|
||||
package com.a.eye.skywalking.api.context;
|
||||
|
||||
import com.a.eye.skywalking.trace.Span;
|
||||
import com.a.eye.skywalking.trace.TraceSegment;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin;
|
||||
package com.a.eye.skywalking.api.plugin;
|
||||
|
||||
public class BeInterceptedClass {
|
||||
public BeInterceptedClass(){
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin;
|
||||
package com.a.eye.skywalking.api.plugin;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
@ -1,9 +1,7 @@
|
|||
package com.a.eye.skywalking.plugin;
|
||||
package com.a.eye.skywalking.api.plugin;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import com.a.eye.skywalking.plugin.PluginResourcesResolver;
|
||||
|
||||
public class PluginResourceResoverTest {
|
||||
|
||||
public static void main(String[] args) throws IOException {
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
package com.a.eye.skywalking.plugin;
|
||||
package com.a.eye.skywalking.api.plugin;
|
||||
|
||||
import com.a.eye.skywalking.plugin.interceptor.EnhancedClassInstanceContext;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.EnhancedClassInstanceContext;
|
||||
import com.a.eye.skywalking.plugin.interceptor.enhance.ConstructorInvokeContext;
|
||||
import com.a.eye.skywalking.plugin.interceptor.enhance.InstanceMethodInvokeContext;
|
||||
import com.a.eye.skywalking.plugin.interceptor.enhance.InstanceMethodsAroundInterceptor;
|
||||
import com.a.eye.skywalking.plugin.interceptor.enhance.MethodInterceptResult;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.enhance.InstanceMethodsAroundInterceptor;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.enhance.MethodInterceptResult;
|
||||
|
||||
public class TestAroundInterceptor implements InstanceMethodsAroundInterceptor {
|
||||
|
||||
|
|
@ -1,9 +1,11 @@
|
|||
package com.a.eye.skywalking.plugin;
|
||||
package com.a.eye.skywalking.api.plugin;
|
||||
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.ConstructorInterceptPoint;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.InstanceMethodsInterceptPoint;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.StaticMethodsInterceptPoint;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.enhance.ClassEnhancePluginDefine;
|
||||
import com.a.eye.skywalking.plugin.interceptor.ConstructorInterceptPoint;
|
||||
import com.a.eye.skywalking.plugin.interceptor.InstanceMethodsInterceptPoint;
|
||||
import com.a.eye.skywalking.plugin.interceptor.StaticMethodsInterceptPoint;
|
||||
import com.a.eye.skywalking.plugin.interceptor.enhance.ClassEnhancePluginDefine;
|
||||
import net.bytebuddy.description.method.MethodDescription;
|
||||
import net.bytebuddy.matcher.ElementMatcher;
|
||||
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
package com.a.eye.skywalking.plugin;
|
||||
package com.a.eye.skywalking.api.plugin;
|
||||
|
||||
import com.a.eye.skywalking.plugin.interceptor.enhance.MethodInterceptResult;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.enhance.MethodInterceptResult;
|
||||
import com.a.eye.skywalking.plugin.interceptor.enhance.MethodInvokeContext;
|
||||
import com.a.eye.skywalking.plugin.interceptor.enhance.StaticMethodInvokeContext;
|
||||
import com.a.eye.skywalking.plugin.interceptor.enhance.StaticMethodsAroundInterceptor;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.enhance.StaticMethodInvokeContext;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.enhance.StaticMethodsAroundInterceptor;
|
||||
|
||||
public class TestStaticAroundInterceptor implements StaticMethodsAroundInterceptor {
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin.dubbo;
|
||||
package com.a.eye.skywalking.api.plugin.dubbo;
|
||||
|
||||
import com.a.eye.skywalking.api.IBuriedPointType;
|
||||
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
package com.a.eye.skywalking.plugin.dubbo;
|
||||
package com.a.eye.skywalking.api.plugin.dubbo;
|
||||
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.InstanceMethodsInterceptPoint;
|
||||
import com.a.eye.skywalking.plugin.interceptor.ConstructorInterceptPoint;
|
||||
import com.a.eye.skywalking.plugin.interceptor.InstanceMethodsInterceptPoint;
|
||||
import com.a.eye.skywalking.plugin.interceptor.enhance.ClassInstanceMethodsEnhancePluginDefine;
|
||||
import net.bytebuddy.description.method.MethodDescription;
|
||||
import net.bytebuddy.matcher.ElementMatcher;
|
||||
|
|
@ -1,15 +1,15 @@
|
|||
package com.a.eye.skywalking.plugin.dubbo;
|
||||
package com.a.eye.skywalking.api.plugin.dubbo;
|
||||
|
||||
import com.a.eye.skywalking.api.plugin.dubbox.bugfix.below283.BugFixAcitve;
|
||||
import com.a.eye.skywalking.api.plugin.dubbox.bugfix.below283.SWBaseBean;
|
||||
import com.a.eye.skywalking.invoke.monitor.RPCClientInvokeMonitor;
|
||||
import com.a.eye.skywalking.invoke.monitor.RPCServerInvokeMonitor;
|
||||
import com.a.eye.skywalking.model.ContextData;
|
||||
import com.a.eye.skywalking.model.Identification;
|
||||
import com.a.eye.skywalking.plugin.dubbox.bugfix.below283.BugFixAcitve;
|
||||
import com.a.eye.skywalking.plugin.dubbox.bugfix.below283.SWBaseBean;
|
||||
import com.a.eye.skywalking.plugin.interceptor.EnhancedClassInstanceContext;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.EnhancedClassInstanceContext;
|
||||
import com.a.eye.skywalking.plugin.interceptor.enhance.InstanceMethodInvokeContext;
|
||||
import com.a.eye.skywalking.plugin.interceptor.enhance.InstanceMethodsAroundInterceptor;
|
||||
import com.a.eye.skywalking.plugin.interceptor.enhance.MethodInterceptResult;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.enhance.InstanceMethodsAroundInterceptor;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.enhance.MethodInterceptResult;
|
||||
import com.alibaba.dubbo.rpc.Invocation;
|
||||
import com.alibaba.dubbo.rpc.Invoker;
|
||||
import com.alibaba.dubbo.rpc.Result;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin.dubbox.bugfix.below283;
|
||||
package com.a.eye.skywalking.api.plugin.dubbox.bugfix.below283;
|
||||
|
||||
public final class BugFixAcitve {
|
||||
public static boolean isActive = false;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin.dubbox.bugfix.below283;
|
||||
package com.a.eye.skywalking.api.plugin.dubbox.bugfix.below283;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package com.a.eye.skywalking.plugin.httpClient.v4;
|
||||
package com.a.eye.skywalking.api.plugin.httpClient.v4;
|
||||
|
||||
import com.a.eye.skywalking.plugin.interceptor.EnhancedClassInstanceContext;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.EnhancedClassInstanceContext;
|
||||
import com.a.eye.skywalking.plugin.interceptor.enhance.ConstructorInvokeContext;
|
||||
import org.apache.http.HttpHost;
|
||||
import org.apache.http.HttpRequest;
|
||||
|
|
@ -8,8 +8,8 @@ import org.apache.http.HttpRequest;
|
|||
import com.a.eye.skywalking.invoke.monitor.RPCClientInvokeMonitor;
|
||||
import com.a.eye.skywalking.model.Identification;
|
||||
import com.a.eye.skywalking.plugin.interceptor.enhance.InstanceMethodInvokeContext;
|
||||
import com.a.eye.skywalking.plugin.interceptor.enhance.InstanceMethodsAroundInterceptor;
|
||||
import com.a.eye.skywalking.plugin.interceptor.enhance.MethodInterceptResult;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.enhance.InstanceMethodsAroundInterceptor;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.enhance.MethodInterceptResult;
|
||||
|
||||
public class HttpClientExecuteInterceptor implements InstanceMethodsAroundInterceptor {
|
||||
/**
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin.httpClient.v4;
|
||||
package com.a.eye.skywalking.api.plugin.httpClient.v4;
|
||||
|
||||
import com.a.eye.skywalking.api.IBuriedPointType;
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package com.a.eye.skywalking.plugin.httpClient.v4.define;
|
||||
package com.a.eye.skywalking.api.plugin.httpClient.v4.define;
|
||||
|
||||
import com.a.eye.skywalking.plugin.interceptor.InstanceMethodsInterceptPoint;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.InstanceMethodsInterceptPoint;
|
||||
import net.bytebuddy.description.method.MethodDescription;
|
||||
import net.bytebuddy.matcher.ElementMatcher;
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package com.a.eye.skywalking.plugin.httpClient.v4.define;
|
||||
package com.a.eye.skywalking.api.plugin.httpClient.v4.define;
|
||||
|
||||
import com.a.eye.skywalking.plugin.interceptor.InstanceMethodsInterceptPoint;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.InstanceMethodsInterceptPoint;
|
||||
import net.bytebuddy.description.method.MethodDescription;
|
||||
import net.bytebuddy.matcher.ElementMatcher;
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin.httpClient.v4.define;
|
||||
package com.a.eye.skywalking.api.plugin.httpClient.v4.define;
|
||||
|
||||
import com.a.eye.skywalking.plugin.interceptor.ConstructorInterceptPoint;
|
||||
import com.a.eye.skywalking.plugin.interceptor.enhance.ClassInstanceMethodsEnhancePluginDefine;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package com.a.eye.skywalking.plugin.httpClient.v4.define;
|
||||
package com.a.eye.skywalking.api.plugin.httpClient.v4.define;
|
||||
|
||||
import com.a.eye.skywalking.plugin.interceptor.InstanceMethodsInterceptPoint;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.InstanceMethodsInterceptPoint;
|
||||
import net.bytebuddy.description.method.MethodDescription;
|
||||
import net.bytebuddy.matcher.ElementMatcher;
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package com.a.eye.skywalking.plugin.httpClient.v4.define;
|
||||
package com.a.eye.skywalking.api.plugin.httpClient.v4.define;
|
||||
|
||||
import com.a.eye.skywalking.plugin.interceptor.InstanceMethodsInterceptPoint;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.InstanceMethodsInterceptPoint;
|
||||
import net.bytebuddy.description.method.MethodDescription;
|
||||
import net.bytebuddy.matcher.ElementMatcher;
|
||||
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
package com.a.eye.skywalking.plugin.jdbc;
|
||||
package com.a.eye.skywalking.api.plugin.jdbc;
|
||||
|
||||
import com.a.eye.skywalking.api.plugin.jdbc.define.JDBCBuriedPointType;
|
||||
import com.a.eye.skywalking.invoke.monitor.RPCClientInvokeMonitor;
|
||||
import com.a.eye.skywalking.model.Identification;
|
||||
import com.a.eye.skywalking.plugin.jdbc.define.JDBCBuriedPointType;
|
||||
|
||||
import java.sql.SQLException;
|
||||
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
package com.a.eye.skywalking.plugin.jdbc;
|
||||
package com.a.eye.skywalking.api.plugin.jdbc;
|
||||
|
||||
import com.a.eye.skywalking.api.plugin.jdbc.define.JDBCBuriedPointType;
|
||||
import com.a.eye.skywalking.model.Identification;
|
||||
import com.a.eye.skywalking.invoke.monitor.RPCClientInvokeMonitor;
|
||||
import com.a.eye.skywalking.plugin.jdbc.define.JDBCBuriedPointType;
|
||||
|
||||
import java.sql.SQLException;
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package com.a.eye.skywalking.plugin.jdbc;
|
||||
package com.a.eye.skywalking.api.plugin.jdbc;
|
||||
|
||||
import com.a.eye.skywalking.context.ContextManager;
|
||||
import com.a.eye.skywalking.api.context.ContextManager;
|
||||
import com.a.eye.skywalking.trace.Span;
|
||||
import com.a.eye.skywalking.trace.tag.Tags;
|
||||
import java.sql.SQLException;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin.jdbc;
|
||||
package com.a.eye.skywalking.api.plugin.jdbc;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.io.Reader;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin.jdbc;
|
||||
package com.a.eye.skywalking.api.plugin.jdbc;
|
||||
|
||||
import java.sql.*;
|
||||
import java.util.Map;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin.jdbc;
|
||||
package com.a.eye.skywalking.api.plugin.jdbc;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.io.Reader;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin.jdbc;
|
||||
package com.a.eye.skywalking.api.plugin.jdbc;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.ResultSet;
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
package com.a.eye.skywalking.plugin.jdbc;
|
||||
package com.a.eye.skywalking.api.plugin.jdbc;
|
||||
|
||||
import com.a.eye.skywalking.api.plugin.jdbc.define.JDBCBuriedPointType;
|
||||
import com.a.eye.skywalking.model.Identification;
|
||||
import com.a.eye.skywalking.invoke.monitor.RPCClientInvokeMonitor;
|
||||
import com.a.eye.skywalking.plugin.jdbc.define.JDBCBuriedPointType;
|
||||
|
||||
import java.sql.SQLException;
|
||||
|
||||
|
|
@ -1,7 +1,8 @@
|
|||
package com.a.eye.skywalking.plugin.jdbc.define;
|
||||
package com.a.eye.skywalking.api.plugin.jdbc.define;
|
||||
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.ConstructorInterceptPoint;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.InstanceMethodsInterceptPoint;
|
||||
import com.a.eye.skywalking.plugin.interceptor.ConstructorInterceptPoint;
|
||||
import com.a.eye.skywalking.plugin.interceptor.InstanceMethodsInterceptPoint;
|
||||
import com.a.eye.skywalking.plugin.interceptor.enhance.ClassInstanceMethodsEnhancePluginDefine;
|
||||
import net.bytebuddy.description.method.MethodDescription;
|
||||
import net.bytebuddy.matcher.ElementMatcher;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin.jdbc.define;
|
||||
package com.a.eye.skywalking.api.plugin.jdbc.define;
|
||||
|
||||
public class H2PluginDefine extends AbstractDatabasePluginDefine {
|
||||
@Override
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.a.eye.skywalking.plugin.jdbc.define;
|
||||
package com.a.eye.skywalking.api.plugin.jdbc.define;
|
||||
|
||||
import com.a.eye.skywalking.api.IBuriedPointType;
|
||||
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
package com.a.eye.skywalking.plugin.jdbc.define;
|
||||
package com.a.eye.skywalking.api.plugin.jdbc.define;
|
||||
|
||||
import com.a.eye.skywalking.plugin.interceptor.EnhancedClassInstanceContext;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.EnhancedClassInstanceContext;
|
||||
import com.a.eye.skywalking.plugin.interceptor.enhance.ConstructorInvokeContext;
|
||||
import com.a.eye.skywalking.plugin.interceptor.enhance.MethodInterceptResult;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.enhance.MethodInterceptResult;
|
||||
import com.a.eye.skywalking.plugin.interceptor.enhance.InstanceMethodInvokeContext;
|
||||
import com.a.eye.skywalking.plugin.interceptor.enhance.InstanceMethodsAroundInterceptor;
|
||||
import com.a.eye.skywalking.plugin.jdbc.SWConnection;
|
||||
import com.a.eye.skywalking.api.plugin.interceptor.enhance.InstanceMethodsAroundInterceptor;
|
||||
import com.a.eye.skywalking.api.plugin.jdbc.SWConnection;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.util.Properties;
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue