JIDLLocalCRDImpl.javaAPI DocJava SE 5 API1921Fri Aug 26 14:54:30 BST


public class JIDLLocalCRDImpl extends LocalClientRequestDispatcherBase

Fields Summary
protected ServantObject
Constructors Summary
public JIDLLocalCRDImpl(ORB orb, int scid, IOR ior)

	super( (, scid, ior ) ;
Methods Summary
public voidservant_postinvoke(org.omg.CORBA.Object self, org.omg.CORBA.portable.ServantObject servant)

	// NO-OP
public org.omg.CORBA.portable.ServantObjectservant_preinvoke(org.omg.CORBA.Object self, java.lang.String operation, java.lang.Class expectedType)

	if (!checkForCompatibleServant( servant, expectedType ))
	    return null ;

	return servant;
public voidsetServant(java.lang.Object servant)

	if (servant != null && servant instanceof Tie) {
	    this.servant = new ServantObject();
	    this.servant.servant = ((Tie)servant).getTarget();
	} else {
	    this.servant = null;
public voidunexport()

	// DO NOT set the IOR to null.  (Un)exporting is only concerns
	// the servant not the IOR.  If the ior is set to null then
	// null pointer exceptions happen during an colocated invocation.
	// It is better to let the invocation proceed and get OBJECT_NOT_EXIST
	// from the server side.
	//ior = null;
	servant = null;