/** * Convert the contents of the ejb-link or servlet-link element to * an object representing the implementation component. */ public boolean resolveComponentLink() { boolean resolved = false; if( ejbLink != null ) { EjbBundleDescriptor ejbBundle = getEjbBundle(); if( ejbBundle.hasEjbByName(ejbLink) ) { resolved = true; EjbDescriptor ejb = ejbBundle.getEjbByName(ejbLink); setEjbComponentImpl(ejb); } } else if( webComponentLink != null ) { WebBundleDescriptor webBundle = getWebBundle(); WebComponentDescriptor webComponent = (WebComponentDescriptor) webBundle. getWebComponentByCanonicalName(webComponentLink); if( webComponent != null ) { resolved = true; setWebComponentImpl(webComponent); } } return resolved; }
/** * Convert the contents of the ejb-link or servlet-link element to * an object representing the implementation component. */ public boolean resolveComponentLink() { boolean resolved = false; if( ejbLink != null ) { EjbBundleDescriptor ejbBundle = getEjbBundle(); if( ejbBundle.hasEjbByName(ejbLink) ) { resolved = true; EjbDescriptor ejb = ejbBundle.getEjbByName(ejbLink); setEjbComponentImpl(ejb); } } else if( webComponentLink != null ) { WebBundleDescriptor webBundle = getWebBundle(); WebComponentDescriptor webComponent = (WebComponentDescriptor) webBundle. getWebComponentByCanonicalName(webComponentLink); if( webComponent != null ) { resolved = true; setWebComponentImpl(webComponent); } } return resolved; }
endpoint.setEjbComponentImpl(ejb); ejb.setWebServiceEndpointInterfaceName(endpoint.getServiceEndpointInterface()); if (endpoint.getEjbLink()== null)
endpoint.setEjbComponentImpl(ejb); ejb.setWebServiceEndpointInterfaceName(endpoint.getServiceEndpointInterface()); if (endpoint.getEjbLink()== null)
annInfo); endpoint.setEjbComponentImpl(ejbDescs[0]); ejbDescs[0].setWebServiceEndpointInterfaceName(endpoint.getServiceEndpointInterface()); endpoint.setEjbLink(ejbDescs[0].getName());
String name = getEjbName(annElem); EjbDescriptor ejb = ((EjbBundleDescriptor) bundleDesc).getEjbByName(name); endpoint.setEjbComponentImpl(ejb); ejb.setWebServiceEndpointInterfaceName(endpoint.getServiceEndpointInterface()); if (endpoint.getEjbLink()== null) {