1 26 package org.objectweb.openccm.descriptor.componentassembly.ccm.deployer.installer; 27 28 import org.objectweb.openccm.descriptor.componentassembly.beans.ComponentfilesBeanImpl; 30 import org.objectweb.openccm.descriptor.componentassembly.ccm.deployer.base.*; 31 38 public class ComponentfilesDeployerHandler 39 extends HandlerBase 40 { 41 private ComponentfilesDeployer _deploy; 47 70 public Object 71 getInstance(ComponentfilesBeanImpl comp) 72 throws InitializationError 73 { 74 if(_deploy==null){ 75 _deploy=new ComponentfilesDeployer(); 76 applyCommonConfig(_deploy); 77 _deploy.connectComponentfiles(comp); 78 for(java.util.Iterator i=comp.getComponentfileList().iterator();i.hasNext(); ){ 79 ComponentfileDeployer current=(ComponentfileDeployer) 80 getDeployer(i.next()); 81 _deploy.connectComponentfileDeployer(current); 82 } 83 _deploy.initialize(); 84 } 85 86 return (_deploy); 87 } 88 89 } 90 | Popular Tags |