Examples of releaseInstance()


Examples of org.apache.cxf.jaxrs.lifecycle.ResourceProvider.releaseInstance()

                ServerProviderFactory.clearThreadLocalProxies(inMessage);
            }
            if (suspended || isServiceObjectRequestScope(inMessage)) {
                persistRoots(exchange, rootInstance, provider);
            } else {
                provider.releaseInstance(inMessage, rootInstance);
            }
        }
    }

    private boolean isSuspended(Exchange exchange) {
View Full Code Here

Examples of org.apache.wink.common.internal.lifecycle.ObjectFactory.releaseInstance()

    @SuppressWarnings("unchecked")
    public void releaseInstance(RuntimeContext context) {
        if (instance != null) {
            ObjectFactory of = record.getObjectFactory();
            of.releaseInstance(instance, context);
        }
    }

    /**
     * Returns whether the matcher used to match this resource was an exact
View Full Code Here

Examples of org.jibx.ws.server.Service.releaseInstance()

        } finally {
            synchronized (s_codecPool) {

                // release all resources acquired for processing request
                if (serv != null) {
                    serv.releaseInstance();
                }
                if (incodec != null) {
                    s_codecPool.releaseCodec(incodec);
                }
                if (outcodec != null && outcodec != incodec) {
View Full Code Here

Examples of org.jibx.ws.server.Service.releaseInstance()

                logger.error("Error creating WSDL", e);
                throw new ServletException(e.getMessage(), e);
            } finally {
                // release all resources acquired for processing request
                if (service != null) {
                    service.releaseInstance();
                }
            }
        } else {
            rsp.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED);
        }
View Full Code Here

Examples of org.jibx.ws.server.Service.releaseInstance()

                    if (s_logger.isDebugEnabled()) {
                        s_logger.debug("Completed processing of receive message from " + m_clientAddress);
                    }
                } finally {
                    if (serv != null) {
                        serv.releaseInstance();
                    }
                }
            }
        } catch (Exception e) {
           
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.