

Public Member Functions | |
| ArchiveSupplierTest (Logger logger, String managerLoc, String clientName) throws Exception | |
| void | tearDown () throws Exception |
| void | publish () throws Exception |
Static Public Member Functions | |
| static void | main (String[] args) |
Private Attributes | |
| ArchiveSupplier | m_supplier = null |
Client application that accesses the HelloDemo component. It demonstrates how the class ComponentClientcan be used as a base class.
| alma::demo::test::client::ArchiveSupplierTest::ArchiveSupplierTest | ( | Logger | logger, | |
| String | managerLoc, | |||
| String | clientName | |||
| ) | throws Exception [inline] |
| logger | ||
| managerLoc | ||
| clientName |
| Exception |
References alma::acs::component::client::ComponentClient::getContainerServices(), and m_supplier.
Referenced by main().
| static void alma::demo::test::client::ArchiveSupplierTest::main | ( | String[] | args | ) | [inline, static] |
Checks whether the Java property 'ACS.manager' is set and calls the other methods from this class.
References ArchiveSupplierTest(), and publish().
| void alma::demo::test::client::ArchiveSupplierTest::publish | ( | ) | throws Exception [inline] |
References m_supplier, and alma::acs::nc::ArchiveSupplier::publishEvent().
Referenced by main().
| void alma::demo::test::client::ArchiveSupplierTest::tearDown | ( | ) | throws Exception [inline] |
Must be called by the application that uses this class, when it is done using ACS components. At the latest it should be called when the application itself terminates.
Releases all previously obtained components (using manager), and logs out from the manager. It also stops remote logging and terminates the CORBA ORB unless an AcsCorba instance was provided in the c'tor; otherwise the application remains responsible to clean up logging and the ORB.
Reimplemented from alma::acs::component::client::ComponentClient.
References alma::acs::nc::SimpleSupplier::disconnect(), and m_supplier.
ArchiveSupplier alma::demo::test::client::ArchiveSupplierTest::m_supplier = null [private] |
Referenced by ArchiveSupplierTest(), publish(), and tearDown().
1.6.2