Package org.apache.qpid.server.model.adapter

Examples of org.apache.qpid.server.model.adapter.BrokerAdapter


    {
        Map<String, Object> attributesCopy = validateAttributes(entry);

        attributesCopy.put(Broker.MODEL_VERSION, Model.MODEL_VERSION);

        BrokerAdapter broker = new BrokerAdapter(entry.getId(), attributesCopy, _statisticsGatherer, _virtualHostRegistry,
                _logRecorder, _rootMessageLogger, _authenticationProviderFactory,_groupProviderFactory, _accessControlProviderFactory,
                _portFactory, _taskExecutor, entry.getStore(), _brokerOptions);

        broker.addChangeListener(_storeChangeListener);

        Map<String, Collection<ConfigurationEntry>> childEntries = new HashMap<String, Collection<ConfigurationEntry>>(entry.getChildren());

        List<String> types = makePrioritisedListOfTypes(childEntries.keySet(), TrustStore.class.getSimpleName(), KeyStore.class.getSimpleName(), AuthenticationProvider.class.getSimpleName());
View Full Code Here


            if (_configuration.getHTTPSManagementEnabled())
            {
                _httpsManagementPort = _configuration.getHTTPSManagementPort();
            }

            _broker = new BrokerAdapter(this);

            _configuration.initialise();
            logStartupMessages(CurrentActor.get());

            // Management needs to be registered so that JMXManagement.childAdded can create optional management objects
View Full Code Here

            if (_configuration.getHTTPSManagementEnabled())
            {
                _httpsManagementPort = _configuration.getHTTPSManagementPort();
            }

            _broker = new BrokerAdapter(this);

            configure();

            _qmfService = new QMFService(getConfigStore(), this);
View Full Code Here

        Map<String, Object> attributesCopy = validateAttributes(entry);

        attributesCopy.put(Broker.MODEL_VERSION, Model.MODEL_VERSION);

        StoreConfigurationChangeListener storeChangeListener = new StoreConfigurationChangeListener(entry.getStore());
        BrokerAdapter broker = new BrokerAdapter(entry.getId(), attributesCopy, _statisticsGatherer, _virtualHostRegistry,
                _logRecorder, _rootMessageLogger, _authenticationProviderFactory, _groupProviderFactory, _accessControlProviderFactory,
                _portFactory, _taskExecutor, entry.getStore(), _brokerOptions);

        broker.addChangeListener(storeChangeListener);

        //Recover the SSL keystores / truststores first, then others that depend on them
        Map<String, Collection<ConfigurationEntry>> childEntries = new HashMap<String, Collection<ConfigurationEntry>>(entry.getChildren());
        Map<String, Collection<ConfigurationEntry>> priorityChildEntries = new HashMap<String, Collection<ConfigurationEntry>>(childEntries);
        List<String> types = new ArrayList<String>(childEntries.keySet());
View Full Code Here

        Map<String, Object> attributesCopy = new HashMap<String, Object>(attributes);
        attributesCopy.put(Broker.MODEL_VERSION, Model.MODEL_VERSION);

        StoreConfigurationChangeListener storeChangeListener = new StoreConfigurationChangeListener(entry.getStore());
        BrokerAdapter broker = new BrokerAdapter(entry.getId(), attributesCopy, _statisticsGatherer, _virtualHostRegistry,
                _logRecorder, _rootMessageLogger, _authenticationProviderFactory, _groupProviderFactory, _accessControlProviderFactory,
                _portFactory, _taskExecutor, entry.getStore(), _brokerOptions);

        broker.addChangeListener(storeChangeListener);

        //Recover the SSL keystores / truststores first, then others that depend on them
        Map<String, Collection<ConfigurationEntry>> childEntries = new HashMap<String, Collection<ConfigurationEntry>>(entry.getChildren());
        Map<String, Collection<ConfigurationEntry>> priorityChildEntries = new HashMap<String, Collection<ConfigurationEntry>>(childEntries);
        List<String> types = new ArrayList<String>(childEntries.keySet());
View Full Code Here

    {
        Map<String, Object> attributesCopy = validateAttributes(entry);

        attributesCopy.put(Broker.MODEL_VERSION, Model.MODEL_VERSION);

        BrokerAdapter broker = new BrokerAdapter(entry.getId(), attributesCopy, _statisticsGatherer, _virtualHostRegistry,
                _logRecorder,
                _authenticationProviderFactory,_groupProviderFactory, _accessControlProviderFactory,
                _portFactory, _taskExecutor, entry.getStore(), _brokerOptions);

        broker.addChangeListener(_storeChangeListener);

        Map<String, Collection<ConfigurationEntry>> childEntries = new HashMap<String, Collection<ConfigurationEntry>>(entry.getChildren());

        List<String> types = makePrioritisedListOfTypes(childEntries.keySet(), TrustStore.class.getSimpleName(), KeyStore.class.getSimpleName(), AuthenticationProvider.class.getSimpleName());
View Full Code Here

TOP

Related Classes of org.apache.qpid.server.model.adapter.BrokerAdapter

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.