Package org.springframework.instrument.classloading

Examples of org.springframework.instrument.classloading.ResourceOverridingShadowingClassLoader.addTransformer()


  @Override
  protected void customizeResourceOverridingShadowingClassLoader(ClassLoader shadowingClassLoader) {
    ResourceOverridingShadowingClassLoader orxl = (ResourceOverridingShadowingClassLoader) shadowingClassLoader;
    orxl.override(DEFAULT_AOP_XML_LOCATION, getActualAopXmlLocation());
    orxl.addTransformer(new ClassPreProcessorAgentAdapter());
  }

  /**
   * Return the actual location of the <code>aop.xml</code> file
   * in the class path. The default is "META-INF/aop.xml".
View Full Code Here


  @Override
  protected void customizeResourceOverridingShadowingClassLoader(ClassLoader shadowingClassLoader) {
    ResourceOverridingShadowingClassLoader orxl = (ResourceOverridingShadowingClassLoader) shadowingClassLoader;
    orxl.override(DEFAULT_AOP_XML_LOCATION, getActualAopXmlLocation());
    orxl.addTransformer(new ClassPreProcessorAgentAdapter());
  }

  /**
   * Return the actual location of the <code>aop.xml</code> file
   * in the class path. The default is "META-INF/aop.xml".
View Full Code Here

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.