Package org.aspectj.weaver

Examples of org.aspectj.weaver.WeakClassLoaderReference


  public void initialize(ReferenceType aType, Class aClass, ClassLoader aClassLoader, World aWorld) {
    this.myClass = aClass;
    this.resolvedType = aType;
    this.world = aWorld;
    this.classLoaderReference = new WeakClassLoaderReference((aClassLoader != null) ? aClassLoader : bootClassLoader);
  }
View Full Code Here


   * Set the classloader that this parser should use for type resolution.
   *
   * @param aLoader
   */
  protected void setClassLoader(ClassLoader aLoader) {
    this.classLoaderReference = new WeakClassLoaderReference(aLoader);
    world = new ReflectionWorld(this.classLoaderReference.getClassLoader());
  }
View Full Code Here

  public ReflectionWorld(ClassLoader aClassLoader) {
    super();
    this.setMessageHandler(new ExceptionBasedMessageHandler());
    setBehaveInJava5Way(LangUtil.is15VMOrGreater());
    classLoaderReference = new WeakClassLoaderReference(aClassLoader);
    annotationFinder = makeAnnotationFinderIfAny(classLoaderReference.getClassLoader(), this);
  }
View Full Code Here

  public ReflectionWorld(ClassLoader aClassLoader) {
    super();
    this.setMessageHandler(new ExceptionBasedMessageHandler());
    setBehaveInJava5Way(LangUtil.is15VMOrGreater());
    classLoaderReference = new WeakClassLoaderReference(aClassLoader);
    annotationFinder = makeAnnotationFinderIfAny(classLoaderReference.getClassLoader(), this);
  }
View Full Code Here

  public void initialize(ReferenceType aType, Class aClass, ClassLoader aClassLoader, World aWorld) {
    this.myClass = aClass;
    this.resolvedType = aType;
    this.world = aWorld;
    this.classLoaderReference = new WeakClassLoaderReference((aClassLoader != null) ? aClassLoader : bootClassLoader);
  }
View Full Code Here

TOP

Related Classes of org.aspectj.weaver.WeakClassLoaderReference

Copyright © 2018 www.massapicom. 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.