|
Public Member Functions |
| | NodeApplication_Impl (CORBA::ORB_ptr o, PortableServer::POA_ptr p) |
| | Default constructor.
|
| virtual | ~NodeApplication_Impl (void) |
| | Default destructor.
|
| virtual void | finishLaunch (const Deployment::Connections &providedReference, CORBA::Boolean start ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, Deployment::StartError, Deployment::InvalidConnection) |
| | This operation dose 2 things. 1. Get the external connction (facet and Event source) and connect them to the local receptacle/event sink. 2. If the start augment is true, start the Components. : The connection containes the object ref of the provided object reference (facet/event consumer) of components from other NodeApplications. However the name field stores the name of the port on the local component.
|
| virtual void | start (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, Deployment::StartError) |
| virtual void | ciao_preactivate (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, Deployment::StartError) |
| virtual void | ciao_postactivate (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, Deployment::StartError) |
| virtual void | ciao_passivate (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, Deployment::StopError) |
| virtual CORBA::Long | init (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| | Initialize the NodeApplication.
|
| virtual ::Deployment::ComponentInfos * | install (const ::Deployment::NodeImplementationInfo &node_impl_info ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, ::Deployment::UnknownImplId, ::Deployment::ImplEntryPointNotFound, ::Deployment::InstallationFailure, ::Components::InvalidConfiguration) |
| | Start install homes and components.
|
| virtual ::CORBA::Object_ptr | get_node_application_manager (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| virtual ::Deployment::Properties * | properties (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| | Access the readonly attribute.
|
| virtual void | remove (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| | Remove everything inside including all components and homes.
|
| virtual ::Deployment::Container_ptr | create_container (const ::Deployment::Properties &properties ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, ::Components::CreateFailure, ::Components::InvalidConfiguration) |
| | Create a container interface, which will be hosted in this NodeApplication.
|
| virtual void | remove_container (::Deployment::Container_ptr cref ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, ::Components::RemoveFailure) |
| | Remove a container interface.
|
| virtual ::Deployment::Containers * | get_containers (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| | Get all container object refs.
|
| virtual PortableServer::POA_ptr | _default_POA (void) |
| ::Deployment::NodeApplication_ptr | get_objref (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) |
Protected Types |
typedef ACE_Hash_Map_Manager_Ex<
ACE_CString, Components::CCMObject_ptr,
ACE_Hash< ACE_CString >,
ACE_Equal_To< ACE_CString >,
ACE_Null_Mutex > | CCMComponent_Map |
| | To store all created Component object.
|
| typedef CCMComponent_Map::iterator | Component_Iterator |
Protected Member Functions |
| virtual CORBA::Long | create_all_containers (const ::Deployment::NodeImplementationInfo &node_impl_info ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| | Create and initialize all the containers.
|
Protected Attributes |
| CCMComponent_Map | component_map_ |
| TAO_SYNCH_MUTEX | lock_ |
| | Synchronize access to the object set.
|
Object_Set< Deployment::Container,
Deployment::Container_var > | container_set_ |
| | Keep a list of managed Container objects.
|
| CORBA::ORB_var | orb_ |
| | Keep a pointer to the managing ORB serving this servant.
|
| PortableServer::POA_var | poa_ |
| | Keep a pointer to the managing POA.
|
| Deployment::Properties | properties_ |
| | Cached properties.
|
| ::CORBA::Object_var | node_app_manager_ |
| | And a reference to the NodeApplicationManager that created us.
|
| ::Deployment::NodeApplication_var | objref_ |
| | Cache the object reference (of ourselves).
|