/** * Get the transaction timeout for the method * * @param methodName the method name * @return the transaction timeout */ public int getMethodTransactionTimeout(String methodName) { if (methodAttributes == null) return 0; return methodAttributes.getMethodTransactionTimeout(methodName); }
/** * Is this method a read-only method * * @param methodName the method name * @return true for read only */ public boolean isMethodReadOnly(String methodName) { if (methodAttributes == null) return false; return methodAttributes.isMethodReadOnly(methodName); }
/** * Is this method a read-only method * * @param methodName the method name * @return true for read only */ public boolean isMethodReadOnly(String methodName) { MethodAttributeMetaData attribute = getMethodAttribute(methodName); return attribute.isReadOnly(); }
currentMessage = new MethodAttributesMetaData(); currentMessage.merge(overrideMsg, originalMsg);
public void merge(MethodAttributesMetaData override, MethodAttributesMetaData original) { super.merge(override, original); if (original != null) { for (MethodAttributeMetaData property : original) add(property); } if (override != null) { for (MethodAttributeMetaData property : override) add(property); } } }
/** * Is this method a read-only method * * @param methodName the method name * @return true for read only */ public boolean isMethodReadOnly(String methodName) { MethodAttributeMetaData attribute = getMethodAttribute(methodName); return attribute.isReadOnly(); }
methodAttributes = new MethodAttributesMetaData(); methodAttributes.merge(overrideMethodAttrs, originalMethodAttrs);
/** * Get the transaction timeout for the method * * @param methodName the method name * @return the transaction timeout */ public int getMethodTransactionTimeout(String methodName) { MethodAttributeMetaData attribute = getMethodAttribute(methodName); return attribute.getTransactionTimeout(); }
/** * Is this method a read-only method * * @param methodName the method name * @return true for read only */ public boolean isMethodReadOnly(String methodName) { if (methodAttributes == null) return false; return methodAttributes.isMethodReadOnly(methodName); }
/** * Get the transaction timeout for the method * * @param methodName the method name * @return the transaction timeout */ public int getMethodTransactionTimeout(String methodName) { if (methodAttributes == null) return 0; return methodAttributes.getMethodTransactionTimeout(methodName); }
/** * Get the transaction timeout for the method * * @param methodName the method name * @return the transaction timeout */ public int getMethodTransactionTimeout(String methodName) { MethodAttributeMetaData attribute = getMethodAttribute(methodName); return attribute.getTransactionTimeout(); }