org.jacorb.poa

Class Current

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.20 2004/05/06 12:40:00 nicolas Exp $

Author:
Reimo Tiedemann, FU Berlin

Method Summary

static Current
_Current_init()
void
_addContext(Thread t, InvocationContext c)
void
_removeContext(Thread t)
protected ORB
getORB()
protected Servant
getServant()
POA
get_POA()
byte[]
get_object_id()
Object
get_reference()
Servant
get_servant()

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, _get_interface_def, _get_policy, _hash, _ids, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection

Method Details

_Current_init

public static Current _Current_init()


_addContext

public void _addContext(Thread t,
                        InvocationContext c)


_removeContext

public void _removeContext(Thread t)


getORB

protected ORB getORB()
            throws NoContext


getServant

protected Servant getServant()
            throws NoContext


get_POA

public POA get_POA()
            throws NoContext
Specified by:
get_POA in interface CurrentOperations


get_object_id

public byte[] get_object_id()
            throws NoContext
Specified by:
get_object_id in interface CurrentOperations


get_reference

public Object get_reference()
            throws NoContext
Specified by:
get_reference in interface CurrentOperations


get_servant

public Servant get_servant()
            throws NoContext
Specified by:
get_servant in interface CurrentOperations