Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::acs::container::corba::AcsCorbaTestWithContainer Class Reference

List of all members.

Public Member Functions

 AcsCorbaTestWithContainer () throws Exception
void testParallelCalls () throws Exception
void testComponentPOALifecycleAsync () throws Exception

Protected Member Functions

void setUp () throws Exception
void tearDown () throws Exception

Private Member Functions

void _testComponentPOALifecycle (boolean destroyWhileBusy, int iterations) throws Exception

Private Attributes

DummyComponent dummyComponent
volatile Throwable exceptionInThread

Static Private Attributes

final String DUMMYCOMP_TYPENAME = "IDL:alma/jconttest/DummyComponent:1.0"

Detailed Description

Tests alma.acs.container.corba.AcsCorba and related usage of ORB and POAs. Requires ACS runtime with a remote container.

Author:
hsommer
See also:
alma.acs.container.corba.AcsCorbaTest


Constructor & Destructor Documentation

alma::acs::container::corba::AcsCorbaTestWithContainer::AcsCorbaTestWithContainer  )  throws Exception [inline]
 


Member Function Documentation

void alma::acs::container::corba::AcsCorbaTestWithContainer::_testComponentPOALifecycle boolean  destroyWhileBusy,
int  iterations
throws Exception [inline, private]
 

Parameters:
destroyWhileBusy 
iterations 
Exceptions:
Exception 

void alma::acs::container::corba::AcsCorbaTestWithContainer::setUp  )  throws Exception [inline, protected]
 

void alma::acs::container::corba::AcsCorbaTestWithContainer::tearDown  )  throws Exception [inline, protected]
 

void alma::acs::container::corba::AcsCorbaTestWithContainer::testComponentPOALifecycleAsync  )  throws Exception [inline]
 

Activates / deactivates a component 10 times, each time calling a method that still runs while its POA is getting deactivated. The purpose is to check the container's ability to wait for currently processing requests to terminate, before cleanUp is called on the component.

TODO: extend this scenario so that another collocated component issues the long lasting call. This may not work due to a JacORB bug, which we should find out about. Confer the currently disabled test alma.acs.container.corba.AcsCorbaTest#__testComponentPOALifecycleAsync().

Exceptions:
Exception 

void alma::acs::container::corba::AcsCorbaTestWithContainer::testParallelCalls  )  throws Exception [inline]
 


Member Data Documentation

final String alma::acs::container::corba::AcsCorbaTestWithContainer::DUMMYCOMP_TYPENAME = "IDL:alma/jconttest/DummyComponent:1.0" [static, private]
 

DummyComponent alma::acs::container::corba::AcsCorbaTestWithContainer::dummyComponent [private]
 

volatile Throwable alma::acs::container::corba::AcsCorbaTestWithContainer::exceptionInThread [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:52:34 2009 for ACS Java API by doxygen 1.3.8