public Object getBusinessRemoteHome() { return getDeploymentInfo().getBusinessRemoteHome(); }
public BusinessRemoteHome getBusinessRemoteHome() { return getBusinessRemoteHome(getBusinessRemoteInterfaces(), null); }
public BusinessRemoteHome getBusinessRemoteHome() { return getBusinessRemoteHome(getBusinessRemoteInterfaces(), null); }
public BusinessRemoteHome getBusinessRemoteHome(final Class mainInterface) { final List<Class> remoteInterfaces = this.getBusinessRemoteInterfaces(); final List<Class> interfaces = ProxyInterfaceResolver.getInterfaces(this.getBeanClass(), mainInterface, remoteInterfaces); return this.getBusinessRemoteHome(interfaces, mainInterface); }
public BusinessRemoteHome getBusinessRemoteHome(final Class mainInterface) { final List<Class> remoteInterfaces = this.getBusinessRemoteInterfaces(); final List<Class> interfaces = ProxyInterfaceResolver.getInterfaces(this.getBeanClass(), mainInterface, remoteInterfaces); return this.getBusinessRemoteHome(interfaces, mainInterface); }
public void initInternals() { final List<Class> classes = beanContext.getBusinessLocalInterfaces(); final boolean noLocalInterface = classes.isEmpty(); if (beanContext.getComponentType().isMessageDriven()) { homeLocalBean = null; home = null; remote = null; } else if (beanContext.isLocalbean() || (noLocalInterface && beanContext.getBusinessRemoteInterfaces().isEmpty() /*EJB2*/)) { homeLocalBean = beanContext.getBusinessLocalBeanHome(); home = null; remote = null; } else if (!noLocalInterface) { final Class<?> mainInterface = classes.get(0); final List<Class> interfaces = ProxyInterfaceResolver.getInterfaces(beanContext.getBeanClass(), mainInterface, classes); interfaces.addAll(beanContext.getBusinessRemoteInterfaces()); home = beanContext.getBusinessLocalHome(interfaces, mainInterface); homeLocalBean = null; remote = null; } else { final Class<?> mainInterface = beanContext.getBusinessRemoteInterface(); final List<Class> interfaces = ProxyInterfaceResolver.getInterfaces(beanContext.getBeanClass(), mainInterface, beanContext.getBusinessRemoteInterfaces()); remote = beanContext.getBusinessRemoteHome(interfaces, mainInterface); home = null; homeLocalBean = null; } }
final BeanContext.BusinessRemoteHome home = bean.getBusinessRemoteHome(interfce); final BusinessRemoteReference ref = new BusinessRemoteReference(home);
final BeanContext.BusinessRemoteHome home = bean.getBusinessRemoteHome(interfce); final BusinessRemoteReference ref = new BusinessRemoteReference(home);