Package com.sun.enterprise.admin.wsmgmt.config.spi

Examples of com.sun.enterprise.admin.wsmgmt.config.spi.ConfigProvider


     * Initializes the message visualization service.
     */
    public void init() {
        try {
            ConfigFactory cf = ConfigFactory.getConfigFactory();
            ConfigProvider cp = cf.getConfigProvider();
            List list = cp.getManagedWebserviceApplicationIds();
            for (Iterator iter=list.iterator(); iter.hasNext();) {
                String appId = (String) iter.next();
                try {
                    ApplicationMediator am = new ApplicationMediator(appId);
                    _applications.put(appId, am);
View Full Code Here


        // set auth failure time stamp
        if (impl != null) {
            impl.setAuthFailure(System.currentTimeMillis());
        }
        try {
            ConfigProvider cfgProv = ConfigFactory.getConfigFactory().getConfigProvider();
            if (cfgProv != null) {
                WebServiceConfig wsc = cfgProv.getWebServiceConfig(fqn);
                if ((wsc == null) || (wsc.getMonitoringLevel() == null)
                    || (wsc.getMonitoringLevel().equals("OFF"))) {
                // in this case, there wont be any stats
                    _logger.fine("Monitoring is OFF for webservice endpoint " +
                        fqn);
View Full Code Here

        _endpoints     = new Hashtable();

        // initializes the endpoint handler
        try {
            ConfigFactory cf = ConfigFactory.getConfigFactory();
            ConfigProvider cp = cf.getConfigProvider();
            WebServiceConfig[] wsc = cp.getWebserviceConfigs(id);

            for (int i=0; i<wsc.length; i++) {
                String mLevel = wsc[i].getMonitoringLevel();

                // SOAP message visualization is only enabled for level HIGH
View Full Code Here

TOP

Related Classes of com.sun.enterprise.admin.wsmgmt.config.spi.ConfigProvider

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.