1 22 package org.jboss.aop.deployment; 23 24 import org.jboss.aop.standalone.AOPTransformer; 25 import org.jboss.aop.standalone.PluggableInstrumentor; 26 27 32 public class AspectManagerServiceJDK5 extends AspectManagerService 33 { 34 public AspectManagerServiceJDK5() 35 { 36 } 37 38 public AspectManagerServiceJDK5(String baseXml) 39 { 40 super(baseXml); 41 } 42 43 protected AOPTransformer transformer = new AOPTransformer(); 44 45 protected void attachTranslator() 46 { 47 PluggableInstrumentor.getInstrumentor().addTransformer(transformer); 48 } 49 50 protected void detachTranslator() 51 { 52 PluggableInstrumentor.getInstrumentor().removeTransformer(transformer); 53 } 54 55 } 56 | Popular Tags |