Package com.sun.enterprise.config.serverbeans

Examples of com.sun.enterprise.config.serverbeans.Configs.addConfig()


        return ( exists );
    }
    private static void addConfig(final ConfigContext acc, final Config dc) throws ConfigException {
        final Configs configs = ConfigAPIHelper.getDomainConfigBean(acc).getConfigs();
        dc.setName(SystemPropertyConstants.TEMPLATE_CONFIG_NAME);
        configs.addConfig(dc);
        configureDefaultJmsHost(dc);
        addClientHostNameProperty2SystemJmxConnector(dc);
    }
   
    private static void addClusterSupportElements(final ConfigContext acc) throws ConfigException {
View Full Code Here


                sourceConfigName, newConfigName)
           
            //Set the name of the newly created standalone configuration and add it to the
            //list of configurations
            newConfig.setName(newConfigName);
            configs.addConfig(newConfig, OVERWRITE);
            try {
                ConfigContext ctx = getConfigContext();
                if (ctx.isChanged())
                    ctx.flush();
                new AdminNotificationHelper(AdminService.getAdminService().getAdminContext()).sendNotification();
View Full Code Here

        return ( exists );
    }
    private static void addConfig(final ConfigContext acc, final Config dc, final String dcName) throws ConfigException {
        final Configs configs = ConfigAPIHelper.getDomainConfigBean(acc).getConfigs();
        dc.setName(dcName);
        configs.addConfig(dc);
        configureDefaultJmsHost(dc);
        addClientHostNameProperty2SystemJmxConnector(dc);
    }

    private static void addClusterSupportElements(final ConfigContext acc) throws ConfigException {
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.