KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > PortableInterceptor > Current


1 package org.omg.PortableInterceptor;
2
3
4 /**
5 * org/omg/PortableInterceptor/Current.java .
6 * Generated by the IDL-to-Java compiler (portable), version "3.2"
7 * from ../../../../src/share/classes/org/omg/PortableInterceptor/Interceptors.idl
8 * Saturday, February 9, 2008 9:40:08 AM GMT
9 */

10
11
12 /**
13    * Portable Interceptors Current (also known as <code>PICurrent</code>)
14    * is merely a slot table, the slots of which are used by each service to
15    * transfer their context data between their context and the request's or
16    * reply's service context. Each service which wishes to use PICurrent
17    * reserves a slot or slots at initialization time and uses those slots
18    * during the processing of requests and replies.
19    * <p>
20    * Before an invocation is made, PICurrent is obtained via a call to
21    * <code>ORB.resolve_initial_references( "PICurrent" )</code>. From within
22    * the interception points, the data on PICurrent that has moved from the
23    * thread scope to the request scope is available via the
24    * <code>get_slot</code> operation on the <code>RequestInfo</code> object.
25    * A PICurrent can still be obtained via
26    * <code>resolve_initial_references</code>, but that is the Interceptor's
27    * thread scope PICurrent.
28    */

29 public interface Current extends CurrentOperations JavaDoc, org.omg.CORBA.Current JavaDoc, org.omg.CORBA.portable.IDLEntity JavaDoc
30 {
31 } // interface Current
32
Popular Tags