org.omg.PortableInterceptor
Class CurrentHelper

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by org.omg.PortableInterceptor.CurrentHelper

public abstract class CurrentHelper
extends Object sample code for java.lang.Object definition code for java.lang.Object

Portable Interceptors Current (also known as PICurrent) is merely a slot table, the slots of which are used by each service to transfer their context data between their context and the request's or reply's service context. Each service which wishes to use PICurrent reserves a slot or slots at initialization time and uses those slots during the processing of requests and replies.

Before an invocation is made, PICurrent is obtained via a call to ORB.resolve_initial_references( "PICurrent" ). From within the interception points, the data on PICurrent that has moved from the thread scope to the request scope is available via the get_slot operation on the RequestInfo object. A PICurrent can still be obtained via resolve_initial_references, but that is the Interceptor's thread scope PICurrent.


Constructor Summary
CurrentHelper sample code for org.omg.PortableInterceptor.CurrentHelper.CurrentHelper() definition code for org.omg.PortableInterceptor.CurrentHelper.CurrentHelper() ()
           
 
Method Summary
static Current sample code for org.omg.PortableInterceptor.Current definition code for org.omg.PortableInterceptor.Current extract sample code for org.omg.PortableInterceptor.CurrentHelper.extract(org.omg.CORBA.Any) definition code for org.omg.PortableInterceptor.CurrentHelper.extract(org.omg.CORBA.Any) (Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any  a)
           
static String sample code for java.lang.String definition code for java.lang.String id sample code for org.omg.PortableInterceptor.CurrentHelper.id() definition code for org.omg.PortableInterceptor.CurrentHelper.id() ()
           
static void insert sample code for org.omg.PortableInterceptor.CurrentHelper.insert(org.omg.CORBA.Any, org.omg.PortableInterceptor.Current) definition code for org.omg.PortableInterceptor.CurrentHelper.insert(org.omg.CORBA.Any, org.omg.PortableInterceptor.Current) (Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any  a, Current sample code for org.omg.PortableInterceptor.Current definition code for org.omg.PortableInterceptor.Current  that)
           
static Current sample code for org.omg.PortableInterceptor.Current definition code for org.omg.PortableInterceptor.Current narrow sample code for org.omg.PortableInterceptor.CurrentHelper.narrow(org.omg.CORBA.Object) definition code for org.omg.PortableInterceptor.CurrentHelper.narrow(org.omg.CORBA.Object) (Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object  obj)
           
static Current sample code for org.omg.PortableInterceptor.Current definition code for org.omg.PortableInterceptor.Current read sample code for org.omg.PortableInterceptor.CurrentHelper.read(org.omg.CORBA.portable.InputStream) definition code for org.omg.PortableInterceptor.CurrentHelper.read(org.omg.CORBA.portable.InputStream) (InputStream sample code for org.omg.CORBA.portable.InputStream definition code for org.omg.CORBA.portable.InputStream  istream)
           
static TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode type sample code for org.omg.PortableInterceptor.CurrentHelper.type() definition code for org.omg.PortableInterceptor.CurrentHelper.type() ()
           
static Current sample code for org.omg.PortableInterceptor.Current definition code for org.omg.PortableInterceptor.Current unchecked_narrow sample code for org.omg.PortableInterceptor.CurrentHelper.unchecked_narrow(org.omg.CORBA.Object) definition code for org.omg.PortableInterceptor.CurrentHelper.unchecked_narrow(org.omg.CORBA.Object) (Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object  obj)
           
static void write sample code for org.omg.PortableInterceptor.CurrentHelper.write(org.omg.CORBA.portable.OutputStream, org.omg.PortableInterceptor.Current) definition code for org.omg.PortableInterceptor.CurrentHelper.write(org.omg.CORBA.portable.OutputStream, org.omg.PortableInterceptor.Current) (OutputStream sample code for org.omg.CORBA.portable.OutputStream definition code for org.omg.CORBA.portable.OutputStream  ostream, Current sample code for org.omg.PortableInterceptor.Current definition code for org.omg.PortableInterceptor.Current  value)
           
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

CurrentHelper sample code for org.omg.PortableInterceptor.CurrentHelper() definition code for org.omg.PortableInterceptor.CurrentHelper()

public CurrentHelper()
Method Detail

insert sample code for org.omg.PortableInterceptor.CurrentHelper.insert(org.omg.CORBA.Any, org.omg.PortableInterceptor.Current) definition code for org.omg.PortableInterceptor.CurrentHelper.insert(org.omg.CORBA.Any, org.omg.PortableInterceptor.Current)

public static void insert(Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any  a,
                          Current sample code for org.omg.PortableInterceptor.Current definition code for org.omg.PortableInterceptor.Current  that)

extract sample code for org.omg.PortableInterceptor.CurrentHelper.extract(org.omg.CORBA.Any) definition code for org.omg.PortableInterceptor.CurrentHelper.extract(org.omg.CORBA.Any)

public static Current sample code for org.omg.PortableInterceptor.Current definition code for org.omg.PortableInterceptor.Current  extract(Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any  a)

type sample code for org.omg.PortableInterceptor.CurrentHelper.type() definition code for org.omg.PortableInterceptor.CurrentHelper.type()

public static TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode  type()

id sample code for org.omg.PortableInterceptor.CurrentHelper.id() definition code for org.omg.PortableInterceptor.CurrentHelper.id()

public static String sample code for java.lang.String definition code for java.lang.String  id()

read sample code for org.omg.PortableInterceptor.CurrentHelper.read(org.omg.CORBA.portable.InputStream) definition code for org.omg.PortableInterceptor.CurrentHelper.read(org.omg.CORBA.portable.InputStream)

public static Current sample code for org.omg.PortableInterceptor.Current definition code for org.omg.PortableInterceptor.Current  read(InputStream sample code for org.omg.CORBA.portable.InputStream definition code for org.omg.CORBA.portable.InputStream  istream)

write sample code for org.omg.PortableInterceptor.CurrentHelper.write(org.omg.CORBA.portable.OutputStream, org.omg.PortableInterceptor.Current) definition code for org.omg.PortableInterceptor.CurrentHelper.write(org.omg.CORBA.portable.OutputStream, org.omg.PortableInterceptor.Current)

public static void write(OutputStream sample code for org.omg.CORBA.portable.OutputStream definition code for org.omg.CORBA.portable.OutputStream  ostream,
                         Current sample code for org.omg.PortableInterceptor.Current definition code for org.omg.PortableInterceptor.Current  value)

narrow sample code for org.omg.PortableInterceptor.CurrentHelper.narrow(org.omg.CORBA.Object) definition code for org.omg.PortableInterceptor.CurrentHelper.narrow(org.omg.CORBA.Object)

public static Current sample code for org.omg.PortableInterceptor.Current definition code for org.omg.PortableInterceptor.Current  narrow(Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object  obj)

unchecked_narrow sample code for org.omg.PortableInterceptor.CurrentHelper.unchecked_narrow(org.omg.CORBA.Object) definition code for org.omg.PortableInterceptor.CurrentHelper.unchecked_narrow(org.omg.CORBA.Object)

public static Current sample code for org.omg.PortableInterceptor.Current definition code for org.omg.PortableInterceptor.Current  unchecked_narrow(Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object  obj)