1 28 29 30 package org.objectweb.ccm.logservice; 31 32 import org.objectweb.corba.runtime.*; 33 import org.objectweb.corba.logservice.*; 34 35 38 public class LogCallControllerFactoryImpl 39 extends org.omg.CORBA.LocalObject 40 implements org.coach.ECA.CallControllerFactory 41 { 42 private LogCurrent _current; 44 45 public 46 LogCallControllerFactoryImpl(LogCurrent current) 47 { 48 _current = current; 49 } 50 51 55 final public org.coach.ECA.CallController 56 create_call_controller(org.omg.CORBA.Policy pol, 57 org.coach.ECA.CallControllerInitInfo info) 58 { 59 LogPolicy lpol = LogPolicyHelper.narrow(pol); 60 return new LogCallControllerImpl(_current, lpol.log_scheme()); 61 } 62 } 63 | Popular Tags |