Package com.sun.corba.ee.spi.ior
Interface ObjectKeyTemplate
- All Superinterfaces:
Writeable
- All Known Implementing Classes:
JIDLObjectKeyTemplate
,NewObjectKeyTemplateBase
,ObjectKeyTemplateBase
,OldJIDLObjectKeyTemplate
,OldObjectKeyTemplateBase
,OldPOAObjectKeyTemplate
,POAObjectKeyTemplate
,WireObjectKeyTemplate
@ManagedData
@Description("The template used to represent all IORs created by the same Object adapter")
public interface ObjectKeyTemplate
extends 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.
-
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.int
Return the server ID for this template.int
An ID used to determine how to perform operations on this ObjectKeyTemplate.void
write
(ObjectId objectId, OutputStream os)
-
Method Details
-
getORBVersion
@ManagedAttribute @Description("The ORB version that created this template") ORBVersion getORBVersion() -
getSubcontractId
@ManagedAttribute @Description("The subcontract ID which identifies a particular type-independent implementation of an IOR") 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.- Returns:
- The subcontract ID
-
getServerId
@ManagedAttribute @Description("The ID of the server that handles requests to this IOR") 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.- Returns:
- The ID of the server that handles requests to this IOR"
-
getORBId
Return the ORB ID for this template.- Returns:
- the ORB ID that created this IOR
-
getObjectAdapterId
@ManagedAttribute @Description("The ObjectAdapterId that identifies the ObjectAdapter that created this IOR") ObjectAdapterId getObjectAdapterId()Return the object adapter ID for this template.- Returns:
- The ObjectAdapterId that identifies the ObjectAdapter that created this IOR
-
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.- Returns:
- adapter ID for this template
-
write
-
getServerRequestDispatcher
-