public Class getHomeInterface() { return legacyView == null ? null : getLegacyView().homeInterface; }
public Method getCreateMethod() { return getLegacyView().createMethod; }
public Class getRemoteInterface() { return legacyView == null ? null : getLegacyView().remoteInterface; }
public Class getLocalInterface() { return legacyView == null ? null : getLegacyView().localInterface; }
public Class getLocalHomeInterface() { return legacyView == null ? null : getLegacyView().localHomeInterface; }
public Method getCreateMethod() { return getLegacyView().createMethod; }
public Class getRemoteInterface() { return legacyView == null ? null : getLegacyView().remoteInterface; }
public Class getHomeInterface() { return legacyView == null ? null : getLegacyView().homeInterface; }
public Class getLocalHomeInterface() { return legacyView == null ? null : getLegacyView().localHomeInterface; }
public Class getLocalInterface() { return legacyView == null ? null : getLegacyView().localInterface; }
public EJBLocalHome getEJBLocalHome() { if (getLocalHomeInterface() == null) { throw new IllegalStateException("This component has no local home interface: " + getDeploymentID()); } if (getLegacyView().ejbLocalHomeRef == null) { getLegacyView().ejbLocalHomeRef = (EJBLocalHome) EjbHomeProxyHandler.createHomeProxy(this, InterfaceType.EJB_LOCAL_HOME); } return getLegacyView().ejbLocalHomeRef; }
public EJBHome getEJBHome() { if (getHomeInterface() == null) { throw new IllegalStateException("This component has no home interface: " + getDeploymentID()); } if (getLegacyView().ejbHomeRef == null) { getLegacyView().ejbHomeRef = (EJBHome) EjbHomeProxyHandler.createHomeProxy(this, InterfaceType.EJB_HOME); } return getLegacyView().ejbHomeRef; }
public EJBLocalHome getEJBLocalHome() { if (getLocalHomeInterface() == null) { throw new IllegalStateException("This component has no local home interface: " + getDeploymentID()); } if (getLegacyView().ejbLocalHomeRef == null) { getLegacyView().ejbLocalHomeRef = (EJBLocalHome) EjbHomeProxyHandler.createHomeProxy(this, InterfaceType.EJB_LOCAL_HOME); } return getLegacyView().ejbLocalHomeRef; }
public EJBHome getEJBHome() { if (getHomeInterface() == null) { throw new IllegalStateException("This component has no home interface: " + getDeploymentID()); } if (getLegacyView().ejbHomeRef == null) { getLegacyView().ejbHomeRef = (EJBHome) EjbHomeProxyHandler.createHomeProxy(this, InterfaceType.EJB_HOME); } return getLegacyView().ejbHomeRef; }
/** * This ManagedBean is added to all EjbModules to effectively * create a sharable "comp" namespace which can be used in * for components with undefined namespace such as CDI */ public static class Comp { public static String openejbCompName(final String module) { return module + "." + Comp.class.getSimpleName(); } }
/** * This ManagedBean is added to all EjbModules to effectively * create a sharable "comp" namespace which can be used in * for components with undefined namespace such as CDI */ public static class Comp { public static String openejbCompName(final String module) { return module + "." + Comp.class.getSimpleName(); } }
ejbCreateName.replace(0, 1, "ejbC"); beanMethod = beanClass.getMethod(ejbCreateName.toString(), method.getParameterTypes()); getLegacyView().createMethod = beanMethod; getCmp().postCreateMethodMap.put(getLegacyView().createMethod, postCreateMethod);
ejbCreateName.replace(0, 1, "ejbC"); beanMethod = beanClass.getMethod(ejbCreateName.toString(), method.getParameterTypes()); getLegacyView().createMethod = beanMethod; getCmp().postCreateMethodMap.put(getLegacyView().createMethod, postCreateMethod);
public void createMethodMap() throws SystemException { if (getRemoteInterface() != null) { mapObjectInterface(getLegacyView().remoteInterface); mapHomeInterface(getLegacyView().homeInterface); mapObjectInterface(getLegacyView().localInterface); mapHomeInterface(getLegacyView().localHomeInterface); getLegacyView().createMethod = beanClass.getMethod("ejbCreate"); } catch (final NoSuchMethodException e) {
public void createMethodMap() throws SystemException { if (getRemoteInterface() != null) { mapObjectInterface(getLegacyView().remoteInterface); mapHomeInterface(getLegacyView().homeInterface); mapObjectInterface(getLegacyView().localInterface); mapHomeInterface(getLegacyView().localHomeInterface); getLegacyView().createMethod = beanClass.getMethod("ejbCreate"); } catch (final NoSuchMethodException e) {