} else if( ejbDesc.isLocalBean()) {
(!ejbDesc.isLocalBean()) ) { if( (!ejbDesc.isLocalBean()) && (clientInterfaces.size() == 0) && !ejbDesc.hasWebServiceEndpointInterface() && if (ejbDesc.isLocalBean()) { addNoInterfaceLocalBeanClasses(ejbDesc, ejbClass);
} else if( ejbDesc.isLocalBean() && intfName.equals( ejbDesc.getEjbClassName() ) ) {
} else if( ejbDesc.isLocalBean() && intfName.equals( ejbDesc.getEjbClassName() ) ) {
if (ejbDesc.isLocalBean()) { methodAlls.add( new MethodDescriptor(MethodDescriptor.ALL_METHODS,
if (ejbDesc.isLocalBean()) { methodAlls.add( new MethodDescriptor(MethodDescriptor.ALL_METHODS,
if (isLocalBean()) { addAllInterfaceMethodsIn(methods, classLoader.loadClass(getEjbClassName()), MethodDescriptor.EJB_LOCAL);
if (ejbDescriptor.isLocalBean()) { addAllInterfaceMethodsIn(methods, classLoader.loadClass(ejbDescriptor.getEjbClassName()));
if (ejbDescriptor.isLocalBean()) { addAllInterfaceMethodsIn(methods, classLoader.loadClass(ejbDescriptor.getEjbClassName()));
/** * Sets the ejb descriptor to which I refer. * @param ejbDescriptor the ejb descriptor referenced, null if it is unknow at this time */ public void setEjbDescriptor(EjbDescriptor ejbDescriptor) { if (this.ejbDescriptor != null) { this.ejbDescriptor.removeEjbReferencer(this); // remove previous referencer } this.ejbDescriptor=ejbDescriptor; if (ejbDescriptor!=null) { ejbDescriptor.addEjbReferencer(this); if (isLocal()) { if (!ejbDescriptor.isLocalInterfacesSupported() && !ejbDescriptor.isLocalBusinessInterfacesSupported() && !ejbDescriptor.isLocalBean()) { throw new RuntimeException(localStrings.getLocalString( "entreprise.deployment.invalidLocalInterfaceReference", "Trying to set an ejb-local-ref on an EJB while the EJB does not define local interfaces")); } } else { if (!ejbDescriptor.isRemoteInterfacesSupported() && !ejbDescriptor.isRemoteBusinessInterfacesSupported()) { throw new RuntimeException(localStrings.getLocalString( "entreprise.deployment.invalidRemoteInterfaceReference", "Trying to set an ejb-ref on an EJB, while the EJB does not define remote interfaces")); } } } }
/** * Sets the ejb descriptor to which I refer. * @param ejbDescriptor the ejb descriptor referenced, null if it is unknown at this time */ @Override public void setEjbDescriptor(EjbDescriptor ejbDescriptor) { if (this.ejbDescriptor != null) { this.ejbDescriptor.removeEjbReferencer(this); // remove previous referencer } this.ejbDescriptor=ejbDescriptor; if (ejbDescriptor!=null) { ejbDescriptor.addEjbReferencer(this); if (isLocal()) { if (!ejbDescriptor.isLocalInterfacesSupported() && !ejbDescriptor.isLocalBusinessInterfacesSupported() && !ejbDescriptor.isLocalBean()) { throw new RuntimeException(localStrings.getLocalString( "entreprise.deployment.invalidLocalInterfaceReference", "Trying to set an ejb-local-ref on an EJB while the EJB [{0}] does not define local interfaces", new Object[] {ejbDescriptor.getName()})); } } else { if (!ejbDescriptor.isRemoteInterfacesSupported() && !ejbDescriptor.isRemoteBusinessInterfacesSupported()) { throw new RuntimeException(localStrings.getLocalString( "entreprise.deployment.invalidRemoteInterfaceReference", "Trying to set an ejb-ref on an EJB, while the EJB [{0}] does not define remote interfaces", new Object[] {ejbDescriptor.getName()})); } } } }
if (next.isLocalBean()) { addIntfInfo(intfInfoMap, next.getEjbClassName(), EjbIntfType.NO_INTF_LOCAL_BUSINESS, next);
if (next.isLocalBean()) { addIntfInfo(intfInfoMap, next.getEjbClassName(), EjbIntfType.NO_INTF_LOCAL_BUSINESS, next);
if( ejbDescriptor.isLocalBean() ) { String intfName = ejbDescriptor.getEjbClassName(); Class businessIntf = loader.loadClass(intfName);
if (ejbDescriptor.isLocalBean()) { try { Class cl = classloader.loadClass(
if (ejbDescriptor.isLocalBean()) { try { Class cl = classloader.loadClass(
if( ejbDescriptor.isLocalBean() ) { isLocal = true; hasOptionalLocalBusinessView = true;
if (ejbReferee.isLocalBean()) { ejbRef.setLocal(true); } else { ( ejbDesc.isLocalBean() && !(intfClassName.equals(ejbReferee.getEjbClassName()))) ) {
if (ejb.isLocalBean()) { String intf = ejb.getEjbClassName(); String fullyQualifiedJavaGlobalName = javaGlobalName + "!" + intf;
if( descriptor.isLocalBean()) { appendChild(ejbNode, EjbTagNames.LOCAL_BEAN);