if (annotation == null) {
annotation = method.getDeclaringClass().getAnnotation(Asynchronous.class);
}
if (annotation != null) {
ret_delivery_guaranteed = annotation.guaranteedDelivery();
if (ret_delivery_guaranteed && (GuaranteedDelivery.DISABLED == m_proxyHandlerDeliveryGuaranteed)) {
ret_delivery_guaranteed = false;
LogFactory.getLog(ClientRemotePojoFactory.class).error(
"Illegal use of Guaranteed Delivery, Remove 'guaranteedDelivery=true' from method: "