public T getAttributeStyle2(MethodIntf methodIntf, String methodName) { if (methodIntf == null) return style2.get(methodName); else return perViewStyle2.pick(methodIntf).get(methodName); }
/** * Style 2 (13.3.7.2.1 @2) * * @param methodIntf the method-intf the annotations apply to or null if EJB class itself * @param transactionAttribute * @param methodName */ public void setAttribute(MethodIntf methodIntf, T transactionAttribute, String methodName) { if (methodIntf == null) style2.put(methodName, transactionAttribute); else perViewStyle2.pick(methodIntf).put(methodName, transactionAttribute); }
public T getAttributeStyle3(MethodIntf methodIntf, final String className, String methodName, String... methodParams) { ArrayKey methodParamsKey = new ArrayKey((Object[]) methodParams); if (methodIntf == null) return style3.pick(className).pick(methodName).get(methodParamsKey); else return perViewStyle3.pick(methodIntf).pick(methodName).get(methodParamsKey); }
/** * Style 3 (13.3.7.2.1 @3) * * @param methodIntf the method-intf the annotations apply to or null if EJB class itself * @param transactionAttribute * @param methodName * @param methodParams */ public void setAttribute(MethodIntf methodIntf, T transactionAttribute, final String className, String methodName, String... methodParams) { ArrayKey methodParamsKey = new ArrayKey((Object[]) methodParams); if (methodIntf == null) style3.pick(className).pick(methodName).put(methodParamsKey, transactionAttribute); else perViewStyle3.pick(methodIntf).pick(methodName).put(methodParamsKey, transactionAttribute); }
/** * Style 2 (13.3.7.2.1 @2) * * @param methodIntf the method-intf the annotations apply to or null if EJB class itself * @param transactionAttribute * @param methodName */ public void setAttribute(MethodIntf methodIntf, T transactionAttribute, String methodName) { if (methodIntf == null) style2.put(methodName, transactionAttribute); else perViewStyle2.pick(methodIntf).put(methodName, transactionAttribute); }
public T getAttributeStyle2(MethodIntf methodIntf, String methodName) { if (methodIntf == null) return style2.get(methodName); else return perViewStyle2.pick(methodIntf).get(methodName); }
public T getAttributeStyle3(MethodIntf methodIntf, final String className, String methodName, String... methodParams) { ArrayKey methodParamsKey = new ArrayKey((Object[]) methodParams); if (methodIntf == null) return style3.pick(className).pick(methodName).get(methodParamsKey); else return perViewStyle3.pick(methodIntf).pick(methodName).get(methodParamsKey); }
/** * Style 3 (13.3.7.2.1 @3) * * @param methodIntf the method-intf the annotations apply to or null if EJB class itself * @param transactionAttribute * @param methodName * @param methodParams */ public void setAttribute(MethodIntf methodIntf, T transactionAttribute, final String className, String methodName, String... methodParams) { ArrayKey methodParamsKey = new ArrayKey((Object[]) methodParams); if (methodIntf == null) style3.pick(className).pick(methodName).put(methodParamsKey, transactionAttribute); else perViewStyle3.pick(methodIntf).pick(methodName).put(methodParamsKey, transactionAttribute); }