/** * Check MDB methods TX type, is cached here * * @param methodName the method name * @param signature the signature * @return the transaction type */ public byte getMethodTransactionType(String methodName, Class[] signature) { if (isContainerManagedTx()) { if (super.getMethodTransactionType(methodName, signature, null) == TX_NOT_SUPPORTED) return TX_NOT_SUPPORTED; else return TX_REQUIRED; } else return TX_UNKNOWN; }
/** * Check MDB methods TX type, is cached here * * @param methodName the method name * @param signature the signature * @return the transaction type */ public byte getMethodTransactionType(String methodName, Class[] signature) { if (isContainerManagedTx()) { if (super.getMethodTransactionType(methodName, signature, null) == TX_NOT_SUPPORTED) return TX_NOT_SUPPORTED; else return TX_REQUIRED; } else return TX_UNKNOWN; }