public Class getBusinessLocalInterface() { return getDeploymentInfo().getBusinessLocalInterface(); }
private static String getType(final BeanContext bc) { boolean empty = true; final StringBuilder sb = new StringBuilder(); if (bc.isLocalbean()) { sb.append("LocalBean[").append(bc.getBeanClass()).append("]"); empty = false; } if (bc.getBusinessLocalInterface() != null) { if (!empty) { sb.append(", "); } sb.append("Local").append(Arrays.asList(bc.getBusinessLocalInterfaces())); empty = false; } if (bc.getBusinessRemoteInterface() != null) { if (!empty) { sb.append(", "); } sb.append("Remote").append(Arrays.asList(bc.getBusinessRemoteInterfaces())); } return sb.toString(); } }
private static String getType(final BeanContext bc) { boolean empty = true; final StringBuilder sb = new StringBuilder(); if (bc.isLocalbean()) { sb.append("LocalBean[").append(bc.getBeanClass()).append("]"); empty = false; } if (bc.getBusinessLocalInterface() != null) { if (!empty) { sb.append(", "); } sb.append("Local").append(Arrays.asList(bc.getBusinessLocalInterfaces())); empty = false; } if (bc.getBusinessRemoteInterface() != null) { if (!empty) { sb.append(", "); } sb.append("Remote").append(Arrays.asList(bc.getBusinessRemoteInterfaces())); } return sb.toString(); } }
@Override public List<Method> getRemoveMethods() { // Should we delegate to super and merge both? if (beanContext.isLocalbean()) { return findRemove(beanContext.getBeanClass(), beanContext.getBeanClass()); } return findRemove(beanContext.getBeanClass(), beanContext.getBusinessLocalInterface()); }
final Class businessLocalHomeInterface = beanContext.getBusinessLocalInterface(); if (businessLocalHomeInterface != null) { for (final Method method : BeanContext.BusinessLocalHome.class.getMethods()) {
@Override public List<Method> getRemoveMethods() { // Should we delegate to super and merge both? if (beanContext.isLocalbean()) { return findRemove(beanContext.getBeanClass(), beanContext.getBeanClass()); } return findRemove(beanContext.getBeanClass(), beanContext.getBusinessLocalInterface()); }
final Class businessLocalHomeInterface = beanContext.getBusinessLocalInterface(); if (businessLocalHomeInterface != null) { for (final Method method : BeanContext.BusinessLocalHome.class.getMethods()) {
public Class getInterface(final InterfaceType interfaceType) { switch (interfaceType) { case EJB_HOME: return getHomeInterface(); case EJB_OBJECT: return getRemoteInterface(); case EJB_LOCAL_HOME: return getLocalHomeInterface(); case EJB_LOCAL: return getLocalInterface(); case BUSINESS_LOCAL: return getBusinessLocalInterface(); case BUSINESS_REMOTE: return getBusinessRemoteInterface(); case TIMEOUT: return BeanContext.Timeout.class; case BUSINESS_REMOTE_HOME: return BeanContext.BusinessRemoteHome.class; case BUSINESS_LOCAL_HOME: return BeanContext.BusinessLocalHome.class; case SERVICE_ENDPOINT: return getServiceEndpointInterface(); case LOCALBEAN: return getBeanClass(); case BUSINESS_LOCALBEAN_HOME: return BeanContext.BusinessLocalBeanHome.class; default: throw new IllegalStateException("Unexpected enum constant: " + interfaceType); } }
final Class businessLocalHomeInterface = beanContext.getBusinessLocalInterface(); if (businessLocalHomeInterface != null) { for (final Method method : BeanContext.BusinessLocalHome.class.getMethods()) {
public Class getInterface(final InterfaceType interfaceType) { switch (interfaceType) { case EJB_HOME: return getHomeInterface(); case EJB_OBJECT: return getRemoteInterface(); case EJB_LOCAL_HOME: return getLocalHomeInterface(); case EJB_LOCAL: return getLocalInterface(); case BUSINESS_LOCAL: return getBusinessLocalInterface(); case BUSINESS_REMOTE: return getBusinessRemoteInterface(); case TIMEOUT: return BeanContext.Timeout.class; case BUSINESS_REMOTE_HOME: return BeanContext.BusinessRemoteHome.class; case BUSINESS_LOCAL_HOME: return BeanContext.BusinessLocalHome.class; case SERVICE_ENDPOINT: return getServiceEndpointInterface(); case LOCALBEAN: return getBeanClass(); case BUSINESS_LOCALBEAN_HOME: return BeanContext.BusinessLocalBeanHome.class; default: throw new IllegalStateException("Unexpected enum constant: " + interfaceType); } }
final Class businessLocalHomeInterface = beanContext.getBusinessLocalInterface(); if (businessLocalHomeInterface != null) { for (final Method method : BeanContext.BusinessLocalHome.class.getMethods()) {
informations.add(information); if (beanContext.getBusinessLocalInterface() != null) { information = new EjbInformation(); information.setName(getLocalizedString(request, BUNDLE_NAME, BLI_KEY));