use of org.apache.openejb.jee.InjectionTarget$JAXB.readInjectionTarget in project tomee by apache.
the class JndiEncInfoBuilder method buildInjectionInfos.
private Collection<? extends InjectionInfo> buildInjectionInfos(final Injectable injectable) {
final List<InjectionInfo> infos = new ArrayList<InjectionInfo>();
for (final InjectionTarget target : injectable.getInjectionTarget()) {
final InjectionInfo info = new InjectionInfo();
info.className = target.getInjectionTargetClass();
info.propertyName = target.getInjectionTargetName();
infos.add(info);
}
return infos;
}
Aggregations