Package com.sun.corba.se.spi.ior
Interface ObjectKeyTemplate
- All Superinterfaces:
Writeable
- All Known Implementing Classes:
JIDLObjectKeyTemplate,NewObjectKeyTemplateBase,ObjectKeyTemplateBase,OldJIDLObjectKeyTemplate,OldObjectKeyTemplateBase,OldPOAObjectKeyTemplate,POAObjectKeyTemplate,WireObjectKeyTemplate
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.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]Compute an adapter ID for this template than includes all of the template information.Return the object adapter ID for this template.getORBId()Return the ORB ID for this template.intReturn the server ID for this template.getServerRequestDispatcher(ORB orb, ObjectId id) intAn ID used to determine how to perform operations on this ObjectKeyTemplate.voidwrite(ObjectId objectId, OutputStream os)
-
Method Details
-
getORBVersion
ORBVersion getORBVersion() -
getSubcontractId
int getSubcontractId()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. -
getServerId
int getServerId()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. -
getORBId
String getORBId()Return the ORB ID for this template. -
getObjectAdapterId
ObjectAdapterId getObjectAdapterId()Return the object adapter ID for this template. -
getAdapterId
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. -
write
-
getServerRequestDispatcher
-