Package org.rioproject.impl.config

Examples of org.rioproject.impl.config.AggregateConfig


                    sb.append("\t").append(s);
                }
                logger.debug("{}/{} CONFIG ARGS: \n{}", sElem.getOperationalStringName(), sElem.getName(), sb);
            }
            if(sharedConfig!=null) {
                serviceBeanConfig =  new AggregateConfig(sharedConfig, args, cCL);
            } else {
                serviceBeanConfig = ConfigurationProvider.getInstance(args, cCL);
            }

            /* If a temporary file was created remove it */
 
View Full Code Here


            /* If we have a groovy configuration, clean the configuration, clearing
             * the class cache and setting the embedded groovy classloader to null */
            try {
                if (context.getConfiguration() instanceof AggregateConfig) {
                    AggregateConfig ac = (AggregateConfig) context.getConfiguration();
                    if (ac.getOuterConfiguration() instanceof GroovyConfig) {
                        ((GroovyConfig) ac.getOuterConfiguration()).clear();
                    }
                    if (context instanceof DefaultServiceBeanContext)
                        ((DefaultServiceBeanContext) context).setConfiguration(null);
                }
            } catch (ConfigurationException e) {
View Full Code Here

TOP

Related Classes of org.rioproject.impl.config.AggregateConfig

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.