public String getLinkName() { String linkName = null; if( implementedByEjbComponent() ) { linkName = ejbLink; } else if( implementedByWebComponent() ) { linkName = webComponentLink; } return linkName; }
public String getLinkName() { String linkName = null; if( implementedByEjbComponent() ) { linkName = ejbLink; } else if( implementedByWebComponent() ) { linkName = webComponentLink; } return linkName; }
public Collection<WebServiceEndpoint> getEndpointsImplementedBy(WebComponentDescriptor desc) { Collection<WebServiceEndpoint> endpoints = new HashSet(); for(WebServiceEndpoint next : getEndpoints()) { if( next.implementedByWebComponent(desc) ) { endpoints.add(next); } } return endpoints; }
public Collection<WebServiceEndpoint> getEndpointsImplementedBy(WebComponentDescriptor desc) { Collection<WebServiceEndpoint> endpoints = new HashSet(); for(WebServiceEndpoint next : getEndpoints()) { if( next.implementedByWebComponent(desc) ) { endpoints.add(next); } } return endpoints; }
/** * Store current contents of servlet impl class in a runtime descriptor * element. The standard deployment descriptor element will be replaced at * deployment time with a container-provided servlet impl, so we need * to make a copy of this value in the runtime information. */ public void saveServletImplClass() { if( implementedByWebComponent() ) { servletImplClass = ((WebComponentDescriptor) webComponentImpl). getWebComponentImplementation(); } else { throw new IllegalStateException("requires ejb"); } }
/** * Store current contents of servlet impl class in a runtime descriptor * element. The standard deployment descriptor element will be replaced at * deployment time with a container-provided servlet impl, so we need * to make a copy of this value in the runtime information. */ public void saveServletImplClass() { if( implementedByWebComponent() ) { servletImplClass = ((WebComponentDescriptor) webComponentImpl). getWebComponentImplementation(); } else { throw new IllegalStateException("requires ejb"); } }
if( implementedByWebComponent() ) { WebBundleDescriptor webBundle = webComponentImpl.getWebBundleDescriptor();
if( implementedByWebComponent() ) { WebBundleDescriptor webBundle = webComponentImpl.getWebBundleDescriptor();
public <T> T getSPI(Class<T> spiType) { if (ServletContext.class.isAssignableFrom( spiType)) { return (T)servletContext; } if (ServerPipelineHook.class.isAssignableFrom(spiType)){ Habitat h = Globals.getDefaultHabitat(); ServerPipeCreator s = h.getByContract(ServerPipeCreator.class); s.init(endpoint); return((T)s); } if (ResourceInjector.class.isAssignableFrom(spiType)) { // Give control of injection time only for servlet endpoints if(endpoint.implementedByWebComponent()) { return (T) new ResourceInjectorImpl(endpoint); } } if (Module.class.isAssignableFrom(spiType)) { if (module != null) { return ((T)spiType.cast(module)); } } return null; } }
if( implementedByWebComponent() ) { if (endpointAddressUri == null) { updateServletEndpointRuntime();
if(svcEP.implementedByWebComponent()) { myEndpoint = WebServiceEngineImpl.getInstance().getEndpoint(req.getServletPath()); } else {
if(svcEP.implementedByWebComponent()) { myEndpoint = WebServiceEngineImpl.getInstance().getEndpoint(req.getServletPath()); } else {
if( implementedByWebComponent() ) { if (endpointAddressUri == null) { updateServletEndpointRuntime();
if( next.implementedByWebComponent() ) { wsUtil.updateServletEndpointRuntime(next); } else {
Collection<WebServiceEndpoint> endpoints = webService.getEndpoints(); for(WebServiceEndpoint ep : endpoints) { if( ep.implementedByWebComponent() ) { wsUtil.updateServletEndpointRuntime(ep); } else {
if(endpoint.implementedByWebComponent()) { endpt1 = (JAXWSEndpointImpl)wsEngine.getEndpoint(httpRequest.getServletPath()); } else {
descriptor.getServiceEndpointInterface()); if( descriptor.implementedByWebComponent() ) { Node linkNode = appendChild(wseNode, WebServicesTagNames.SERVICE_IMPL_BEAN);
descriptor.getServiceEndpointInterface()); if( descriptor.implementedByWebComponent() ) { Node linkNode = appendChild(wseNode, WebServicesTagNames.SERVICE_IMPL_BEAN);
endpoint.getTieClassName()); if( endpoint.implementedByWebComponent() && (endpoint.getServletImplClass() != null) ) { appendTextChild(endpointNode,
endpoint.getTieClassName()); if( endpoint.implementedByWebComponent() && (endpoint.getServletImplClass() != null) ) { appendTextChild(endpointNode,