1 26 27 package org.objectweb.openccm.Deployment; 28 29 30 38 public class ContainerLocalImpl 39 extends org.omg.CORBA.LocalObject 40 implements org.objectweb.openccm.Deployment.ContainerLocal 41 { 42 48 51 protected ContainerBase the_container_; 52 53 56 protected org.omg.Components.Deployment.Container the_container_ref; 57 58 64 69 public 70 ContainerLocalImpl(ContainerBase container) 71 { 72 the_container_ = container; 73 } 74 75 81 87 92 public void 93 add_listener (org.objectweb.openccm.Deployment.listener.ContainerListener listener) 94 { 95 the_container_.add_listener (listener); 96 } 97 98 103 public void 104 add_home(org.omg.Components.CCMHome ref) 105 { 106 the_container_.add_home (ref); 107 } 108 109 115 123 public void 124 remove_home(org.omg.Components.CCMHome ref) 125 throws org.omg.Components.RemoveFailure 126 { 127 the_container_.remove_home (ref); 128 } 129 130 138 public org.omg.Components.CCMHome[] 139 get_homes() 140 { 141 return the_container_.get_homes (); 142 } 143 144 151 public void 152 remove() 153 throws org.omg.Components.RemoveFailure 154 { 155 the_container_.remove (); 156 } 157 } 158 159 160 161 | Popular Tags |