List of usage examples for java.lang.instrument ClassFileTransformer interface-usage
From source file com.gfactor.jpa.core.MyClassFileTransformerAdapter.java
/**
* Simple adapter that implements the <code>java.lang.instrument.ClassFileTransformer</code>
* interface based on a JPA ClassTransformer which a JPA PersistenceProvider asks the
* PersistenceUnitInfo to install in the current runtime.
*
* @author Rod Johnson
From source file com.diaimm.april.db.jpa.hibernate.multidbsupport.ClassFileTransformerAdapter.java
/**
* Simple adapter that implements the <code>java.lang.instrument.ClassFileTransformer</code>
* interface based on a JPA ClassTransformer which a JPA PersistenceProvider asks the
* PersistenceUnitInfo to install in the current runtime.
*
* @author Rod Johnson
From source file org.springframework.orm.jpa.persistenceunit.ClassFileTransformerAdapter.java
/**
* Simple adapter that implements the {@code java.lang.instrument.ClassFileTransformer}
* interface based on a JPA {@code ClassTransformer} which a JPA PersistenceProvider
* asks the {@code PersistenceUnitInfo} to install in the current runtime.
*
* @author Rod Johnson
From source file com.xiaoqq.practise.threadmonitor.Agent.java
public class Agent implements ClassFileTransformer { // Ignore list to eliminate endless recursion. private static String[] ignoreList = new String[] { "com/xiaoqq/practise/threadmonitor", "sun", "java", "javax", "org", "com/sun", "com/intellij", "org/objectweb", "org/apache", "groovy" };
From source file org.kantega.notsoserial.NotSoSerialClassFileTransformer.java
/** * */ public class NotSoSerialClassFileTransformer implements ClassFileTransformer { public static final Set<String> blacklist = new HashSet<String>();
From source file com.facebook.infrastructure.continuations.ContinuationClassTransformer.java
/** * Author : Avinash Lakshman ( alakshman@facebook.com) & Prashant Malik ( * pmalik@facebook.com ) */ class ContinuationClassTransformer implements ClassFileTransformer {
From source file org.metricagent.agent.MetricAgent.java
public class MetricAgent implements ClassFileTransformer { private static final String CONFIGURATION_FILENAME = "configuration.xml"; private static Log log = Log.getLogger(MetricAgent.class); private static Configuration configuration; public static void premain(String agentArgument, Instrumentation instrumentation) {
From source file org.kantega.revoc.agent.RevocClassTransformer.java
/** * */ public class RevocClassTransformer implements ClassFileTransformer { private static Logger log = LogFactory.getLogger(RevocClassTransformer.class);
From source file org.wso2.das.javaagent.instrumentation.InstrumentationClassTransformer.java
/**
* InstrumentationClassTransformer handles the main instrumentation of classes loaded onto JVM.
* When a class is loaded it checks for a match in the Map created by the InstrumentingAgent.
* Bytecode of the selected class will be modified using Javassist.
* CtMethod object will be obtained by matching the method name and method signature.
* Each instrumenting method will be injected at three different locations to publish events
From source file org.apache.cassandra.continuations.ContinuationClassTransformer.java
/** * Author : Avinash Lakshman ( alakshman@facebook.com) & Prashant Malik ( pmalik@facebook.com ) */ class ContinuationClassTransformer implements ClassFileTransformer { private static final String targetAnnotation_ = "Suspendable";