Handle getHomeJndiName check in JBossSessionBeanMetaData.determineJndiName
--------------------------------------------------------------------------
Key: JBMETA-16
URL:
http://jira.jboss.com/jira/browse/JBMETA-16
Project: JBoss Metadata
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Affects Versions: 1.0.0.Beta7
Reporter: Scott M Stark
Assigned To: Scott M Stark
Fix For: 1.0.0.Beta8
To avoid code like this below, we need to handle the handle the check for getHomeJndiName
in determineJndiName
else if( beanMD.isSession())
{
JBossSessionBeanMetaData md = (JBossSessionBeanMetaData) beanMD;
jndiName = md.getHomeJndiName();
if(jndiName == null)
jndiName = md.determineJndiName();
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira