Examples of Axis2ConfigParameterProvider


Examples of org.wso2.carbon.utils.deployment.service.Axis2ConfigParameterProvider

    public Axis2ConfigParameterProcessor(AxisConfiguration axisConfig, BundleContext bundleContext) {
        super(axisConfig, bundleContext);
    }

    public void processConfigurationService(ServiceReference sr, int action) throws AxisFault {
        Axis2ConfigParameterProvider parameterService = (Axis2ConfigParameterProvider) bundleContext.getService(sr);
        lock.lock();
        try {
            Map<String, Object> paramMap = parameterService.getAxis2ConfigParameterMap();
            for(Iterator<Map.Entry<String,Object>> paremItr = paramMap.entrySet().iterator(); paremItr.hasNext();){
                Map.Entry<String, Object> paramEntry = paremItr.next();
                axisConfig.addParameter(paramEntry.getKey(), paramEntry.getValue());
            }
        } finally {
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.