1 26 package org.objectweb.openccm.descriptor.componentassembly.ccm.deployer.installer; 27 28 import org.objectweb.openccm.descriptor.componentassembly.beans.ComponentpropertiesBeanImpl; 29 import org.objectweb.openccm.descriptor.componentassembly.ccm.deployer.base.*; 30 import org.objectweb.openccm.descriptor.componentassembly.ccm.deployer.util.FileinarchiveDeployer; 31 32 39 public class ComponentpropertiesDeployerHandler 40 extends HandlerBase 41 { 42 43 private ComponentpropertiesDeployer _deploy; 49 72 public Object 73 getInstance(ComponentpropertiesBeanImpl bean) 74 throws InitializationError 75 { 76 if(_deploy==null) 77 { 78 _deploy=new ComponentpropertiesDeployer(); 79 applyCommonConfig(_deploy); 80 _deploy.connectComponentproperties(bean); 81 _deploy.connectFileinarchiveDeployer 82 ((FileinarchiveDeployer)getDeployer(bean.getFileinarchive())); 83 _deploy.initialize(); 84 } 85 return (_deploy); 86 } 87 88 } 89 | Popular Tags |