Please note that this documentation is not final and is subject to change.

Java™ Platform
Standard Ed. 7

DRAFT ea-b89

Package org.omg.PortableServer.CurrentPackage

Provides method implementations with access to the identity of the object on which the method was invoked.

See:
          Description

Class Summary
Class Description
NoContextHelper org/omg/PortableServer/CurrentPackage/NoContextHelper.java .
 

Exception Summary
Exception Description
NoContext org/omg/PortableServer/CurrentPackage/NoContext.java .
 

Package org.omg.PortableServer.CurrentPackage Description

Provides method implementations with access to the identity of the object on which the method was invoked. The Current package supports servants that implement multiple objects, but can be used within the context of POA-dispatched method invocations on any servant. To provide location transparency, ORBs are required to support use of Current in the context of both locally and remotely invoked operations. An instance of Current can be obtained by the application by issuing the CORBA::ORB::resolve_initial_references("POACurrent") operation. Thereafter, it can be used within the context of a method dispatched by the POA to obtain the POA and ObjectId that identify the object on which that operation was invoked.

Package Specification

For a precise list of supported sections of official specifications with which the Java[tm] Platform, Standard Edition 6 ORB complies, see Official Specifications for CORBA support in Java[tm] SE 6.

Since:
1.4

Java™ Platform
Standard Ed. 7

DRAFT ea-b89

Submit a bug or feature

Copyright 2010 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.