Package com.sun.enterprise.config.serverbeans

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


    }

    private static void configureDefaultJmsHost(final Config tc) {
        //this configures the default_JMS_Host's attributes
        //default JMS Host is pointed to by the default-jms-host attribute of jms-service.
        final JmsService js = tc.getJmsService();
        final String jmshn  = js.getDefaultJmsHost();
        final JmsHost jmsh  = js.getJmsHostByName(jmshn);
        jmsh.setAdminUserName(IASJmsUtil.DEFAULT_USER);
        jmsh.setAdminPassword(IASJmsUtil.DEFAULT_PASSWORD);
        jmsh.setHost(System.getProperty(SystemPropertyConstants.HOST_NAME_PROPERTY));
        //don't set the port as it is "tokenized" appropriately
    }
View Full Code Here


            }

            /*
             * Do the same as above for JMS listeners also but only for MQ's EMBEDDED MODE
             */
            final JmsService jmsService = config.getJmsService();
            if (jmsService != null) {
                if ("EMBEDDED".equalsIgnoreCase(jmsService.getType())) {
                    List<JmsHost> jmsHosts = jmsService.getJmsHost();
                    for (JmsHost oneHost : jmsHosts) {
                        if (Boolean.valueOf(oneHost.getLazyInit())) {
                            String jmsHost = null;
                            if (oneHost.getHost() != null && JMS_DEFAULT_HOST.equals(oneHost.getHost()))
                                jmsHost = JMS_DEFAULT_LISTENER_IP;
View Full Code Here

            }

            /*
             * Do the same as above for JMS listeners also but only for MQ's EMBEDDED MODE
             */
            final JmsService jmsService = config.getJmsService();
            if (jmsService != null) {
                if ("EMBEDDED".equalsIgnoreCase(jmsService.getType())) {
                    List<JmsHost> jmsHosts = jmsService.getJmsHost();
                    for (JmsHost oneHost : jmsHosts) {
                        if (Boolean.valueOf(oneHost.getLazyInit())) {
                            String jmsHost = null;
                            if (oneHost.getHost() != null && JMS_DEFAULT_HOST.equals(oneHost.getHost()))
                                jmsHost = JMS_DEFAULT_LISTENER_IP;
View Full Code Here

                            List<JmxConnector> jmxConnectors = adminsvc.getJmxConnector();
                            checkDuplicate(jmxConnectors);
                        }

                        // config-->jms-service-->jms-host
                        JmsService jmsService = cfg.getJmsService();
                        if (jmsService != null) {
                            List<JmsHost> jmsHosts = jmsService.getJmsHost();
                            checkDuplicate(jmsHosts);
                        }

                        // Now sub elements of Security Service
                        SecurityService securitysvc = cfg.getSecurityService();
View Full Code Here

TOP

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

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.