IT_Bus::PDKBus Class Reference

#include <it_bus_pdk/pdk_bus.h>

Inheritance diagram for IT_Bus::PDKBus:

IT_Bus::Bus IT_Bus::BusPlugInManager IT_Bus::RefCountedBase List of all members.

Detailed Description

Bus class that includes methods needed to register and manage plugins that implement bindings, transports, and interceptors.

This class is the actual superclass of the class that implements Bus functionality.

Advanced developers will use this class when writing extensions to Artix.

Definition at line 100 of file pdk_bus.h.

Public Member Functions

virtual RegistryBaseget_registry (const String &registry_name)=0
 Get a registry.
virtual Registry< String,
RegistryBase > & 
get_registry ()=0 throw ((Exception))
 Get the master registry.
virtual void register_messaging_port_factory (PortFactory *factory)=0
 Register a messaging port factory with the bus.
virtual void deregister_messaging_port_factory ()=0
 Deregister the messaging port factory.
virtual PortFactoryget_messaging_port_factory ()=0
 Return a pointer to the messagining port factory.
virtual void register_port_factory (const String &binding_namespace, const IT_WSDL::WSDLExtensionFactory *wsdl_extension_factory, PortFactory *factory)=0
 Register a factory for a binding.
virtual void deregister_port_factory (const String &binding_namespace)=0
 Deregister a specific binding factory instance.
virtual PortFactoryget_port_factory (const String &binding_namespace)=0
 Return a pointer to a specific binding factory instance.
virtual ServiceFactoryget_service_factory ()=0
 Return a refernce to the service factory.
virtual IT_WSDL::WSDLFactoryget_wsdl_factory ()=0
 Return a pointer to the WSDL factory.
virtual IT_WSDL::WSDLProcessorget_wsdl_processor ()=0
 Return a reference to the WSDL processor.
virtual void register_container_plugin (const String &container_name, ContainerPlugin *container_plugin)=0
 Register a container plugin.
virtual void deregister_container_plugin (const String &container_name)=0
 Deregister a container plugin.
virtual TransportFactoryget_transport_factory (const String &transport_name)=0
 Return a pointer to the transport factory for a specific transport.
virtual void register_transport_factory (const String &transport_name, TransportFactory *factory)=0
 Register a transport factory.
virtual void deregister_transport_factory (const String &transport_name)=0
 Deregister a transport factory.
virtual int get_argc ()=0
 Obtain the value of argc.
virtual char ** get_argv ()=0
 Obtain the argv array.
virtual const char * get_orb_identifier ()=0
 Obtain the value of the -ORBname parameter.
virtual CORBA::ORB * get_orb ()=0
 Obtain a pointer to the CORBA::ORB underlying the Bus.
virtual ManagedBus * get_managed_bus ()=0
 Return a pointer to this object.
virtual InterceptorFactoryManagerget_interceptor_factory_manager ()=0
 Obtain a reference to the interceptor factory manager.
virtual void deploy_service (const QName &service_name)=0 throw ((Exception))
 Create and activate a servant for a given service.
virtual void undeploy_service (const QName &service_name)=0 throw ((Exception))
 Deactivate a servant and remove a given service.
virtual void register_endpoint_manager_factory (const String &endpoint_factory_name, EndpointManagerFactory *endpoint_manager_factory)=0
 Register an EndpointManagerFactory.
virtual EndpointManagerFactoryget_endpoint_manager_factory (const String &endpoint_factory_name)=0
 Get an EndpointManagerFactory.
virtual IT_Config::Configuration * get_orb_config ()=0
 Obtain a pointer to the IT_Config::Configuration pointer.

Static Public Member Functions

static Boolean smf_register_global_plugin (const String &plugin_name, GlobalBusORBPlugIn *plugin)
 Register a global plugin.
static Boolean smf_deregister_global_plugin (const String &plugin_name)
 Deregister a global plugin.


Member Function Documentation

virtual RegistryBase* IT_Bus::PDKBus::get_registry ( const String registry_name  )  [pure virtual]

Get a registry.

Parameters:
String containing the name of the desired registry.
Returns:
A reference to the registry.

virtual void IT_Bus::PDKBus::register_messaging_port_factory ( PortFactory factory  )  [pure virtual]

Register a messaging port factory with the bus.

Parameters:
A pointer to an instance of the messaging port factory.

virtual PortFactory* IT_Bus::PDKBus::get_messaging_port_factory (  )  [pure virtual]

Return a pointer to the messagining port factory.

Returns:
A pointer to the previously registered messaging port factory.

virtual void IT_Bus::PDKBus::register_port_factory ( const String binding_namespace,
const IT_WSDL::WSDLExtensionFactory wsdl_extension_factory,
PortFactory factory 
) [pure virtual]

Register a factory for a binding.

Parameters:
String containing the namespace of the binding.
A pointer to the factory instance.

virtual void IT_Bus::PDKBus::deregister_port_factory ( const String binding_namespace  )  [pure virtual]

Deregister a specific binding factory instance.

Parameters:
String containing the namespace of the binding.

virtual PortFactory* IT_Bus::PDKBus::get_port_factory ( const String binding_namespace  )  [pure virtual]

Return a pointer to a specific binding factory instance.

Parameters:
String containing the namespace of the binding.
Returns:
A pointer to the factory instance.

virtual ServiceFactory& IT_Bus::PDKBus::get_service_factory (  )  [pure virtual]

Return a refernce to the service factory.

Returns:
A reference to the service factory.

virtual IT_WSDL::WSDLFactory* IT_Bus::PDKBus::get_wsdl_factory (  )  [pure virtual]

Return a pointer to the WSDL factory.

Returns:
A pointer to a WSDL factory instance.

virtual IT_WSDL::WSDLProcessor& IT_Bus::PDKBus::get_wsdl_processor (  )  [pure virtual]

Return a reference to the WSDL processor.

Returns:
A reference to the WSDL processor.

virtual void IT_Bus::PDKBus::register_container_plugin ( const String container_name,
ContainerPlugin container_plugin 
) [pure virtual]

Register a container plugin.

Parameters:
String containing name of the plugin.
A pointer to the an instance of the class implementing the plugin.

virtual void IT_Bus::PDKBus::deregister_container_plugin ( const String container_name  )  [pure virtual]

Deregister a container plugin.

Parameters:
String containing the name of the plugin to be deregistered.

virtual TransportFactory* IT_Bus::PDKBus::get_transport_factory ( const String transport_name  )  [pure virtual]

Return a pointer to the transport factory for a specific transport.

Returns:
A pointer to the factory for the transport.

virtual void IT_Bus::PDKBus::register_transport_factory ( const String transport_name,
TransportFactory factory 
) [pure virtual]

Register a transport factory.

Parameters:
String containing the name of the transport.
A pointer to the transport factory for this transport.

virtual void IT_Bus::PDKBus::deregister_transport_factory ( const String transport_name  )  [pure virtual]

Deregister a transport factory.

Parameters:
String containing name of the transport for which the factory will be deregistered.

virtual int IT_Bus::PDKBus::get_argc (  )  [pure virtual]

Obtain the value of argc.

Returns:
int

virtual char** IT_Bus::PDKBus::get_argv (  )  [pure virtual]

Obtain the argv array.

Returns:
argv

virtual const char* IT_Bus::PDKBus::get_orb_identifier (  )  [pure virtual]

Obtain the value of the -ORBname parameter.

Returns:
A pointer to the character array containing the value.

virtual CORBA::ORB* IT_Bus::PDKBus::get_orb (  )  [pure virtual]

Obtain a pointer to the CORBA::ORB underlying the Bus.

Returns:
A pointer to the CORBA::ORB instance.

virtual ManagedBus* IT_Bus::PDKBus::get_managed_bus (  )  [pure virtual]

Return a pointer to this object.

Returns:
A pointer to this object.

static Boolean IT_Bus::PDKBus::smf_register_global_plugin ( const String plugin_name,
GlobalBusORBPlugIn plugin 
) [static]

Register a global plugin.

Parameters:
String containing the name of the plugin.
A pointer to an instance of a class that implements a global plugin.

static Boolean IT_Bus::PDKBus::smf_deregister_global_plugin ( const String plugin_name  )  [static]

Deregister a global plugin.

Parameters:
String containing the name of the plugin to be deregistered.

virtual InterceptorFactoryManager& IT_Bus::PDKBus::get_interceptor_factory_manager (  )  [pure virtual]

Obtain a reference to the interceptor factory manager.

Returns:
A reference to the interceptor factory manager.

virtual void IT_Bus::PDKBus::deploy_service ( const QName service_name  )  throw ((Exception)) [pure virtual]

Create and activate a servant for a given service.

Parameters:
QName of the service to deploy.

virtual void IT_Bus::PDKBus::undeploy_service ( const QName service_name  )  throw ((Exception)) [pure virtual]

Deactivate a servant and remove a given service.

Parameters:
QName of the service to un-deploy.

virtual IT_Config::Configuration* IT_Bus::PDKBus::get_orb_config (  )  [pure virtual]

Obtain a pointer to the IT_Config::Configuration pointer.

Returns:
A pointer to the IT_Config::Configuration_ptr instance.


Generated on Tue Mar 20 15:28:14 2007 for Artix by  doxygen 1.5.1-p1