Examples of addLoggerConfig()


Examples of org.rioproject.opstring.ServiceBeanConfig.addLoggerConfig()

        ServiceBeanConfig oldSBC = sElem.getServiceBeanConfig();
        ServiceBeanConfig sbc = new ServiceBeanConfig(oldSBC.getConfigurationParameters(), oldSBC.getConfigArgs());
        for(Map.Entry<String, Object> entry : oldSBC.getInitParameters().entrySet()) {
            sbc.addInitParameter(entry.getKey(), entry.getValue());
        }
        sbc.addLoggerConfig(oldSBC.getLoggerConfigs());
        if(!oldSBC.getAdditionalEntries().isEmpty()) {
            List<Entry> entries = oldSBC.getAdditionalEntries();
            sbc.addAdditionalEntries(entries.toArray(new Entry[entries.size()]));
        }
        ServiceElement elem = new ServiceElement(sElem.getProvisionType(),
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.