Package org.apache.axis2.tool.service.control

Examples of org.apache.axis2.tool.service.control.Controller


            this.advancedButton.setEnabled(false);
        }

        private void loadAllMethods() {
            try {
                ArrayList methodList = new Controller().getMethodList(
                        parentBean);
                myBean.setSelectedMethodNames(methodList);
                loadButton.setEnabled(false);
                advancedButton.setEnabled(true);
            } catch (ProcessException e) {
View Full Code Here


        }

        private void init() throws ProcessException {
            //load the class file list
            this.completeMethodList =
                    new Controller().getMethodList(parentBean);
            int methodCount = this.completeMethodList.size();
            int panelHeight = methodCount *
                    (Constants.UIConstants.GENERAL_COMP_HEIGHT + vgap);

            this.lablePanel = new JPanel();
View Full Code Here

                  monitor.worked(1);
                  wizBean.setLibraryBean(libPage.getBean());
                  monitor.worked(1);
                  wizBean.setPage3bean(serviceArchiveOutputLocationPage.getBean());
                  monitor.worked(1);
                  new Controller().process(wizBean);
                  monitor.worked(1);
              }
              catch (Throwable e)
              {
                 throw new RuntimeException(e);
View Full Code Here

    }

    private void processFinish() {
        if (currentWizardPane.validateValues()) {
            try {
                new Controller().process(wizardBean);
                showSuccessMessage(" jar file creation successful! ");
            } catch (ProcessException e) {
                showErrorMessage(e.getMessage());
            } catch (Exception e) {
                showErrorMessage("Unknown Error! " + e.getMessage());
View Full Code Here

            this.advancedButton.setEnabled(false);
        }

        private void loadAllMethods() {
            try {
                ArrayList methodList = new Controller().getMethodList(
                        parentBean);
                myBean.setSelectedMethodNames(methodList);
                loadButton.setEnabled(false);
                advancedButton.setEnabled(true);
            } catch (ProcessException e) {
View Full Code Here

        }

        private void init() throws ProcessException {
            //load the class file list
            this.completeMethodList =
                    new Controller().getMethodList(parentBean);
            int methodCount = this.completeMethodList.size();
            int panelHeight = methodCount *
                    (Constants.UIConstants.GENERAL_COMP_HEIGHT + vgap);

            this.lablePanel = new JPanel();
View Full Code Here

        wizBean.setPage2bean(serviceXMLFileSelectionPage.getBean());
        wizBean.setPage3bean(serviceArchiveOutputLocationPage.getBean());
       
       
        try {
            new Controller().process(wizBean);
            showSuccessMessage(" jar file creation successful! ");
            return true;
        } catch (ProcessException e) {
            showErrorMessage(e.getMessage());
            return false;
View Full Code Here

            String charSetEncoding = BuilderUtil.getCharSetEncoding(contentTypeStr);
            msgContext.setProperty(
                    Constants.Configuration.CHARACTER_SET_ENCODING, charSetEncoding);
            boolean eprFound = false;
            if (endpointsConfiguration != null) {
                URLEndpoint epr = endpointsConfiguration.getEndpoint(request.getRequestLine().getUri());
                if (epr != null) {
                    eprFound = true;
                    String type = TransportUtils.getContentType(contentTypeStr, msgContext);
                    msgContext.setProperty(Constants.Configuration.MESSAGE_TYPE, type);
                    epr.setParameters(msgContext);

                    Builder builder = epr.getBuilder(type);
                    if (HTTPTransportUtils.isRESTRequest(contentTypeStr)) {
                        RESTUtil.processPOSTRequest(msgContext, is, os,
                                request.getRequestLine().getUri(), contentType, builder, isRestDispatching);
                    } else {
View Full Code Here

            String contentTypeStr = contentType != null ?
                    contentType.getValue() : inferContentType();

            boolean eprFound = false;
            if (endpointsConfiguration != null) {
                URLEndpoint epr = endpointsConfiguration.getEndpoint(request.getRequestLine().getUri());
                if (epr != null) {
                    eprFound = true;
                    String type = TransportUtils.getContentType(contentTypeStr, msgContext);
                    msgContext.setProperty(Constants.Configuration.MESSAGE_TYPE, type);

                    epr.setParameters(msgContext);

                    Builder builder = epr.getBuilder(type);
                    RESTUtil.processGetAndDeleteRequest(
                            msgContext, os, request.getRequestLine().getUri(),
                            request.getFirstHeader(HTTP.CONTENT_TYPE), builder,
                            method, isRestDispatching);
                }
View Full Code Here

        params = getListenerParameters();


        param = transportIn.getParameter(NhttpConstants.ENDPOINTS_CONFIGURATION);
        if (param != null && param.getValue() != null) {
            endpoints = new URLEndpointsConfigurationFactory().create(param.getValue().toString());
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.axis2.tool.service.control.Controller

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.