
Public Member Functions | |
| JconttestUtil (ContainerServices containerServices) | |
| int | getSystemLevelOrbTimeoutMillis () throws AcsJCouldntPerformActionEx |
| double | getContainerLevelOrbTimeout (String containerName) throws AcsJContainerServicesEx |
Private Attributes | |
| final ContainerServices | containerServices |
| final AcsLogger | logger |
Static Private Attributes | |
| static final String | PROPERTYNAME_CLIENTORBTIMEOUT = "jacorb.connection.client.pending_reply_timeout" |
| alma::jconttest::util::JconttestUtil::JconttestUtil | ( | ContainerServices | containerServices | ) | [inline] |
References alma::acs::container::ContainerServicesBase::getLogger(), and logger.
| double alma::jconttest::util::JconttestUtil::getContainerLevelOrbTimeout | ( | String | containerName | ) | throws AcsJContainerServicesEx [inline] |
Reads the Container.Timeout field from the CDB. Note that the default (currently defined in Container.xsd) will be returned if the container config does not override that Timeout.
References containerServices, and alma::acs::container::ContainerServicesBase::getCDB().
Referenced by alma::acs::container::corba::ContainerClientPendingReplyTimeoutTest::testOrbLevelTimeout().
| int alma::jconttest::util::JconttestUtil::getSystemLevelOrbTimeoutMillis | ( | ) | throws AcsJCouldntPerformActionEx [inline] |
We get the timeout property value from the ORB configuration. System-level timeout defaults are not standardized in Corba, thus we need jacorb-specific access.
| IllegalArgumentException | if the ORB timeout is configured as a negative value | |
| AcsJCouldntPerformActionEx | if the ORB-level timeout could not be read, e.g. because the ORB is not jacorb. |
References containerServices, alma::acs::container::ContainerServicesBase::getAdvancedContainerServices(), alma::acs::logging::AcsLogger::log(), logger, and PROPERTYNAME_CLIENTORBTIMEOUT.
Referenced by alma::jconttest::DummyComponentWrapperImpl::DummyComponentWrapperImpl::_callDummyComponentWithTime(), alma::acs::container::corba::ContainerClientPendingReplyTimeoutTest::setUp(), and alma::acs::container::corba::ClientPendingReplyTimeoutTest::testClientPendingReplyTimeout().
Referenced by getContainerLevelOrbTimeout(), and getSystemLevelOrbTimeoutMillis().
final AcsLogger alma::jconttest::util::JconttestUtil::logger [private] |
Referenced by getSystemLevelOrbTimeoutMillis(), and JconttestUtil().
final String alma::jconttest::util::JconttestUtil::PROPERTYNAME_CLIENTORBTIMEOUT = "jacorb.connection.client.pending_reply_timeout" [static, private] |
Referenced by getSystemLevelOrbTimeoutMillis().
1.6.2