/** * Set the methodName. * * @param methodName the methodName. * @throws IllegalArgumentException for a null methodName */ public void setMethodName(String methodName) { setName(methodName); }
/** * Set the methodName. * * @param methodName the methodName. * @throws IllegalArgumentException for a null methodName */ public void setMethodName(String methodName) { setName(methodName); }
/** * Returns the {@link AccessTimeoutMetaData} specified for the method "*". Returns null * if there is no {@link AccessTimeoutMetaData} applies to that method. * * @param sessionBean Session bean metadata * @return */ private AccessTimeoutMetaData getAccessTimeoutApplicableForAllMethods(JBossSessionBean31MetaData sessionBean) { NamedMethodMetaData allMethods = new NamedMethodMetaData(); allMethods.setName("*"); ConcurrentMethodMetaData concurrentMethod = sessionBean.getConcurrentMethods().get(allMethods); if (concurrentMethod == null) { return null; } return concurrentMethod.getAccessTimeout(); }
/** * Returns the {@link LockType} specified for the method "*". Returns null * if there is no lock type specified. * * @param sessionBean Session bean metadata * @return */ private LockType getLockTypeApplicableForAllMethods(JBossSessionBean31MetaData sessionBean) { NamedMethodMetaData allMethods = new NamedMethodMetaData(); allMethods.setName("*"); ConcurrentMethodMetaData concurrentMethod = sessionBean.getConcurrentMethods().get(allMethods); if (concurrentMethod == null) { return null; } return concurrentMethod.getLockType(); }
namedMethod.setName(method.getName()); if (method.getParameters() != null)
namedMethod.setName(method.getName()); if (method.getParameters() != null)