alma::acs::container::OtherComponentClient Class Reference

Inheritance diagram for alma::acs::container::OtherComponentClient:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::container::OtherComponentClient:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 OtherComponentClient (Logger logger, String managerLoc, String clientName, AcsCorba externalAcsCorba) throws Exception

Package Functions

org.omg.CORBA.Object getComponent (String name) throws AcsJContainerServicesEx
void forceReleaseComponent (String name) throws AcsJNoPermissionEx

Detailed Description

Helper client that allows activating and destroying a component independently of our test, in the sense that the manager thinks it's a different application.


Constructor & Destructor Documentation

alma::acs::container::OtherComponentClient::OtherComponentClient ( Logger  logger,
String  managerLoc,
String  clientName,
AcsCorba  externalAcsCorba 
) throws Exception [inline]

Member Function Documentation

void alma::acs::container::OtherComponentClient::forceReleaseComponent ( String  name  )  throws AcsJNoPermissionEx [inline, package]

Commands the manager directly to forcefully release the given component. Note that such a call is only OK for a unit test, but not for normal operational code.

Parameters:
name name of the component to be forcefully released
Exceptions:
AcsJNoPermissionEx 

References alma::acs::container::AcsManagerProxy::force_release_component(), alma::acs::component::client::AdvancedComponentClient::getAcsManagerProxy(), alma::acs::component::client::ComponentClient::getContainerServices(), alma::acs::component::client::ComponentClient::m_logger, and alma::acs::container::ContainerServices::releaseComponent().

Referenced by alma::acs::container::ComponentTestclient::testComponentListening().

org.omg.CORBA.Object alma::acs::container::OtherComponentClient::getComponent ( String  name  )  throws AcsJContainerServicesEx [inline, package]

The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2