1 7 8 9 package com.sun.corba.se.impl.protocol ; 10 11 import org.omg.CORBA.portable.ServantObject ; 12 13 import com.sun.corba.se.spi.protocol.LocalClientRequestDispatcherFactory ; 14 import com.sun.corba.se.spi.protocol.LocalClientRequestDispatcher ; 15 16 import com.sun.corba.se.spi.ior.IOR ; 17 18 import com.sun.corba.se.spi.oa.OAInvocationInfo ; 19 20 import com.sun.corba.se.spi.orb.ORB ; 21 22 public class MinimalServantCacheLocalCRDImpl extends ServantCacheLocalCRDBase 23 { 24 public MinimalServantCacheLocalCRDImpl( ORB orb, int scid, IOR ior ) 25 { 26 super( (com.sun.corba.se.spi.orb.ORB)orb, scid, ior ) ; 27 } 28 29 public ServantObject servant_preinvoke( org.omg.CORBA.Object self, 30 String operation, Class expectedType ) 31 { 32 OAInvocationInfo cachedInfo = getCachedInfo() ; 33 if (checkForCompatibleServant( cachedInfo, expectedType )) 34 return cachedInfo ; 35 else 36 return null ; 37 } 38 39 public void servant_postinvoke(org.omg.CORBA.Object self, 40 ServantObject servantobj) 41 { 42 } 43 } 44 | Popular Tags |