Package net.sourceforge.javautil.deployer.artifact

Examples of net.sourceforge.javautil.deployer.artifact.LinkedDeployment


  public void link(IVirtualArtifactDeployment deployment, boolean circular) {
    if (this == deployment) return;
   
    if (this.linkedContext == null) this.createLinkedContext(this.getDeployer().getDeploymentClassLoader());
    if (!this.linked.containsKey(this.createUniqueId(deployment.getDeployed()))) {
      this.linked.put(this.createUniqueId(deployment.getDeployed()), new LinkedDeployment(circular, this, deployment));
      if (circular) deployment.link(this, false);
    }
  }
View Full Code Here


  }

  public void unlink(IVirtualArtifactDeployment deployment) {
    if (this == deployment) return;
   
    LinkedDeployment ld = this.linked.remove(this.createUniqueId(deployment.getDeployed()));
    if (ld != null && ld.isCircular()) deployment.unlink(this);
   
    if (this.linkedContext != null) {
      if (this.linked.size() == 0)
        this.classLoader = ((VirtualDeploymentLinkedClassLoaderHeiarchy)this.linkedContext.getHeiarchy()).getClassLoaders()[0];
      else
View Full Code Here

TOP

Related Classes of net.sourceforge.javautil.deployer.artifact.LinkedDeployment

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.