ejbDesc.isLocalBusinessInterfacesSupported()) { methodAlls.add( new MethodDescriptor(MethodDescriptor.ALL_METHODS,
ejbDesc.isLocalBusinessInterfacesSupported()) { methodAlls.add( new MethodDescriptor(MethodDescriptor.ALL_METHODS,
if (isLocalBusinessInterfacesSupported()) { for (String intf : getLocalBusinessClassNames()) { addAllInterfaceMethodsIn(methods, classLoader.loadClass(intf), MethodDescriptor.EJB_LOCAL);
if (ejbDescriptor.isLocalBusinessInterfacesSupported()) { for(String intf : ejbDescriptor.getLocalBusinessClassNames()) { addAllInterfaceMethodsIn(methods, classLoader.loadClass(intf));
if (ejbDescriptor.isLocalBusinessInterfacesSupported()) { for(String intf : ejbDescriptor.getLocalBusinessClassNames()) { addAllInterfaceMethodsIn(methods, classLoader.loadClass(intf));
/** * 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.isLocalBusinessInterfacesSupported() ) { for(String nextIntf : next.getLocalBusinessClassNames()) { addIntfInfo(intfInfoMap, nextIntf,
if( next.isLocalBusinessInterfacesSupported() ) { for(String nextIntf : next.getLocalBusinessClassNames()) { addIntfInfo(intfInfoMap, nextIntf,
if( ejbDescriptor.isLocalBusinessInterfacesSupported() ) {
ejbDescriptor.isLocalBusinessInterfacesSupported() ) {
ejbDescriptor.isLocalBusinessInterfacesSupported() ) {
if( ejbDescriptor.isLocalBusinessInterfacesSupported() ) { isLocal = true; hasLocalBusinessView = true;
if (ejb.isLocalBusinessInterfacesSupported()) { for (String intf : ejb.getLocalBusinessClassNames()) { String fullyQualifiedJavaGlobalName = javaGlobalName + "!" + intf;