org.jacorb.poa
Class Current

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

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.22 2006/05/23 18:25:45 alphonse.bendt Exp $
Author:
Reimo Tiedemann
See Also:
Serialized Form

Constructor Summary
Current()
           
 
Method Summary
 void _addContext(java.lang.Thread thread, InvocationContext c)
           
 void _removeContext(java.lang.Thread thread)
           
 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_component, _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_component, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

Current

public Current()
Method Detail

_addContext

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

_removeContext

public void _removeContext(java.lang.Thread thread)

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