1 26 27 package org.objectweb.ccm.hello.monolithic; 28 29 import org.objectweb.ccm.hello.*; 30 31 40 41 public class ServerImpl 42 extends org.omg.CORBA.LocalObject 43 implements CCM_Server, 44 CCM_HelloWorld, 45 org.omg.Components.SessionComponent 46 { 47 53 54 private CCM_Server_Context the_context_; 55 56 62 63 public 64 ServerImpl() 65 { 66 } 67 68 74 80 86 92 public void 93 configuration_complete () 94 throws org.omg.Components.InvalidConfiguration 95 { 96 } 98 99 105 112 public void 113 set_session_context(org.omg.Components.SessionContext context) 114 throws org.omg.Components.CCMException 115 { 116 the_context_ = (CCM_Server_Context)context; 117 } 118 119 129 public void 130 ccm_activate() 131 throws org.omg.Components.CCMException 132 { 133 } 135 136 146 public void 147 ccm_passivate() 148 throws org.omg.Components.CCMException 149 { 150 } 152 153 163 public void 164 ccm_remove() 165 throws org.omg.Components.CCMException 166 { 167 } 169 170 176 179 public String 180 say_hello() 181 { 182 return "hello world !!"; 183 } 184 185 191 196 public CCM_HelloWorld 197 get_for_clients() 198 { 199 return this; 200 } 201 } 202 | Popular Tags |