org.omg.PortableServer

Interface Current

public interface Current extends CurrentOperations, Current, IDLEntity

Provides the Id of the object currently being served and POA to that this object is connected. Both Id and POA can be simpler obtained from the servant by {@link Servant#_object_id() } and {@link Servant#_poa()} that use POA Current indirectly. The operations on Current for obtaining these data are defined in {@link CurrentOperations}.

As long as the ORB reference is still available, the current information is available via {@link Current} that is returned by ORB.resolve_initial_references("POACurrent"). To support this call, the ORB maintains the thread to invocation data map for all calls that are currently being processed.