Package com.sun.messaging.jmq.jmsservice

Examples of com.sun.messaging.jmq.jmsservice.JMSService


     *
     */
    public JMSService getJMSService()
      throws IllegalStateException  {
  ServiceManager sm = Globals.getServiceManager();
  JMSService jmsService = getJMSService(DEFAULT_DIRECTMODE_SERVICE_NAME);

  if (jmsService != null)  {
      return (jmsService);
  }

View Full Code Here


    // com.sun.messaging.jmq.jmsserver.management.mbeans.BrokerConfig.hasDirectConnections() and
    // com.sun.messaging.jmq.jmsserver.data.handlers.admin.ShutdownHandler.hasDirectConnections()
      String DEFAULT_DIRECTMODE_SERVICE_NAME = "jmsdirect";
       
    ServiceManager sm = Globals.getServiceManager();
    JMSService jmsService = getJMSService(DEFAULT_DIRECTMODE_SERVICE_NAME);

    if (jmsService != null)  {
        return (jmsService);
    }
View Full Code Here

        // it will return true if the RA is configured to use RADirect and we haven't overridden addressList in the activation spec
        useRADirect = this.aSpec.useRADirect();
                       
    // Configure connection factory
    if (useRADirect) {
      JMSService jmsservice = this.ra._getJMSService();
      this.dcf = new com.sun.messaging.jms.ra.DirectConnectionFactory(jmsservice, null);
     
      this.username = this.aSpec.getUserName();
      this.password = this.aSpec.getPassword();
View Full Code Here

   * For internal resource adapter use only<br>
   *
   * @return the JMSService instance or null
   */
  public JMSService _getJMSService() {
    JMSService result = null;
    if (getLifecycleManagedBroker() != null) {
      result = getLifecycleManagedBroker()._getJMSService();
    }
    return result;
  }
View Full Code Here

TOP

Related Classes of com.sun.messaging.jmq.jmsservice.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.