alma::demo::test::client::ArchiveSupplierTest Class Reference

Inheritance diagram for alma::demo::test::client::ArchiveSupplierTest:
Inheritance graph
[legend]
Collaboration diagram for alma::demo::test::client::ArchiveSupplierTest:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Client application that accesses the HelloDemo component. It demonstrates how the class ComponentClientcan be used as a base class.


Constructor & Destructor Documentation

alma::demo::test::client::ArchiveSupplierTest::ArchiveSupplierTest ( Logger  logger,
String  managerLoc,
String  clientName 
) throws Exception [inline]
Parameters:
logger 
managerLoc 
clientName 
Exceptions:
Exception 

References alma::acs::component::client::ComponentClient::getContainerServices(), and m_supplier.

Referenced by main().


Member Function Documentation

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]
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.


Member Data Documentation


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

Generated by  doxygen 1.6.2