/** * writes all the runtime information for web service endpoints for * a given ejb * * @param parent node to add the runtime xml info * @param the ejb endpoint */ public void writeWebServiceEndpointInfo(Node parent, EjbDescriptor ejb) { EjbBundleDescriptor bundle = ejb.getEjbBundleDescriptor(); WebServicesDescriptor webServices = bundle.getWebServices(); Collection endpoints = webServices.getEndpointsImplementedBy(ejb); for(Iterator iter = endpoints.iterator(); iter.hasNext();) { WebServiceEndpoint next = (WebServiceEndpoint) iter.next(); writeDescriptor(parent, WebServicesTagNames.WEB_SERVICE_ENDPOINT, next); } }
/** * writes all the runtime information for web service endpoints for * a given ejb * * @param parent node to add the runtime xml info * @param the ejb endpoint */ public void writeWebServiceEndpointInfo(Node parent, EjbDescriptor ejb) { EjbBundleDescriptor bundle = ejb.getEjbBundleDescriptor(); WebServicesDescriptor webServices = bundle.getWebServices(); Collection endpoints = webServices.getEndpointsImplementedBy(ejb); for(Iterator iter = endpoints.iterator(); iter.hasNext();) { WebServiceEndpoint next = (WebServiceEndpoint) iter.next(); writeDescriptor(parent, WebServicesTagNames.WEB_SERVICE_ENDPOINT, next); } }
/** * writes all the runtime information for web service endpoints for * a given web component * * @param parent node to add the runtime xml info * @param the web component */ public void writeWebServiceEndpointInfo (Node parent, WebComponentDescriptor webComp) { WebBundleDescriptor bundle = webComp.getWebBundleDescriptor(); WebServicesDescriptor webServices = bundle.getWebServices(); Collection endpoints = webServices.getEndpointsImplementedBy(webComp); for(Iterator iter = endpoints.iterator(); iter.hasNext();) { WebServiceEndpoint next = (WebServiceEndpoint) iter.next(); writeDescriptor(parent, WebServicesTagNames.WEB_SERVICE_ENDPOINT, next); } }
/** * writes all the runtime information for web service endpoints for * a given web component * * @param parent node to add the runtime xml info * @param the web component */ public void writeWebServiceEndpointInfo (Node parent, WebComponentDescriptor webComp) { WebBundleDescriptor bundle = webComp.getWebBundleDescriptor(); WebServicesDescriptor webServices = bundle.getWebServices(); Collection endpoints = webServices.getEndpointsImplementedBy(webComp); for(Iterator iter = endpoints.iterator(); iter.hasNext();) { WebServiceEndpoint next = (WebServiceEndpoint) iter.next(); writeDescriptor(parent, WebServicesTagNames.WEB_SERVICE_ENDPOINT, next); } }