Examples of release()


Examples of com.sun.faces.config.InitFacesContext.release()

            ApplicationAssociate
                    .clearInstance(initContext.getExternalContext());
            ApplicationAssociate.setCurrentInstance(null);
            // Release the initialization mark on this web application
            ConfigManager.getInstance().destroy(sc);
            initContext.release();
            ReflectionUtils.clearCache(Thread.currentThread().getContextClassLoader());
            WebConfiguration.clear(sc);
        }

        // bring the application back up, avoid re-registration of certain JSP
View Full Code Here

Examples of com.surftools.BeanstalkClient.Client.release()

    client.useTube((String) tubeNames[1]);
    long jobId = client.put(65536, timeoutSeconds, 120, srcString.getBytes());
    assertTrue(jobId > 0);

    // not found
    boolean ok = client.release(jobId, 65536, 0);
    assertFalse(ok);

    Job job = client.reserve(null);
    assertNotNull(job);
    assertEquals(jobId, job.getJobId());
View Full Code Here

Examples of com.trendmicro.codi.lock.ZLock.release()

                myConsole.logResponseNL("failed");
                myConsole.logResponseNL(e.toString());
            }
            finally {
                try {
                    brokerLock.release();
                    if(brokerLock.getChildren().isEmpty())
                        brokerLock.delete();
                }
                catch(CODIException e) {
                }
View Full Code Here

Examples of com.volantis.mcs.context.MarinerRequestContext.release()

                    characterEncoding);
            rawMessage.setBaseURL( new URL( baseUrl ) );
            rawMessage.setMaxFileSize( applicationContext.getMaxFileSize() );
            rawMessage.setMaxMMSize( applicationContext.getMaxMMSize() );

            requestContext.release();
        } catch (SAXException se) {
            Exception cause = se.getException();
            // Check the root cause of the SAXException, as it may not be
            // logged correctly.
            if (cause != null) {
View Full Code Here

Examples of com.volantis.mcs.integration.MarkupPlugin.release()

    // javadoc inherited from MarkupPluginContainer interface
    public void releasePlugins() {
        Iterator iterator = plugins.values().iterator();
        while (iterator.hasNext()) {
            MarkupPlugin plugin = (MarkupPlugin) iterator.next();
            plugin.release();
        }
        plugins.clear();
    }
}
View Full Code Here

Examples of com.volantis.mcs.internal.MarinerInternalRequestContext.release()

                    characterEncoding);
            rawMessage.setBaseURL( new URL( baseUrl ) );
            rawMessage.setMaxFileSize( applicationContext.getMaxFileSize() );
            rawMessage.setMaxMMSize( applicationContext.getMaxMMSize() );

            requestContext.release();
        } catch (SAXException se) {
            Exception cause = se.getException();
            // Check the root cause of the SAXException, as it may not be
            // logged correctly.
            if (cause != null) {
View Full Code Here

Examples of com.volantis.mcs.repository.lock.Lock.release()

            String principalName = args[1];
            Principal principal = new JDBCPrincipal(principalName);
            String resource = args[2];
           
            Lock lock = manager.getLock(resource);
            lock.release(principal);
        } else if (command.equals("list")) {

            Collection locks = manager.getLocks();
            if (locks.size() == 0) {
                System.out.println("No locks found");
View Full Code Here

Examples of com.volantis.mcs.servlet.MarinerServletRequestContext.release()

            //inputSource.setSystemId(baseURIAsString);

            // Parse the response and process it as XDIME.
            xmlReader.parse(inputSource);
               
            servletRequestContext.release();
       } catch (MarinerContextException e) {
            logger.error("portal-filter-exception",
                    new Object[]{responseWrapper.getContentsAsString()});
            logger.error("mariner-context-exception", e);
            throw new ServletException(
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.ResourceOwner.release()

        for (int i = stack.size() - 1; i >= 0; i--) {
            Object object = stack.get(i);
            if (object instanceof ReleasableResourceOwner) {
                ResourceOwner resourceOwner =
                        ((ReleasableResourceOwner)object).getResourceOwner();
                resourceOwner.release();
            }
        }
        stack.clear();
    }
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.drivers.web.HTTPRequestExecutor.release()

            url = url + params;
        }
        HTTPRequestExecutor request = testInstance.createHTTPRequestExecutor(
            url, type, HTTPVersion.HTTP_1_1, null, null);
        HTTPResponseAccessor result = request.execute();
        request.release();

        return result;
    }

    /**
 
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.