Package com.sun.enterprise.config.serverbeans

Examples of com.sun.enterprise.config.serverbeans.SipService


            }
        }
        // Doing it to enable sip-listener monitoring.
        if (adminEvent.toString().indexOf("SipListenerEvent") > 0) {
            try {
                SipService sipService = ServerBeansFactory.getConfigBean(adminEvent.getConfigContext()).getSipService();
                SipListener[] sipListeners = sipService.getSipListener();
                SipMonitoringManagerImpl.getInstance().enableSipListenerMonitoring(sipListeners[(sipListeners.length)-1].getId());
            } catch (ConfigException ce) {
                Logger.getLogger(ConfigBean2InternalMapperImpl.class.getName()).log(Level.WARNING, "SipServiceBeanNotFound ", ce);
            }
        }
View Full Code Here


        }

    }

    public static String getTLSPort() throws com.sun.enterprise.config.ConfigException {
        SipService sipService = ServerBeansFactory.getConfigBean(ApplicationServer.getServerContext().getConfigContext()).getSipService();
        SipListener[] sipListeners = (SipListener[]) sipService.getSipListener();

        String tlsPort = "";
        for (SipListener sipListener : sipListeners) {
            if (!sipListener.isEnabled()) {
                continue;
View Full Code Here

                listenerStr += " ";
            }
        }

        // sip-listeners
        SipService sipSvc = c.getSipService();
        SipListener[] sipListeners = sipSvc.getSipListener();

        for (int i = 0; i < sipListeners.length; i++) {
            String hostName = resolveAddress(sipListeners[i].getAddress(), sName, c);
            if (sipListeners[i].isEnabled() && !(sipListeners[i].getType().equals("external"))) {
                if (sipListeners[i].getTransport().equals(SECURE_TRANSPORT))
View Full Code Here

TOP

Related Classes of com.sun.enterprise.config.serverbeans.SipService

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.