Examples of removeParameter()


Examples of javax.sip.header.FromHeader.removeParameter()

                    Dialog peerDialog = transactionsMapping
                            .getPeerDialog(serverTransaction);
                    Request clonedRequest = (Request) msg.clone();
                    FromHeader from = (FromHeader) clonedRequest
                            .getHeader(FromHeader.NAME);
                    from.removeParameter("tag");
                    ToHeader to = (ToHeader) clonedRequest
                            .getHeader(ToHeader.NAME);
                    to.removeParameter("tag");
                   
                    if (peerDialog.getState() != null)
View Full Code Here

Examples of javax.sip.header.ToHeader.removeParameter()

            // if the proxy has been reset, do not send the to tag
            if (proxy.isReset() == true)
            {
                ToHeader to = (ToHeader) clonedRequest.getHeader(ToHeader.NAME);
                to.removeParameter("tag");
            }

            //
            // 10. Forward Request
            //
View Full Code Here

Examples of javax.sip.header.ViaHeader.removeParameter()

     */
    private void removeBranchID(Request request) {

        ViaHeader viaHeader = (ViaHeader) request.getHeader(ViaHeader.NAME);

        viaHeader.removeParameter("branch");

    }

    /*
     * (non-Javadoc)
 
View Full Code Here

Examples of net.sf.mzmine.project.MZmineProject.removeParameter()

    MZmineProject currentProject = MZmineCore.getCurrentProject();

    // Remove all previous parameters from project
    UserParameter[] parameters = currentProject.getParameters();
    for (UserParameter parameter : parameters) {
      currentProject.removeParameter(parameter);
    }

    // Add new parameters
    parameters = parameterValues.keySet().toArray(new UserParameter[0]);
    for (UserParameter parameter : parameters) {
View Full Code Here

Examples of org.apache.axis2.description.AxisModule.removeParameter()

                }
            }

            Parameter param = module.getParameter(GLOBALLY_ENGAGED_PARAM_NAME);
            if (param != null) {
                module.removeParameter(module.getParameter(GLOBALLY_ENGAGED_PARAM_NAME));
            }

            //disengage throttling from all the services which are not admin services
            for (Iterator serviceIter = this.axisConfig.getServices().values().iterator();
                 serviceIter.hasNext();) {
View Full Code Here

Examples of org.apache.axis2.description.AxisOperation.removeParameter()

            throw new AxisFault("Invalid operation : " + operationName +
                                " not available in service : " + serviceName);
        }

        Parameter parameter = ParameterUtil.createParameter(parameterName, null);
        axisOp.removeParameter(parameter);
        try {
            opm.removeOperationParameter(axisOp, parameter);
        } catch (Exception e) {
            String msg = "Cannot persist operation parameter removal. Operation " +
                         serviceName + ":" + operationName;
View Full Code Here

Examples of org.apache.axis2.description.AxisService.removeParameter()

                    String taskName = (String) jdm.get(FunctionSchedulingJob.TASK_NAME);

                    deleteTaskDescription(taskName, configCtx);
                }

                axisService.removeParameter(new Parameter(
                        FunctionSchedulingJob.JS_FUNCTION_MAP, jsScheduledFunctionMap));

                if (log.isDebugEnabled()) {
                    log.debug("Deleted Tasks associated with the axis service : "
                            + serviceName + " from the configuration");
View Full Code Here

Examples of org.apache.axis2.description.AxisServiceGroup.removeParameter()

        if (axisServiceGroup == null) {
            throw new AxisFault("invalid service group name service group not found" +
                                serviceGroupId);
        }

        axisServiceGroup.removeParameter(ParameterUtil.createParameter(parameterName, null));
    }

    /**
     * Using the information from AxisServiceGroup, a service archive will be
     * created. A String will be returned with ID, that can be used to access
View Full Code Here

Examples of org.apache.axis2.engine.AxisConfiguration.removeParameter()

    parameter = new Parameter (Sandesha2Constants.SANDESHA_PROPERTY_BEAN, propertyBean);
    config.addParameter(parameter);
   
    // Reset both storage managers
    parameter = config.getParameter(Sandesha2Constants.INMEMORY_STORAGE_MANAGER);
    if(parameter != null) config.removeParameter(parameter);
    parameter = config.getParameter(Sandesha2Constants.PERMANENT_STORAGE_MANAGER);
    if(parameter != null) config.removeParameter(parameter);

    try {
      StorageManager inMemorytorageManager = SandeshaUtil.getInMemoryStorageManager(configContext);
View Full Code Here

Examples of org.apache.axis2.engine.AxisConfiguration.removeParameter()

   
    // Reset both storage managers
    parameter = config.getParameter(Sandesha2Constants.INMEMORY_STORAGE_MANAGER);
    if(parameter != null) config.removeParameter(parameter);
    parameter = config.getParameter(Sandesha2Constants.PERMANENT_STORAGE_MANAGER);
    if(parameter != null) config.removeParameter(parameter);

    try {
      StorageManager inMemorytorageManager = SandeshaUtil.getInMemoryStorageManager(configContext);
      inMemorytorageManager.initStorage(module);
    } catch (SandeshaStorageException 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.