Examples of IClassDependencyPool


Examples of net.sourceforge.javautil.classloader.resolver.IClassDependencyPool

    if (this.descriptor != null) {
      this.setReloadable(this.descriptor.isAutoRestart());
    }
   
    this.initializeWebXml();
    IClassDependencyPool pool = this.classContext.getPool();
   
    this.loadExtension(ctx, pool, new MavenExtension(name, this));
   
    for (String name : this.extensions.keySet()) {
      ClassDescriptor cd = ClassCache.getFor(ReflectionUtil.getClass(this.extensions.get(name).className, this.classContext));
View Full Code Here

Examples of net.sourceforge.javautil.classloader.resolver.IClassDependencyPool

   *
   * @return A dependency pool containing all the recursive dependencies that do not conflict with already
   * loaded {@link IClassPackage}'s in the parent {@link #pool}.
   */
  public static IClassDependencyPool createFrom (IClassPackageResolver local, ProjectObjectModel model, IClassPackageDependencyReference... dependencies) {
    IClassDependencyPool pool = ClassPackageUtil.createStandardDependencyPool("Maven Pool: " + model, true, PoolScope.Root);
   
    List<? extends IClassPackageReference> modeDependencies = model.getDependencies();
    ClassPackageUtil.append(pool, local, true, model,
      CollectionUtil.insert(dependencies, 0, (Object[]) modeDependencies.toArray(new IClassPackageReference[modeDependencies.size()]))
    );
View Full Code Here

Examples of net.sourceforge.javautil.classloader.resolver.IClassDependencyPool

   * @param parent The parent class loader, or null if it does not apply
   * @return A standard dependency pool, possibly connected with any {@link MavenEntryPoint} that may have have been used
   */
  public static IClassDependencyPool createStandardDependencyPool (String name, boolean usePackageContext, PoolScope scope, IClassDependencyPool parent) {
    if (usePackageContext && ClassPackageContext.getDependencyPool() != null) {
      IClassDependencyPool pool = null;
     
      if (parent != null) {
        pool = parent.createChild(name, scope);
      } else {
        pool = ClassPackageContext.getDependencyPool().createChild(name, scope);
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.