FileDocCategorySizeDatePackage
ObjectKeyTemplate.javaAPI DocJava SE 5 API1742Fri Aug 26 14:54:36 BST 2005com.sun.corba.se.spi.ior

ObjectKeyTemplate

public interface ObjectKeyTemplate implements Writeable
An ObjectKeyTemplate represents the part of an Object Key that corresponds to the object adapter used to create an object reference. The template is shared between many object references.

Fields Summary
Constructors Summary
Methods Summary
public byte[]getAdapterId()
Compute an adapter ID for this template than includes all of the template information. This value is cached to avoid the expense of recomputing it.

public java.lang.StringgetORBId()
Return the ORB ID for this template.

public com.sun.corba.se.spi.orb.ORBVersiongetORBVersion()

public ObjectAdapterIdgetObjectAdapterId()
Return the object adapter ID for this template.

public intgetServerId()
Return the server ID for this template. For CORBA 3.0, this should be a String, but it is currently an int in the object key template.

public com.sun.corba.se.spi.protocol.CorbaServerRequestDispatchergetServerRequestDispatcher(com.sun.corba.se.spi.orb.ORB orb, ObjectId id)

public intgetSubcontractId()
An ID used to determine how to perform operations on this ObjectKeyTemplate. This id determines how to process requests on this object reference, and what object adapter type to use.

public voidwrite(ObjectId objectId, org.omg.CORBA_2_3.portable.OutputStream os)