#include <PolicyFactory_Registry.h>
Collaboration diagram for TAO_PolicyFactory_Registry:
Public Types | |
typedef ACE_Map_Manager< CORBA::PolicyType, PortableInterceptor::PolicyFactory_ptr, ACE_Null_Mutex> | TABLE |
Public Methods | |
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::Environment &ACE_TRY_ENV) |
Register a PolicyFactory with the underlying PolicyFactory sequence. This method should only be called during ORB initialization. | |
CORBA::Policy_ptr | create_policy (CORBA::PolicyType type, const CORBA::Any &value, CORBA::Environment &ACE_TRY_ENV) throw (CORBA::SystemException, CORBA::PolicyError) |
Construct a policy of the given type with the information contained in the CORBA::Any <value>. | |
Private Attributes | |
TABLE | factories_ |
The table that maps policy type to policy factory. |
|
The type of table that maps policy type to policy factory.
|
|
Constructor.
|
|
Destructor. Releases duplicated PolicyFactory references.
|
|
Construct a policy of the given type with the information contained in the CORBA::Any <value>.
|
|
Register a PolicyFactory with the underlying PolicyFactory sequence. This method should only be called during ORB initialization.
|
|
The table that maps policy type to policy factory.
|