TAO_PI
2.1.1
|
ORB-specific PortableInterceptor::PolicyFactory registry. More...
#include <PolicyFactory_Registry.h>
Public Types | |
typedef ACE_Map_Manager < CORBA::PolicyType, PortableInterceptor::PolicyFactory_ptr, ACE_Null_Mutex > | TABLE |
Public Member Functions | |
TAO_PolicyFactory_Registry (void) | |
Constructor. | |
~TAO_PolicyFactory_Registry (void) | |
Destructor. Releases duplicated PolicyFactory references. | |
void | register_policy_factory (CORBA::PolicyType type, PortableInterceptor::PolicyFactory_ptr policy_factory) |
CORBA::Policy_ptr | create_policy (CORBA::PolicyType type, const CORBA::Any &value) |
CORBA::Policy_ptr | _create_policy (CORBA::PolicyType type) |
bool | factory_exists (CORBA::PolicyType &type) const |
Private Attributes | |
TABLE | factories_ |
The table that maps policy type to policy factory. |
ORB-specific PortableInterceptor::PolicyFactory registry.
ORB-specific registry that contains all portable interceptor policy factories.
typedef ACE_Map_Manager<CORBA::PolicyType, PortableInterceptor::PolicyFactory_ptr, ACE_Null_Mutex> TAO_PolicyFactory_Registry::TABLE |
The type of table that maps policy type to policy factory.
Constructor.
Destructor. Releases duplicated PolicyFactory references.
Create an empty policy, usually to be filled in later by demarshaling.
Implements TAO::PolicyFactory_Registry_Adapter.
|
virtual |
Construct a policy of the given type with the information contained in the CORBA::Any value.
Implements TAO::PolicyFactory_Registry_Adapter.
|
virtual |
Check if a PolicyFactory
corresponding to the given type, exists.
Implements TAO::PolicyFactory_Registry_Adapter.
|
virtual |
Register a PolicyFactory with the underlying PolicyFactory sequence. This method should only be called during ORB initialization.
Implements TAO::PolicyFactory_Registry_Adapter.
The table that maps policy type to policy factory.