Package org.jboss.aop.eclipsesupport

Source Code of org.jboss.aop.eclipsesupport.Agent

/*    */ package org.jboss.aop.eclipsesupport;
/*    */
/*    */ import java.lang.instrument.Instrumentation;
/*    */ import javassist.scopedpool.ScopedClassPoolRepository;
/*    */ import javassist.scopedpool.ScopedClassPoolRepositoryImpl;
/*    */ import org.jboss.aop.AspectManager;
/*    */ import org.jboss.aop.standalone.StandaloneClassPoolFactory;
/*    */
/*    */ public class Agent
/*    */ {
/*    */   public static void premain(String agentArgs, Instrumentation inst)
/*    */   {
/* 42 */     StandaloneClassPoolFactory factory = new StandaloneClassPoolFactory();
/* 43 */     AspectManager.setClassPoolFactory(factory);
/*    */
/* 45 */     AspectManager.instance();
/* 46 */     ScopedClassPoolRepositoryImpl.getInstance().setPrune(false);
/* 47 */     inst.addTransformer(new EclipseTestTransformer());
/*    */   }
/*    */ }

/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
* Qualified Name:     org.jboss.aop.eclipsesupport.Agent
* JD-Core Version:    0.6.0
*/
TOP

Related Classes of org.jboss.aop.eclipsesupport.Agent

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.