FileDocCategorySizeDatePackage
OldObjectKeyTemplateBase.javaAPI DocJava SE 6 API1156Tue Jun 10 00:21:34 BST 2008com.sun.corba.se.impl.ior

OldObjectKeyTemplateBase

public abstract class OldObjectKeyTemplateBase extends ObjectKeyTemplateBase
author
Ken Cavanaugh

Fields Summary
Constructors Summary
public OldObjectKeyTemplateBase(com.sun.corba.se.spi.orb.ORB orb, int magic, int scid, int serverid, String orbid, com.sun.corba.se.spi.ior.ObjectAdapterId oaid)

	super( orb, magic, scid, serverid, orbid, oaid ) ;

	// set version based on magic
	if (magic == ObjectKeyFactoryImpl.JAVAMAGIC_OLD)
	    setORBVersion( ORBVersionFactory.getOLD() ) ;
	else if (magic == ObjectKeyFactoryImpl.JAVAMAGIC_NEW)
	    setORBVersion( ORBVersionFactory.getNEW() ) ;
	else // any other magic should not be here
	    throw wrapper.badMagic( new Integer( magic ) ) ;
    
Methods Summary