Example usage for org.objectweb.asm Opcodes interface-usage

List of usage examples for org.objectweb.asm Opcodes interface-usage

Introduction

In this page you can find the example usage for org.objectweb.asm Opcodes interface-usage.

Usage

From source file scouter.agent.asm.ApicallSpringHandleResponseASM.java

public class ApicallSpringHandleResponseASM implements IASM, Opcodes {

    private Map<String, HookingSet> reserved = new HashMap<String, HookingSet>();

    public ApicallSpringHandleResponseASM() {
        AsmUtil.add(reserved, "org/springframework/web/client/RestTemplate",

From source file scouter.agent.asm.ApicallSpringHttpAccessorASM.java

public class ApicallSpringHttpAccessorASM implements IASM, Opcodes {
    private Map<String, HookingSet> reserved = new HashMap<String, HookingSet>();

    public ApicallSpringHttpAccessorASM() {
        AsmUtil.add(reserved, "org/springframework/http/client/support/HttpAccessor",
                "createRequest(Ljava/net/URI;Lorg/springframework/http/HttpMethod;)Lorg/springframework/http/client/ClientHttpRequest;");

From source file scouter.agent.asm.asyncsupport.AsyncContextDispatchASM.java

/**
 * @author Gun Lee (gunlee01@gmail.com) on 2017. 2. 24.
 */
public class AsyncContextDispatchASM implements IASM, Opcodes {
    private static List<String> preservedAsyncContextDispatchPatterns = new ArrayList<String>();
    public final static String ON_COMPLETE_SELF_DISPATCH_METHOD = "dispatch()V";

From source file scouter.agent.asm.asyncsupport.CallRunnableASM.java

/**
 * @author Gun Lee (gunlee01@gmail.com) on 2017. 2. 21.
 */
public class CallRunnableASM implements IASM, Opcodes {

    private Configure conf = Configure.getInstance();

From source file scouter.agent.asm.asyncsupport.executor.ExecutorServiceASM.java

/**
 * @author Gun Lee (gunlee01@gmail.com) on 2017. 7. 29.
 */
public class ExecutorServiceASM implements IASM, Opcodes {
    private static final String THREAD_POOL_EXECUTOR_CLASS_NAME = "java/util/concurrent/ThreadPoolExecutor";
    private static final String ABSTRACT_EXECUTOR_SERVICE_CLASS_NAME = "java/util/concurrent/AbstractExecutorService";

From source file scouter.agent.asm.asyncsupport.HystrixCommandASM.java

/**
 * @author Gun Lee (gunlee01@gmail.com) on 2017. 2. 21.
 */
public class HystrixCommandASM implements IASM, Opcodes {
    private Configure conf = Configure.getInstance();
    private List<HookingSet> prepareTarget = HookingSet.getHookingMethodSet("");

From source file scouter.agent.asm.asyncsupport.LambdaFormASM.java

/**
 * @author Gun Lee (gunlee01@gmail.com) on 2017. 2. 24.
 */
public class LambdaFormASM implements ILASM, Opcodes {
    private Configure conf = Configure.getInstance();

From source file scouter.agent.asm.asyncsupport.RequestStartAsyncASM.java

/**
 * @author Gun Lee (gunlee01@gmail.com) on 2017. 2. 21.
 */
public class RequestStartAsyncASM implements IASM, Opcodes {
    private static List<String> preservedAsyncServletStartPatterns = new ArrayList<String>();
    static {

From source file scouter.agent.asm.asyncsupport.spring.SpringAsyncExecutionAspectSupportDoSubmitASM.java

/**
 * @author Gun Lee (gunlee01@gmail.com) on 2018. 7. 7.
 */
public class SpringAsyncExecutionAspectSupportDoSubmitASM implements IASM, Opcodes {
    private static List<String> doSumitPatterns = new ArrayList<String>();
    static {

From source file scouter.agent.asm.CapArgsASM.java

public class CapArgsASM implements IASM, Opcodes {
    private List<HookingSet> target = HookingSet.getHookingMethodSet(Configure.getInstance().hook_args_patterns);

    public ClassVisitor transform(ClassVisitor cv, String className, ClassDesc classDesc) {
        if (Configure.getInstance()._hook_cap_enabled == false) {
            return cv;