[arquillian-issues] [JBoss JIRA] Created: (ARQ-507) Multi viewed EJBs can't be auto resolved

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Tue Jul 12 07:22:23 EDT 2011


Multi viewed EJBs can't be auto resolved 
-----------------------------------------

                 Key: ARQ-507
                 URL: https://issues.jboss.org/browse/ARQ-507
             Project: Arquillian
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: Base Implementation, Runtime Enricher SPI
    Affects Versions: 1.0.0.CR1
            Reporter: Aslak Knutsen


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>


{code:title=current}
"java:global/test/" + fieldType.getSimpleName(),
"java:global/test/" + fieldType.getSimpleName() + "Bean",
{code}


{code:title=addition}
"java:global/test/" + fieldType.getSimpleName() + "!" + fieldType.getName(),
"java:global/test/" + fieldType.getSimpleName() + "Bean!" +  fieldType.getName(),
{code}


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list