1 26 package org.objectweb.openccm.descriptor.softpkg.ccm; 27 28 import java.io.IOException ; 29 30 import org.objectweb.openccm.descriptor.componentassembly.ccm.deployer.base.FatalDeploymentException; 31 32 40 public class DescriptorDeployer 41 extends DescriptorDeployerContext 42 implements DescriptorDeployerInterface { 43 44 47 public String getComponentRepid() throws FatalDeploymentException { 48 return getCorbaComponentDeployer().getComponentRepid(); 50 } 51 52 55 public String getHomeRepid() throws FatalDeploymentException { 56 return getCorbaComponentDeployer().getHomeRepid(); 58 } 59 60 public void initializeCorbaComponentTree() 61 throws CorbaComponentFileLoadingFailureException{ 62 63 try { 64 connectCorbacomponent( 65 org.objectweb.openccm.descriptor 66 .corbacomponent.beans.CorbacomponentBeanImpl 67 .unmarshalBean(getFileinarchiveDeployer() 68 .getInputStreamReader(),true)); 69 } 70 catch (IOException e) { 71 throw new CorbaComponentFileLoadingFailureException(this,e); 72 } 73 } 74 } 75 | Popular Tags |