1 26 package org.objectweb.openccm.descriptor.componentassembly.ccm.deployer.installer; 27 28 import org.objectweb.openccm.descriptor.componentassembly.ccm.deployer.base.FatalDeploymentException; 29 import org.omg.Components.CCMHome; 30 import org.omg.Components.Deployment.ComponentInstallation; 31 32 40 public class HostcollocationDestinationWrapper 41 extends DestinationDeployerBase 42 { 43 private DestinationDeployerBase wrappedDestination; 49 55 61 69 public DestinationDeployerBase getWrappedDestination() { 70 return wrappedDestination; 71 } 72 75 public void 76 connectWrappedDestination(DestinationDeployerBase wrappedDestination) 77 { 78 this.wrappedDestination = wrappedDestination; 79 } 80 81 82 89 public void 90 resolveDependency() 91 throws FatalDeploymentException 92 { 93 getWrappedDestination().connectSoftpkgDeployer(getSoftpkgDeployer()); 94 getWrappedDestination().connectImplementationDeployer(getImplementationDeployer()); 95 getWrappedDestination().resolveDependency(); 96 } 97 104 public CCMHome 105 installHome() 106 throws FatalDeploymentException 107 { 108 getWrappedDestination().connectSoftpkgDeployer(getSoftpkgDeployer()); 109 getWrappedDestination().connectImplementationDeployer(getImplementationDeployer()); 110 return getWrappedDestination().installHome(); 111 } 112 119 public ComponentInstallation 120 getComponentInstallation() 121 throws FatalDeploymentException 122 { 123 return getWrappedDestination().getComponentInstallation(); 124 } 125 131 public void 132 removeHome(CCMHome home) 133 throws FatalDeploymentException 134 { 135 getWrappedDestination().removeHome(home); 136 } 137 138 } 139 | Popular Tags |