Package org.objectweb.celtix.configuration

Examples of org.objectweb.celtix.configuration.ConfigurationBuilder.buildConfiguration()


        Configuration cfg = null;
        String id = EndpointReferenceUtils.getServiceName(reference).toString();
        ConfigurationBuilder cb = ConfigurationBuilderFactory.getBuilder(null);
        cfg = cb.getConfiguration(ENDPOINT_CONFIGURATION_URI, id, busCfg);
        if (null == cfg) {
            cfg = cb.buildConfiguration(ENDPOINT_CONFIGURATION_URI, id, busCfg);
        }
        return cfg;
    }
   
    private ClassLoader getContextInspectorClassLoader() {
View Full Code Here


        if (portConfiguration == null) {
            ConfigurationBuilder cb = ConfigurationBuilderFactory.getBuilder(null);
            portConfiguration = cb.getConfiguration(PORT_CONFIGURATION_URI, id,
                                                    bus.getConfiguration());
            if (null == portConfiguration) {
                portConfiguration = cb.buildConfiguration(PORT_CONFIGURATION_URI, id,
                                                          bus.getConfiguration());
            }

            // add the additional provider
            Port port = null;
View Full Code Here

        ConfigurationBuilder cb = ConfigurationBuilderFactory.getBuilder(null);
        Configuration cfg = cb.getConfiguration(HTTP_CLIENT_CONFIGURATION_URI,
                                                HTTP_CLIENT_CONFIGURATION_ID,
                                                portCfg);
        if (null == cfg) {
            cfg = cb.buildConfiguration(HTTP_CLIENT_CONFIGURATION_URI,
                                        HTTP_CLIENT_CONFIGURATION_ID,
                                        portCfg);
        }
        // register the additional provider
        if (null != port) {
View Full Code Here

        String id = serviceName.toString() + "/" + portName.getLocalPart();
        ConfigurationBuilder cb = ConfigurationBuilderFactory.getBuilder(null);
        portCfg = cb.getConfiguration(PORT_CONFIGURATION_URI, id,
                                      bus.getConfiguration());
        if (null == portCfg) {
            portCfg = cb.buildConfiguration(PORT_CONFIGURATION_URI, id, bus.getConfiguration());
        }

        // add the additional provider

        Port port = null;
View Full Code Here

        Configuration busCfg = bus.getConfiguration();
        String id = "http-listener." + p;
        ConfigurationBuilder cb = ConfigurationBuilderFactory.getBuilder(null);
        Configuration cfg = cb.getConfiguration(HTTP_LISTENER_CONFIGURATION_URI, id, busCfg);
        if (null == cfg) {
            cfg = cb.buildConfiguration(HTTP_LISTENER_CONFIGURATION_URI, id, busCfg);
        }
        return cfg;
    }
   
    static synchronized JettyHTTPServerEngine getForPort(Bus bus, String protocol, int p) {
View Full Code Here

        assert null != parent;

        Configuration cfg = cb.getConfiguration(configURI, configID, parent);
        if (null == cfg) {
            cfg = cb.buildConfiguration(configURI,  configID, parent);
        }
        // register the additional provider
        if (null != port) {
            cfg.getProviders().add(new WsdlJMSConfigurationProvider(port, false));
        }
View Full Code Here

 
        Configuration cfg = cb.getConfiguration(HTTP_SERVER_CONFIGURATION_URI,
                                                HTTP_SERVER_CONFIGURATION_ID,
                                                endpointConfiguration);
        if (null == cfg) {
            cfg = cb.buildConfiguration(HTTP_SERVER_CONFIGURATION_URI,
                                        HTTP_SERVER_CONFIGURATION_ID,
                                        endpointConfiguration);
        }
        // register the additional provider
        if (null != port) {
View Full Code Here

    Configuration build(String[] args, Map<String, Object> properties) {
        String id = getBusId(args, properties);
        ConfigurationBuilder builder = ConfigurationBuilderFactory.getBuilder(null);
        Configuration c = builder.getConfiguration(BUS_CONFIGURATION_URI, id);
        if (null == c) {
            c = builder.buildConfiguration(BUS_CONFIGURATION_URI, id);
        }
        return c; 
    }

    private static String getBusId(String[] args, Map<String, Object> properties) {
View Full Code Here

                .getServiceName(ref).toString(), busCfg);
        }

        Configuration cfg = builder.getConfiguration(RM_CONFIGURATION_URI, RM_CONFIGURATION_ID, parent);
        if (null == cfg) {
            cfg = builder.buildConfiguration(RM_CONFIGURATION_URI, RM_CONFIGURATION_ID, parent);
           
        }
        boolean policyProviderRegistered = false;
        for (ConfigurationProvider p : cfg.getProviders()) {
            if (p instanceof RMPolicyProvider) {
View Full Code Here

                .getServiceName(ref).toString(), busCfg);
        }

        configuration = builder.getConfiguration(WSA_CONFIGURATION_URI, WSA_CONFIGURATION_ID, parent);
        if (null == configuration) {
            configuration = builder.buildConfiguration(WSA_CONFIGURATION_URI, WSA_CONFIGURATION_ID, parent);
           
        }
    }

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.