Package com.sun.enterprise.ee.synchronization.processor

Examples of com.sun.enterprise.ee.synchronization.processor.RequestContext


        try {
            ConfigContext configCtx = AdminService.getAdminService().
                                getAdminContext().getAdminConfigContext();

            RequestContext rCtx = new RequestContext(configCtx, request);
            rCtx.setTimeDelta(_delta);

            ByteProcessor bProcessor = new ByteProcessor(rCtx);
            bProcessor.process();

            response = bProcessor.getResult();

        } catch (BufferOverflowException overflowEx) {

            _logger.log(Level.FINE,
                "Zipper reached max buffer size. Attempting a redirect.");

            ConfigContext configCtx = AdminService.getAdminService().
                                getAdminContext().getAdminConfigContext();

            RequestContext rCtx = new RequestContext(configCtx, request);
            rCtx.setTimeDelta(_delta);

            ZipProcessor zProcessor = new ZipProcessor(rCtx);
            zProcessor.process();

            response = zProcessor.getResult();
View Full Code Here


            throws IOException, ConfigException {

        ConfigContext configCtx = AdminService.getAdminService().
                            getAdminContext().getAdminConfigContext();

        RequestContext rCtx = new RequestContext(configCtx, request);
        rCtx.setTimeDelta(_delta);

        ListProcessor lProcessor = new ListProcessor(rCtx);
        lProcessor.process();

        SynchronizationResponse response = lProcessor.getResult();
View Full Code Here

            ConfigContext configCtx = AdminService.getAdminService().
                                getAdminContext().getAdminConfigContext();

            SynchronizationRequest[] requests = getRequests(configCtx, target);

            RequestContext rCtx = new RequestContext(configCtx, requests);
            rCtx.setZipFile(zip);

            // turn off the process inventory
            rCtx.setProcessInventory(false);

            ZipProcessor zProcessor = new ZipProcessor(rCtx);

            // sets the delete flag to false
            zProcessor.setDeleteZipOnExitFlag(false);
View Full Code Here

        } catch (UnsupportedEncodingException enEx) {
            throw new ServletException(enEx);
        }

        // synchronization request context
        RequestContext rCtx = new RequestContext(configCtx, sreq);
        rCtx.setTimeDelta(Synchronization._delta);

        try {
            // processor responds to this request
            ServletProcessor processor = new ServletProcessor(rCtx, response);
            processor.process();
View Full Code Here

TOP

Related Classes of com.sun.enterprise.ee.synchronization.processor.RequestContext

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.