|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The portability package contains interfaces and classes that are designed for and intended to be used by ORB implementor. It exposes the publicly defined APIs that are used to connect stubs and skeletons to the ORB. The Delegate interface provides the ORB vendor specific implementation of PortableServer::Servant. Conformant to spec CORBA V2.3.1, ptc/00-01-08.pdf
Method Summary | |
POA |
default_POA(Servant Self)
The default behavior of this function is to return the root POA from the ORB instance associated with the servant. |
Object |
get_interface_def(Servant self)
This operation returns an object in the Interface Repository which provides type information that may be useful to a program. |
boolean |
is_a(Servant Self,
String Repository_Id)
This method checks to see if the specified repid is present on the list returned by _all_interfaces() or is the repository id for the generic CORBA Object. |
boolean |
non_existent(Servant Self)
This operation is used to check for the existence of the Object. |
byte[] |
object_id(Servant Self)
The method _object_id() is equivalent to calling PortableServer::Current::get_object_id. |
ORB |
orb(Servant Self)
Convenience method that returns the instance of the ORB currently associated with the Servant. |
POA |
poa(Servant Self)
The method _poa() is equivalent to calling PortableServer::Current:get_POA. |
Object |
this_object(Servant Self)
This allows the servant to obtain the object reference for the target CORBA Object it is incarnating for that request. |
Method Detail |
public ORB orb(Servant Self)
Self
- the servant.
public Object this_object(Servant Self)
Self
- the servant.
public POA poa(Servant Self)
Self
- the servant.
public byte[] object_id(Servant Self)
Self
- the servant.
public POA default_POA(Servant Self)
Self
- the servant.
public boolean is_a(Servant Self, String Repository_Id)
Self
- the servant.Repository_Id
- the repository_id to be checked in the
repository list or against the id of generic CORBA
object.
public boolean non_existent(Servant Self)
Self
- the servant.
public Object get_interface_def(Servant self)
|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.