1 26 package org.objectweb.openccm.descriptor.componentassembly.ccm.deployer.util; 27 28 import org.objectweb.openccm.descriptor.componentassembly.beans.FileinarchiveBeanImpl; 30 import org.objectweb.openccm.descriptor.componentassembly.ccm.deployer.base.*; 31 39 public class FileinarchiveDeployerHandler 40 extends HandlerBase 41 { 42 private FileinarchiveDeployer _deploy; 48 71 public Object 72 getInstance(FileinarchiveBeanImpl cons) 73 throws InitializationError 74 { 75 if (_deploy == null) { 76 _deploy = new FileinarchiveDeployer(); 77 _deploy.connectFileinarchive(cons); 78 applyCommonConfig(_deploy); 79 if(cons.getLink()!=null) 80 _deploy.connectLinkDeployer((LinkDeployer)getDeployer(cons.getLink())); 81 82 _deploy.initialize(); 83 } 84 return (_deploy); 85 } 86 87 } 88 | Popular Tags |