Package com.sun.enterprise.config

Examples of com.sun.enterprise.config.ConfigContext.refresh()


    static void init() {
        try {
            ConfigContext ctx =
                ApplicationServer.getServerContext().getConfigContext();
            ctx.refresh();
            ElementProperty[] eprops =
                ServerBeansFactory.getConfigBean(ctx).getLogService().getElementProperty();

            if (eprops != null) {
                for (int index = 0; index < eprops.length; index++) {
View Full Code Here


                // Resync our config context in case domain.xml
                // has changed on disk.
                ConfigContext configContext = getConfigContext();
                if (configContext.isFileChangedExternally()) {
                    configContext.refresh();
                }

                String instanceRoot =
                    (String) System.getProperty(INSTANCE_ROOT_PROPERTY);
                System.setProperty( KEYSTORE_PROPERTY,
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.