private NamedMethodInfo toInfo(NamedMethod method) { if (method == null) return null; NamedMethodInfo info = new NamedMethodInfo(); info.methodName = method.getMethodName(); if (method.getMethodParams() != null) { info.methodParams = method.getMethodParams().getMethodParam(); } return info; }
private NamedMethodInfo toInfo(final NamedMethod method) { if (method == null) { return null; } final NamedMethodInfo info = new NamedMethodInfo(); info.methodName = method.getMethodName(); if (method.getMethodParams() != null) { info.methodParams = method.getMethodParams().getMethodParam(); } return info; }
private NamedMethodInfo toInfo(final NamedMethod method) { if (method == null) { return null; } final NamedMethodInfo info = new NamedMethodInfo(); info.methodName = method.getMethodName(); if (method.getMethodParams() != null) { info.methodParams = method.getMethodParams().getMethodParam(); } return info; }
public MethodAttribute(final A attribute, final String ejbName, final NamedMethod method) { this.attribute = attribute; this.ejbName = ejbName; this.methodName = method.getMethodName(); this.methodParams = method.getMethodParams(); this.className = method.getClassName(); }
public MethodAttribute(final A attribute, final String ejbName, final NamedMethod method) { this.attribute = attribute; this.ejbName = ejbName; this.methodName = method.getMethodName(); this.methodParams = method.getMethodParams(); this.className = method.getClassName(); }
public MethodAttribute(A attribute, String ejbName, NamedMethod method) { this.attribute = attribute; this.ejbName = ejbName; this.methodName = method.getMethodName(); this.methodParams = method.getMethodParams(); this.className = method.getClassName(); }
private void copyConcurrentMethods(final SessionBean bean, final EjbJarInfo ejbJarInfo, final Map ejbds) { for (final ConcurrentMethod method : bean.getConcurrentMethod()) { final MethodConcurrencyInfo info = new MethodConcurrencyInfo(); if (method.getLock() != null) { info.concurrencyAttribute = method.getLock().toString(); } info.accessTimeout = toInfo(method.getAccessTimeout()); final Method m = new Method(bean.getEjbName(), null, method.getMethod().getMethodName()); m.setMethodParams(method.getMethod().getMethodParams()); info.methods.add(getMethodInfo(m, ejbds)); ejbJarInfo.methodConcurrency.add(info); } }
private void copyConcurrentMethods(final SessionBean bean, final EjbJarInfo ejbJarInfo, final Map ejbds) { for (final ConcurrentMethod method : bean.getConcurrentMethod()) { final MethodConcurrencyInfo info = new MethodConcurrencyInfo(); if (method.getLock() != null) { info.concurrencyAttribute = method.getLock().toString(); } info.accessTimeout = toInfo(method.getAccessTimeout()); final Method m = new Method(bean.getEjbName(), null, method.getMethod().getMethodName()); m.setMethodParams(method.getMethod().getMethodParams()); info.methods.add(getMethodInfo(m, ejbds)); ejbJarInfo.methodConcurrency.add(info); } }
for (final Timer timer : timers) { final NamedMethod namedMethod = timer.getTimeoutMethod(); methodsConfiguredInDeploymentXml.add(namedMethod.getMethodName() + (namedMethod.getMethodParams() == null ? "" : Join.join("", namedMethod.getMethodParams().getMethodParam())));
for (final Timer timer : timers) { final NamedMethod namedMethod = timer.getTimeoutMethod(); methodsConfiguredInDeploymentXml.add(namedMethod.getMethodName() + (namedMethod.getMethodParams() == null ? "" : Join.join("", namedMethod.getMethodParams().getMethodParam())));