use of org.apache.openejb.assembler.classic.JndiNameInfo in project tomee by apache.
the class EjbJarInfoBuilder method initJndiNames.
private void initJndiNames(final Map<String, EjbDeployment> ejbds, final EnterpriseBeanInfo info) {
final EjbDeployment deployment = ejbds.get(info.ejbName);
if (deployment != null) {
for (final Jndi jndi : deployment.getJndi()) {
final JndiNameInfo jndiNameInfo = new JndiNameInfo();
jndiNameInfo.intrface = jndi.getInterface();
jndiNameInfo.name = jndi.getName();
info.jndiNamess.add(jndiNameInfo);
}
}
}
Aggregations