-
Feature Request
-
Resolution: Unresolved
-
Major
-
None
-
1.0.0.CR1
-
None
EJBInjectionEnricher does not support multi view EJB lookup. As pr spec, BeanName jndi is not bound when the bean expose multiple views.
Spec:
The container registers a separate JNDI name entry for each local business interface, each remote busi-
ness interface, and any no-interface view, 2.x local home interface, and 2.x remote home interface. For
the no-interface view, the last portion of the entry name is the fully-qualified bean class name.
In addition to the previous requirements, if the bean exposes only one of the applicable client inter-
faces(or alternatively has only a no-interface view), the container registers an entry for that view with
the following syntax :
java:global[/<app-name>]/<module-name>/<bean-name>
current
"java:global/test/" + fieldType.getSimpleName(), "java:global/test/" + fieldType.getSimpleName() + "Bean",
addition
"java:global/test/" + fieldType.getSimpleName() + "!" + fieldType.getName(), "java:global/test/" + fieldType.getSimpleName() + "Bean!" + fieldType.getName(),