Tuxedo
0

Administering a Tuxedo Application at Run Time

 Previous Next Contents View as PDF  

PortableServer::ServantBase::_default_POA

Synopsis

Returns an object reference to the POA associated with the servant.

C++ Binding

class PortableServer
{
class ServantBase
{
public:
virtual POA_ptr _default_POA();
}
}

Argument

None.

Description

All C++ Servants inherit from PortableServer::ServantBase, so they all inherit the _default_POA function. In this version of BEA Tuxedo there is usually no reason to use _default_POA.

The default implementation of this function returns an object reference to the root POA of the default ORB in this process—the same as the return value of an invocation of ORB::resolve_initial_references("RootPOA"). A C++ servant can override this definition to return the POA of its choice, if desired.

Note: This function is supported only for joint client/servers.

Return Values

The default POA associated with the servant.

 


POA Current Member Functions

The PortableServer::Current interface, derived from CORBA::Current, provides method implementations with access to the identity of the object on which the method was invoked.

 

Back to Top Previous Next
Contact e-docsContact BEAwebmasterprivacy