@Override public String getHome() { return delegate.getHome(); }
@Override public String getHome() { return getDelegate().getHome(); }
@Override public String getHome() { return getDelegate().getHome(); }
@Override public String getContainerObjectNameJndiName() { boolean remote = false; if (getHome() != null) remote = true; return remote ? determineJndiName() : getLocalJndiName(); }
@Override public String getContainerObjectNameJndiName() { boolean remote = false; if (getHome() != null) remote = true; return remote ? getJndiName() : getLocalJndiName(); }
String home = smd.getHome(); String local = smd.getLocal(); String localHome = smd.getLocalHome();
private void addHomeAnnotations(EJBContainer container, JBossSessionBeanMetaData sessionBean) throws Exception { if (sessionBean.getHome() != null) { RemoteHomeImpl annotation = new RemoteHomeImpl(di.getClassLoader() .loadClass(sessionBean.getHome())); addClassAnnotation(container, annotation.annotationType(), annotation); } if (sessionBean.getLocalHome() != null) { LocalHomeImpl annotation = new LocalHomeImpl(di.getClassLoader() .loadClass(sessionBean.getLocalHome())); addClassAnnotation(container, annotation.annotationType(), annotation); } }
public EjbDeploymentSummary(JBossEnterpriseBeanMetaData beanMD, DeploymentSummary dsummary) { super(dsummary); // this.setBeanClassName(beanMD.getEjbClass()); this.setEjbName(beanMD.getEjbName()); this.setService(beanMD.isService()); if(beanMD instanceof JBossSessionBeanMetaData) { JBossSessionBeanMetaData sbeanMD = (JBossSessionBeanMetaData) beanMD; this.setStateful(sbeanMD.isStateful()); if(sbeanMD.getHome() != null && sbeanMD.getHome().length() > 0) this.setHome(true); if(sbeanMD.getLocal() != null && sbeanMD.getLocal().length() > 0) this.setLocal(true); // Is a local-home also a home? } this.beanMD = beanMD; }
wsEjbMD.setHome(sessionEjbMD.getHome()); wsEjbMD.setLocalHome(sessionEjbMD.getLocalHome());
wsEjbMD.setHome(sessionEjbMD.getHome()); wsEjbMD.setLocalHome(sessionEjbMD.getLocalHome());
wsEjbMD.setHome(sessionEjbMD.getHome()); wsEjbMD.setLocalHome(sessionEjbMD.getLocalHome());
targetBean.setEjbClass(jbossSessionBean.getEjbClass()); targetBean.setServiceEndpointInterface(jbossSessionBean.getServiceEndpoint()); targetBean.setHome(jbossSessionBean.getHome()); targetBean.setLocalHome(jbossSessionBean.getLocalHome()); targetBean.setJndiName(jbossSessionBean.determineJndiName());
targetBean.setEjbClass(jbossSessionBean.getEjbClass()); targetBean.setServiceEndpointInterface(jbossSessionBean.getServiceEndpoint()); targetBean.setHome(jbossSessionBean.getHome()); targetBean.setLocalHome(jbossSessionBean.getLocalHome()); targetBean.setJndiName(jbossSessionBean.determineJndiName());
targetBean.setEjbClass(jbossSessionBean.getEjbClass()); targetBean.setServiceEndpointInterface(jbossSessionBean.getServiceEndpoint()); targetBean.setHome(jbossSessionBean.getHome()); targetBean.setLocalHome(jbossSessionBean.getLocalHome()); targetBean.setJndiName(jbossSessionBean.determineJndiName());
targetBean.setEjbClass(jbossSessionBean.getEjbClass()); targetBean.setServiceEndpointInterface(jbossSessionBean.getServiceEndpoint()); targetBean.setHome(jbossSessionBean.getHome()); targetBean.setLocalHome(jbossSessionBean.getLocalHome()); targetBean.setJndiName(jbossSessionBean.determineJndiName());
targetBean.setEjbClass(jbossSessionBean.getEjbClass()); targetBean.setServiceEndpointInterface(jbossSessionBean.getServiceEndpoint()); targetBean.setHome(jbossSessionBean.getHome()); targetBean.setLocalHome(jbossSessionBean.getLocalHome()); targetBean.setJndiName(jbossSessionBean.determineJndiName());