Class POACurrent

java.lang.Object
org.omg.CORBA.portable.ObjectImpl
com.sun.corba.ee.impl.oa.poa.POACurrent
All Implemented Interfaces:
Serializable, Current, CurrentOperations, Object, IDLEntity, Current, CurrentOperations

public class POACurrent extends ObjectImpl implements Current
See Also:
  • Field Details

  • Constructor Details

    • POACurrent

      public POACurrent(ORB orb)
  • Method Details

    • _ids

      public String[] _ids()
      Description copied from class: ObjectImpl
      Retrieves a string array containing the repository identifiers supported by this ObjectImpl object. For example, for a stub, this method returns information about all the interfaces supported by the stub.
      Specified by:
      _ids in class ObjectImpl
      Returns:
      the array of all repository identifiers supported by this ObjectImpl instance
    • get_POA

      public POA get_POA() throws NoContext
      Description copied from interface: CurrentOperations
      Returns reference to the POA implementing the object in whose context it is called.
      Specified by:
      get_POA in interface CurrentOperations
      Returns:
      The poa implementing the object
      Throws:
      NoContext - is raised when the operation is outside the context of a POA-dispatched operation
    • get_object_id

      public byte[] get_object_id() throws NoContext
      Description copied from interface: CurrentOperations
      Returns the ObjectId identifying the object in whose context it is called.
      Specified by:
      get_object_id in interface CurrentOperations
      Returns:
      the ObjectId of the object
      Throws:
      NoContext - is raised when the operation is called outside the context of a POA-dispatched operation.
    • getOA

      public ObjectAdapter getOA()
    • getObjectId

      public byte[] getObjectId()
    • getServant

      Servant getServant()
    • getCookieHolder

      CookieHolder getCookieHolder()
    • getOperation

      public String getOperation()
    • setServant

      void setServant(Servant servant)
    • peekThrowNoContext

      private OAInvocationInfo peekThrowNoContext() throws NoContext
      Throws:
      NoContext
    • peekThrowInternal

      private OAInvocationInfo peekThrowInternal()
    • throwNoContextIfNull

      private void throwNoContextIfNull(Object o) throws NoContext
      Throws:
      NoContext
    • throwInternalIfNull

      private void throwInternalIfNull(Object o)