org.jacorb.poa
Class Current

java.lang.Object
  extended byorg.omg.CORBA.LocalObject
      extended byorg.omg.PortableServer._CurrentLocalBase
          extended byorg.jacorb.poa.Current
All Implemented Interfaces:
Current, Current, CurrentOperations, CurrentOperations, IDLEntity, LocalInterface, Object, java.io.Serializable

public class Current
extends _CurrentLocalBase

This class provides access to the identity of the object on which a method was invoked and the responsible POA for this object.

Version:
$Id: Current.java,v 1.19 2004/01/02 01:50:07 andre.spiegel Exp $
Author:
Reimo Tiedemann, FU Berlin
See Also:
Serialized Form

Method Summary
 void _addContext(java.lang.Thread t, InvocationContext c)
           
static Current _Current_init()
           
 void _removeContext(java.lang.Thread t)
           
 byte[] get_object_id()
           
 POA get_POA()
           
 Object get_reference()
           
 Servant get_servant()
           
protected  ORB getORB()
           
protected  Servant getServant()
           
 
Methods inherited from class org.omg.PortableServer._CurrentLocalBase
_ids
 
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Method Detail

_Current_init

public static Current _Current_init()

_addContext

public void _addContext(java.lang.Thread t,
                        InvocationContext c)

_removeContext

public void _removeContext(java.lang.Thread t)

get_object_id

public byte[] get_object_id()
                     throws NoContext
Throws:
NoContext

get_reference

public Object get_reference()
                     throws NoContext
Throws:
NoContext

get_servant

public Servant get_servant()
                    throws NoContext
Throws:
NoContext

get_POA

public POA get_POA()
            throws NoContext
Throws:
NoContext

getORB

protected ORB getORB()
              throws NoContext
Throws:
NoContext

getServant

protected Servant getServant()
                      throws NoContext
Throws:
NoContext