Interface ObjectKeyTemplate

All Superinterfaces:
Writeable
All Known Implementing Classes:
JIDLObjectKeyTemplate, NewObjectKeyTemplateBase, ObjectKeyTemplateBase, OldJIDLObjectKeyTemplate, OldObjectKeyTemplateBase, OldPOAObjectKeyTemplate, POAObjectKeyTemplate, WireObjectKeyTemplate

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 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

      void write(ObjectId objectId, OutputStream os)
    • getServerRequestDispatcher

      CorbaServerRequestDispatcher getServerRequestDispatcher(ORB orb, ObjectId id)