Package com.sun.enterprise.webservice

Examples of com.sun.enterprise.webservice.EjbRuntimeEndpointInfo


                                               endpoint.getDescriptor());
            }
        }

        if (dispatch) {
            EjbRuntimeEndpointInfo ejbEndpoint =
                WebServiceEjbEndpointRegistry.getRegistry().getEjbWebServiceEndpoint(requestUri, hreq.getMethod(), query);

            if (ejbEndpoint != null) {
                /*
                 * We can actually assert that ejbEndpoint is != null,
View Full Code Here


   
    private JBIAdapter createWSAdapter(ServiceEngineEndpoint endpt,
            MessageExchange me) {
        try {
           
            EjbRuntimeEndpointInfo ejbEndPtInfo=null;
            if(endpt.isImplementedByEJB()) {
               
                ejbEndPtInfo = WebServiceEjbEndpointRegistry.
                        getRegistry().getEjbWebServiceEndpoint(endpt.getURI(), "POST", null);
                Adapter adapter = (Adapter) ejbEndPtInfo.prepareInvocation(true);
                endpt.setWsep(adapter.getEndpoint());
            }else {
               
                String url = endpt.getURI();
                String contextRoot = endpt.getContextRoot();
View Full Code Here

            ServiceEngineEndpoint endpt) throws ServiceEngineException {
        try {
            WebServiceEjbEndpointRegistry registry =
                    WebServiceEjbEndpointRegistry.getRegistry();
           
            EjbRuntimeEndpointInfo ejbRtEndptInfo =
                    registry.getEjbWebServiceEndpoint(endpt.getURI(), "POST", null);
           
           
            return ejbRtEndptInfo;
        } catch(Exception e) {
View Full Code Here

            try {
                debug(Level.FINEST,"serviceengine.process_incoming_request",
                        new Object[]{service.getLocalPart(), endpoint});
                       
                
                 EjbRuntimeEndpointInfo runtimeEndpointInfo =
                    (EjbRuntimeEndpointInfo)RuntimeEndpointInfoRegistryImpl.getInstance().
                    getRuntimeEndpointInfo(service, endpoint);
                
                 response = processEJBRequest(
                         meHelper.denormalizeMessage(true), runtimeEndpointInfo);
View Full Code Here

    }
   
   
    @Override
    public void handle(@NotNull final ChannelContext channelContext) throws IOException, WSTCPException {
        EjbRuntimeEndpointInfo ejbRuntimeEndpointInfo = null;
       
        if (isEJB) {
            ejbRuntimeEndpointInfo = AppServWSRegistry.getInstance().
                    getEjbRuntimeEndpointInfo(getValidPath());
            try {
                ejbRuntimeEndpointInfo.prepareInvocation(true);
            } catch (Exception e) {
                throw new IOException(e.getClass().getName());
            }
        }
       
        try {
            super.handle(channelContext);
        } finally {
            if (isEJB && ejbRuntimeEndpointInfo != null) {
                ejbRuntimeEndpointInfo.releaseImplementor();
            }
        }
    }
View Full Code Here

   
    private TCPAdapter createWSAdapter(@NotNull final String wsPath,
            @NotNull final WSEndpointDescriptor wsEndpointDescriptor) throws Exception {
        Adapter adapter;
        if (wsEndpointDescriptor.isEJB()) {
            final EjbRuntimeEndpointInfo ejbEndPtInfo = (EjbRuntimeEndpointInfo) WebServiceEjbEndpointRegistry.getRegistry().
                    getEjbWebServiceEndpoint(wsEndpointDescriptor.getURI(), "POST", null);
            adapter = (Adapter) ejbEndPtInfo.prepareInvocation(true);
        } else {
            final String uri = wsEndpointDescriptor.getURI();
            adapter = JAXWSAdapterRegistry.getInstance().getAdapter(wsEndpointDescriptor.getContextRoot(), uri, uri);
        }
       
View Full Code Here

     */
    public @NotNull EjbRuntimeEndpointInfo getEjbRuntimeEndpointInfo(@NotNull final String wsPath) {
       
        final WSEndpointDescriptor wsEndpointDescriptor =
                WSTCPAdapterRegistryImpl.getInstance().lookupEndpoint(wsPath);
        EjbRuntimeEndpointInfo endpointInfo = null;
       
        if (wsEndpointDescriptor.isEJB()) {
            endpointInfo = (EjbRuntimeEndpointInfo) WebServiceEjbEndpointRegistry.
                    getRegistry().getEjbWebServiceEndpoint(wsEndpointDescriptor.getURI(), "POST", null);
        }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.webservice.EjbRuntimeEndpointInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.