1 28 package org.objectweb.carol.rmi.iiop.interceptor; 29 30 import org.omg.CORBA.LocalObject ; 32 import org.omg.PortableInterceptor.ORBInitInfo ; 33 import org.omg.PortableInterceptor.ORBInitializer ; 34 35 import org.objectweb.carol.util.configuration.TraceCarol; 36 37 44 public class ProtocolInitializer extends LocalObject implements ORBInitializer { 45 46 49 public void pre_init(ORBInitInfo info) { 50 try { 51 info.add_server_request_interceptor(new ProtocolInterceptor()); 52 } catch (Exception e) { 53 TraceCarol.error("ProtocolInitializer.pre_init(ORBInitInfo info) could'nt instantiate iiop Interceptor", e); 54 } 55 } 56 57 60 public void post_init(ORBInitInfo info) { 61 } 63 64 } | Popular Tags |