Name

Servant

Synopsis

This is the base class for all POA-compatible server-side CORBA implementations. It contains methods that are invoked by the POA during the lifetime of the servant, and methods that the servant implementation class can invoke to access its runtime CORBA context, such as its ORB, POA, and Delegate.

public abstract class Servant {
// Public Constructors
   public Servant();  
// Public Instance Methods
   public abstract String[] _all_interfaces(POA poa, 
        byte[] objectId);  
   public POA _default_POA();  
   public final org.omg.PortableServer.portable.Delegate _get_delegate(
        );  
   public org.omg.CORBA.Object _get_interface_def();  
   public boolean _is_a( String repository_id);  
   public boolean _non_existent();  
   public final byte[] _object_id();  
   public final org.omg.CORBA.ORB _orb();  
   public final POA _poa();  
   public final void _set_delegate(
        org.omg.PortableServer.portable.Delegate delegate);  
   public final org.omg.CORBA.Object _this_object();  
   public final org.omg.CORBA.Object _this_object(
        org.omg.CORBA.ORB orb);  
}

Subclasses

org.omg.CosNaming.BindingIteratorPOA, org.omg.CosNaming.NamingContextExtPOA, org.omg.CosNaming.NamingContextPOA, org.omg.PortableServer.DynamicImplementation, ServantActivatorPOA, ServantLocatorPOA

Passed To

_ServantActivatorStub.etherealize(), _ServantLocatorStub.postinvoke(), POAOperations.{activate_object(), activate_object_with_id(), servant_to_id(), servant_to_reference(), set_servant()}, ServantActivatorOperations.etherealize(), ServantLocatorOperations.postinvoke() ...

Get Java Enterprise in a Nutshell, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.