1 26 package org.objectweb.openccm.descriptor.componentassembly.ccm.deployer.installer; 27 28 import java.util.LinkedList ; 29 import org.objectweb.openccm.descriptor.componentassembly.beans.ProcesscollocationBean; 30 import org.objectweb.openccm.descriptor.componentassembly.ccm.deployer.base.ChildDeployerContext; 31 import org.objectweb.openccm.descriptor.componentassembly.ccm.deployer.base.InitializationError; 32 33 41 public class ProcesscollocationDeployerContext 42 extends ChildDeployerContext 43 { 44 private ProcesscollocationBean processcolloation; 50 private LinkedList homeplacementDeployers; 51 public ProcesscollocationDeployerContext() 57 { 58 homeplacementDeployers=new LinkedList (); 59 } 60 73 public ProcesscollocationBean 74 getProcesscolloation() 75 { 76 return processcolloation; 77 } 78 79 82 public void 83 connectProcesscolloation(ProcesscollocationBean bean) 84 { 85 processcolloation = bean; 86 } 87 88 public void 89 connectHomeplacementDeployer(HomeplacementDeployer home) 90 { 91 this.homeplacementDeployers.addLast(home); 92 } 93 94 public HomeplacementDeployer[] 95 getHomeplacementDeployers() 96 { 97 return (HomeplacementDeployer[]) 98 homeplacementDeployers.toArray 99 (new HomeplacementDeployer[homeplacementDeployers.size()]); 100 } 101 102 109 public void 110 initialize() 111 throws InitializationError 112 { 113 115 } 116 117 } 118 | Popular Tags |