Package com.sun.corba.ee.impl.oa.poa
Class POACurrent
- java.lang.Object
-
- org.omg.CORBA.portable.ObjectImpl
-
- com.sun.corba.ee.impl.oa.poa.POACurrent
-
- All Implemented Interfaces:
java.io.Serializable
,Current
,CurrentOperations
,Object
,IDLEntity
,Current
,CurrentOperations
public class POACurrent extends ObjectImpl implements Current
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private ORB
orb
private static POASystemException
wrapper
-
Constructor Summary
Constructors Constructor Description POACurrent(ORB orb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]
_ids()
Retrieves a string array containing the repository identifiers supported by thisObjectImpl
object.byte[]
get_object_id()
Returns the ObjectId identifying the object in whose context it is called.POA
get_POA()
Returns reference to the POA implementing the object in whose context it is called.(package private) CookieHolder
getCookieHolder()
ObjectAdapter
getOA()
byte[]
getObjectId()
java.lang.String
getOperation()
(package private) Servant
getServant()
private OAInvocationInfo
peekThrowInternal()
private OAInvocationInfo
peekThrowNoContext()
(package private) void
setServant(Servant servant)
private void
throwInternalIfNull(java.lang.Object o)
private void
throwNoContextIfNull(java.lang.Object o)
-
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
-
-
-
-
Field Detail
-
orb
private ORB orb
-
wrapper
private static final POASystemException wrapper
-
-
Constructor Detail
-
POACurrent
public POACurrent(ORB orb)
-
-
Method Detail
-
_ids
public java.lang.String[] _ids()
Description copied from class:ObjectImpl
Retrieves a string array containing the repository identifiers supported by thisObjectImpl
object. For example, for a stub, this method returns information about all the interfaces supported by the stub.- Specified by:
_ids
in classObjectImpl
- 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 interfaceCurrentOperations
- 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 interfaceCurrentOperations
- 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 java.lang.String getOperation()
-
setServant
void setServant(Servant servant)
-
peekThrowNoContext
private OAInvocationInfo peekThrowNoContext() throws NoContext
- Throws:
NoContext
-
peekThrowInternal
private OAInvocationInfo peekThrowInternal()
-
throwNoContextIfNull
private void throwNoContextIfNull(java.lang.Object o) throws NoContext
- Throws:
NoContext
-
throwInternalIfNull
private void throwInternalIfNull(java.lang.Object o)
-
-