1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> 2 <html> 3 <head> 4 <!-- 5 6 Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved. 7 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 9 This code is free software; you can redistribute it and/or modify it 10 under the terms of the GNU General Public License version 2 only, as 11 published by the Free Software Foundation. Oracle designates this 12 particular file as subject to the "Classpath" exception as provided 13 by Oracle in the LICENSE file that accompanied this code. 14 15 This code is distributed in the hope that it will be useful, but WITHOUT 16 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 18 version 2 for more details (a copy is included in the LICENSE file that 19 accompanied this code). 20 21 You should have received a copy of the GNU General Public License version 22 2 along with this work; if not, write to the Free Software Foundation, 23 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 24 25 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 26 or visit www.oracle.com if you need additional information or have any 27 questions. 28 29 30 --> 31 32 </head> 33 <body bgcolor="white"> 34 <P> Provides method implementations with 35 access to the identity of the object on which the 36 method was invoked. The <code>Current</code> package 37 supports servants that implement multiple objects, 38 but can be used within the context of POA-dispatched 39 method invocations on any servant. To provide location 40 transparency, ORBs are required to support use of 41 <code>Current</code> in the context of both locally and remotely 42 invoked operations. An instance of <code>Current</code> can be 43 obtained by the application by issuing the 44 <code>CORBA::ORB::resolve_initial_references("POACurrent")</code> 45 operation. Thereafter, it can be used within the 46 context of a method dispatched by the POA to obtain 47 the <code>POA</code> and <code>ObjectId</code> that identify the object on 48 which that operation was invoked. 49 50 <H3>Package Specification</H3> 51 52 <P>For a precise list of supported sections of official specifications with which 53 the Java[tm] Platform, Standard Edition 6 ORB complies, see <A 54 HREF="../../CORBA/doc-files/compliance.html">Official Specifications for CORBA 55 support in Java[tm] SE 6</A>. 56 57 @since 1.4 58 <br> 59 @serial exclude 60 </body> 61 </html>