/** * Gets the JNDI name under with the local home interface should be bound. * The default is local/<ejbName> * * @return the local jndi name */ public String getLocalJndiName() { return getDelegate().determineLocalJndiName(); }
/** * Gets the JNDI name under with the local home interface should be bound. * The default is local/<ejbName> * * @return the local jndi name */ public String getLocalJndiName() { return getDelegate().determineLocalJndiName(); }
private static String getJndiName(JBossEnterpriseBeanMetaData beanMD, boolean isLocal) { String jndiName = null; if (isLocal) { // Validate that there is a local home associated with this bean jndiName = beanMD.determineLocalJndiName(); if (jndiName == null) { log.warn("LocalHome jndi name requested for: '" + beanMD.getEjbName() + "' but there is no LocalHome class"); } } else { if( beanMD.isEntity() ) { JBossEntityBeanMetaData md = (JBossEntityBeanMetaData) beanMD; jndiName = md.determineJndiName(); } else if( beanMD.isSession()) { JBossSessionBeanMetaData md = (JBossSessionBeanMetaData) beanMD; jndiName = md.determineJndiName(); } } return jndiName; }
jndiName = beanMD.determineLocalJndiName(); if (jndiName == null)
jndiName = beanMD.determineLocalJndiName(); break; case REMOTE_HOME:
localJndiName = md.determineLocalJndiName();
wsEjbMD.setLocalJndiName(jbossEjbMD.determineLocalJndiName());
wsEjbMD.setLocalJndiName(jbossEjbMD.determineLocalJndiName());
wsEjbMD.setLocalJndiName(jbossEjbMD.determineLocalJndiName());
targetBean.setLocalHome(jbossSessionBean.getLocalHome()); targetBean.setJndiName(jbossSessionBean.determineJndiName()); targetBean.setLocalJndiName(jbossBeansMetaData.determineLocalJndiName());
targetBean.setLocalHome(jbossSessionBean.getLocalHome()); targetBean.setJndiName(jbossSessionBean.determineJndiName()); targetBean.setLocalJndiName(jbossBeansMetaData.determineLocalJndiName());
targetBean.setLocalHome(jbossSessionBean.getLocalHome()); targetBean.setJndiName(jbossSessionBean.determineJndiName()); targetBean.setLocalJndiName(jbossBeansMetaData.determineLocalJndiName());
targetBean.setLocalHome(jbossSessionBean.getLocalHome()); targetBean.setJndiName(jbossSessionBean.determineJndiName()); targetBean.setLocalJndiName(jbossBeansMetaData.determineLocalJndiName());
targetBean.setLocalHome(jbossSessionBean.getLocalHome()); targetBean.setJndiName(jbossSessionBean.determineJndiName()); targetBean.setLocalJndiName(jbossBeansMetaData.determineLocalJndiName());