1 26 package org.objectweb.openccm.descriptor.componentassembly.ccm.deployer.installer; 27 28 import org.objectweb.openccm.descriptor.componentassembly.beans.NodeBeanImpl; 29 import org.objectweb.openccm.descriptor.componentassembly.ccm.deployer.base.HandlerBase; 30 import org.objectweb.openccm.descriptor.componentassembly.ccm.deployer.base.InitializationError; 31 32 40 public class NodeDeployerHandler 41 extends HandlerBase 42 { 43 private NodeDeployer _deploy; 49 72 public Object 73 getInstance(NodeBeanImpl cons) 74 throws InitializationError 75 { 76 if (_deploy == null) { 77 _deploy=new NodeDeployer(); 78 _deploy.connectNode(cons); 79 applyCommonConfig(_deploy); 80 _deploy.initialize(); 81 } 82 return (_deploy); 83 } 84 } 85 | Popular Tags |