if (accessTimeoutOnMethod.value() < 0)
{
// for any negative value of timeout, we just default to max timeout val and max timeout unit.
// violation of spec! But we don't want to wait indefinitely.
logger.debug("Ignoring a negative @AccessTimeout value: " + accessTimeoutOnMethod.value() + " and timeout unit: "
+ accessTimeoutOnMethod.unit().name() + ". Will default to timeout value: " + defaultAccessTimeout.value()
+ " and timeout unit: " + defaultAccessTimeout.unit().name());
}
else
{
// use the explicit access timeout values specified on the method