@Override protected String getDefaultInvokerJndiName() { return determineJndiName(); }
@Override public String getJndiName() { return getDelegate().determineJndiName(); }
@Override public String getJndiName() { return getDelegate().determineJndiName(); }
@Override public String getContainerObjectNameJndiName() { boolean remote = false; if (getHome() != null) remote = true; return remote ? determineJndiName() : getLocalJndiName(); }
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 = md.getHomeJndiName(); if(jndiName == null) jndiName = md.determineJndiName();
wsEjbMD.setJndiName(sessionEjbMD.determineJndiName()); wsEjbMD.setLocalJndiName(jbossEjbMD.determineLocalJndiName());
wsEjbMD.setJndiName(sessionEjbMD.determineJndiName()); wsEjbMD.setLocalJndiName(jbossEjbMD.determineLocalJndiName());
wsEjbMD.setJndiName(sessionEjbMD.determineJndiName()); wsEjbMD.setLocalJndiName(jbossEjbMD.determineLocalJndiName());
targetBean.setHome(jbossSessionBean.getHome()); targetBean.setLocalHome(jbossSessionBean.getLocalHome()); targetBean.setJndiName(jbossSessionBean.determineJndiName()); targetBean.setLocalJndiName(jbossBeansMetaData.determineLocalJndiName());
targetBean.setHome(jbossSessionBean.getHome()); targetBean.setLocalHome(jbossSessionBean.getLocalHome()); targetBean.setJndiName(jbossSessionBean.determineJndiName()); targetBean.setLocalJndiName(jbossBeansMetaData.determineLocalJndiName());
targetBean.setHome(jbossSessionBean.getHome()); targetBean.setLocalHome(jbossSessionBean.getLocalHome()); targetBean.setJndiName(jbossSessionBean.determineJndiName()); targetBean.setLocalJndiName(jbossBeansMetaData.determineLocalJndiName());
targetBean.setHome(jbossSessionBean.getHome()); targetBean.setLocalHome(jbossSessionBean.getLocalHome()); targetBean.setJndiName(jbossSessionBean.determineJndiName()); targetBean.setLocalJndiName(jbossBeansMetaData.determineLocalJndiName());
targetBean.setHome(jbossSessionBean.getHome()); targetBean.setLocalHome(jbossSessionBean.getLocalHome()); targetBean.setJndiName(jbossSessionBean.determineJndiName()); targetBean.setLocalJndiName(jbossBeansMetaData.determineLocalJndiName());