org.omg.PortableServer
Class ServantLocatorHelper

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by org.omg.PortableServer.ServantLocatorHelper

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

When the POA has the NON_RETAIN policy it uses servant managers that are ServantLocators. Because the POA knows that the servant returned by this servant manager will be used only for a single request, it can supply extra information to the servant manager's operations and the servant manager's pair of operations may be able to cooperate to do something different than a ServantActivator. When the POA uses the ServantLocator interface, immediately after performing the operation invocation on the servant returned by preinvoke, the POA will invoke postinvoke on the servant manager, passing the ObjectId value and the Servant value as parameters (among others). This feature may be used to force every request for objects associated with a POA to be mediated by the servant manager.


Constructor Summary
ServantLocatorHelper sample code for org.omg.PortableServer.ServantLocatorHelper.ServantLocatorHelper() definition code for org.omg.PortableServer.ServantLocatorHelper.ServantLocatorHelper() ()
           
 
Method Summary
static ServantLocator sample code for org.omg.PortableServer.ServantLocator definition code for org.omg.PortableServer.ServantLocator extract sample code for org.omg.PortableServer.ServantLocatorHelper.extract(org.omg.CORBA.Any) definition code for org.omg.PortableServer.ServantLocatorHelper.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.PortableServer.ServantLocatorHelper.id() definition code for org.omg.PortableServer.ServantLocatorHelper.id() ()
           
static void insert sample code for org.omg.PortableServer.ServantLocatorHelper.insert(org.omg.CORBA.Any, org.omg.PortableServer.ServantLocator) definition code for org.omg.PortableServer.ServantLocatorHelper.insert(org.omg.CORBA.Any, org.omg.PortableServer.ServantLocator) (Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any  a, ServantLocator sample code for org.omg.PortableServer.ServantLocator definition code for org.omg.PortableServer.ServantLocator  that)
           
static ServantLocator sample code for org.omg.PortableServer.ServantLocator definition code for org.omg.PortableServer.ServantLocator narrow sample code for org.omg.PortableServer.ServantLocatorHelper.narrow(org.omg.CORBA.Object) definition code for org.omg.PortableServer.ServantLocatorHelper.narrow(org.omg.CORBA.Object) (Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object  obj)
           
static ServantLocator sample code for org.omg.PortableServer.ServantLocator definition code for org.omg.PortableServer.ServantLocator read sample code for org.omg.PortableServer.ServantLocatorHelper.read(org.omg.CORBA.portable.InputStream) definition code for org.omg.PortableServer.ServantLocatorHelper.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.PortableServer.ServantLocatorHelper.type() definition code for org.omg.PortableServer.ServantLocatorHelper.type() ()
           
static ServantLocator sample code for org.omg.PortableServer.ServantLocator definition code for org.omg.PortableServer.ServantLocator unchecked_narrow sample code for org.omg.PortableServer.ServantLocatorHelper.unchecked_narrow(org.omg.CORBA.Object) definition code for org.omg.PortableServer.ServantLocatorHelper.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.PortableServer.ServantLocatorHelper.write(org.omg.CORBA.portable.OutputStream, org.omg.PortableServer.ServantLocator) definition code for org.omg.PortableServer.ServantLocatorHelper.write(org.omg.CORBA.portable.OutputStream, org.omg.PortableServer.ServantLocator) (OutputStream sample code for org.omg.CORBA.portable.OutputStream definition code for org.omg.CORBA.portable.OutputStream  ostream, ServantLocator sample code for org.omg.PortableServer.ServantLocator definition code for org.omg.PortableServer.ServantLocator  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

ServantLocatorHelper sample code for org.omg.PortableServer.ServantLocatorHelper() definition code for org.omg.PortableServer.ServantLocatorHelper()

public ServantLocatorHelper()
Method Detail

insert sample code for org.omg.PortableServer.ServantLocatorHelper.insert(org.omg.CORBA.Any, org.omg.PortableServer.ServantLocator) definition code for org.omg.PortableServer.ServantLocatorHelper.insert(org.omg.CORBA.Any, org.omg.PortableServer.ServantLocator)

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

extract sample code for org.omg.PortableServer.ServantLocatorHelper.extract(org.omg.CORBA.Any) definition code for org.omg.PortableServer.ServantLocatorHelper.extract(org.omg.CORBA.Any)

public static ServantLocator sample code for org.omg.PortableServer.ServantLocator definition code for org.omg.PortableServer.ServantLocator  extract(Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any  a)

type sample code for org.omg.PortableServer.ServantLocatorHelper.type() definition code for org.omg.PortableServer.ServantLocatorHelper.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.PortableServer.ServantLocatorHelper.id() definition code for org.omg.PortableServer.ServantLocatorHelper.id()

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

read sample code for org.omg.PortableServer.ServantLocatorHelper.read(org.omg.CORBA.portable.InputStream) definition code for org.omg.PortableServer.ServantLocatorHelper.read(org.omg.CORBA.portable.InputStream)

public static ServantLocator sample code for org.omg.PortableServer.ServantLocator definition code for org.omg.PortableServer.ServantLocator  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.PortableServer.ServantLocatorHelper.write(org.omg.CORBA.portable.OutputStream, org.omg.PortableServer.ServantLocator) definition code for org.omg.PortableServer.ServantLocatorHelper.write(org.omg.CORBA.portable.OutputStream, org.omg.PortableServer.ServantLocator)

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

narrow sample code for org.omg.PortableServer.ServantLocatorHelper.narrow(org.omg.CORBA.Object) definition code for org.omg.PortableServer.ServantLocatorHelper.narrow(org.omg.CORBA.Object)

public static ServantLocator sample code for org.omg.PortableServer.ServantLocator definition code for org.omg.PortableServer.ServantLocator  narrow(Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object  obj)

unchecked_narrow sample code for org.omg.PortableServer.ServantLocatorHelper.unchecked_narrow(org.omg.CORBA.Object) definition code for org.omg.PortableServer.ServantLocatorHelper.unchecked_narrow(org.omg.CORBA.Object)

public static ServantLocator sample code for org.omg.PortableServer.ServantLocator definition code for org.omg.PortableServer.ServantLocator  unchecked_narrow(Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object  obj)