use of org.apache.openejb.assembler.classic.NamedMethodInfo in project tomee by apache.
the class EjbJarInfoBuilder method toInfo.
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;
}
use of org.apache.openejb.assembler.classic.NamedMethodInfo in project tomee by apache.
the class EjbJarInfoBuilder method copyAsynchronous.
private void copyAsynchronous(final List<AsyncMethod> methods, final List<NamedMethodInfo> methodInfos) {
for (final AsyncMethod asyncMethod : methods) {
final NamedMethodInfo info = new NamedMethodInfo();
info.methodName = asyncMethod.getMethodName();
if (asyncMethod.getMethodParams() != null) {
info.methodParams = asyncMethod.getMethodParams().getMethodParam();
}
methodInfos.add(info);
}
}
Aggregations