private void check_hasInterface(RemoteBean b) { if (b.getRemote() != null) return; if (b.getLocal() != null) return; Class<?> beanClass = null; try { beanClass = loadClass(b.getEjbClass()); } catch (OpenEJBException e) { } if (b instanceof EntityBean){ fail(b, "noInterfaceDeclared.entity", beanClass.getSimpleName()); return; } if (b.getBusinessLocal().size() > 0) return; if (b.getBusinessRemote().size() > 0) return; if (((SessionBean) b).getServiceEndpoint() != null) return; if (beanClass.isAnnotationPresent(WebService.class)) return; //fail(b, "noInterfaceDeclared.session"); }
if (((SessionBean) b).getServiceEndpoint() != null) { return;
if (((SessionBean) b).getServiceEndpoint() != null) { return;
descriptor.addAll(sessionBean.getBusinessLocal()); descriptor.addAll(sessionBean.getBusinessRemote()); descriptor.add(sessionBean.getServiceEndpoint()); if (sessionBean.getServiceEndpoint() == null) { Class defaultEndpoint = DeploymentInfo.ServiceEndpoint.class;
descriptor.addAll(sessionBean.getBusinessLocal()); descriptor.addAll(sessionBean.getBusinessRemote()); descriptor.add(sessionBean.getServiceEndpoint()); if (sessionBean.getServiceEndpoint() == null) { Class defaultEndpoint = BeanContext.ServiceEndpoint.class;
descriptor.addAll(sessionBean.getBusinessLocal()); descriptor.addAll(sessionBean.getBusinessRemote()); descriptor.add(sessionBean.getServiceEndpoint()); if (sessionBean.getServiceEndpoint() == null) { Class defaultEndpoint = BeanContext.ServiceEndpoint.class;
if (sessionBean.getServiceEndpoint() == null) continue;
if (sessionBean.getServiceEndpoint() == null) { continue;
if (sessionBean.getServiceEndpoint() == null) { continue;
continue; if (sessionBean.getServiceEndpoint() == null) { continue; portComponent.setServiceEndpointInterface(sessionBean.getServiceEndpoint()); final HandlerChains handlerChains = getHandlerChains(ejbClass, sessionBean.getServiceEndpoint(), ejbModule.getClassLoader()); portComponent.setHandlerChains(handlerChains);
if (sessionBean.getSessionType() == SessionType.STATEFUL) continue; if (sessionBean.getSessionType() == SessionType.MANAGED) continue; if (sessionBean.getServiceEndpoint() == null) continue; portComponent.setServiceEndpointInterface(sessionBean.getServiceEndpoint()); HandlerChains handlerChains = getHandlerChains(ejbClass, sessionBean.getServiceEndpoint(), ejbModule.getClassLoader()); portComponent.setHandlerChains(handlerChains);
continue; if (sessionBean.getServiceEndpoint() == null) { continue; portComponent.setServiceEndpointInterface(sessionBean.getServiceEndpoint()); final HandlerChains handlerChains = getHandlerChains(ejbClass, sessionBean.getServiceEndpoint(), ejbModule.getClassLoader()); portComponent.setHandlerChains(handlerChains);
gbean.setAttribute(EjbInterface.SERVICE_ENDPOINT.getAttributeName(), statelessBean.getServiceEndpoint());
TransactionType txType = s.getTransactionType(); bean.transactionType = (txType != null)?txType.toString(): TransactionType.CONTAINER.toString(); bean.serviceEndpoint = s.getServiceEndpoint(); bean.properties.putAll(d.getProperties());
final TransactionType txType = s.getTransactionType(); bean.transactionType = txType != null ? txType.toString() : TransactionType.CONTAINER.toString(); bean.serviceEndpoint = s.getServiceEndpoint(); bean.properties.putAll(d.getProperties());
final TransactionType txType = s.getTransactionType(); bean.transactionType = txType != null ? txType.toString() : TransactionType.CONTAINER.toString(); bean.serviceEndpoint = s.getServiceEndpoint(); bean.properties.putAll(d.getProperties());
remoteBean.getEjbName(), EjbInterface.SERVICE_ENDPOINT.getJaccInterfaceName(), ((SessionBean) remoteBean).getServiceEndpoint(), ejbModule.getClassLoader());