Package com.sun.messaging.jmq.jmsserver.core

Examples of com.sun.messaging.jmq.jmsserver.core.Producer


  return (null);
    }

    public static Boolean getFlowPaused(ProducerUID pid)  {
  Producer p = Producer.getProducer(pid);

  if (p == null)  {
      return (null);
  }

        return (new Boolean(p.isPaused()));
    }
View Full Code Here


        return (new Boolean(p.isPaused()));
    }

    public static String getHost(ProducerUID pid)  {
  Producer p = Producer.getProducer(pid);
  ConnectionUID cxnId = null;

  if (p == null)  {
      return (null);
  }

  cxnId = p.getConnectionUID();

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

  return (new Long(currentTime - pid.age(currentTime)));
    }


    public static Long getNumMsgs(ProducerUID pid)  {
  Producer p = Producer.getProducer(pid);

  if (p == null)  {
      return (null);
  }

        return (new Long(p.getMsgCnt()));
    }
View Full Code Here

        return (new Long(p.getMsgCnt()));
    }

    public static String getServiceName(ProducerUID pid)  {
  Producer p = Producer.getProducer(pid);
  ConnectionUID cxnId = null;

  if (p == null)  {
      return (null);
  }

  cxnId = p.getConnectionUID();

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

  return(ConnectionUtil.getServiceOfConnection(cxnId.longValue()));
    }

    public static String getUser(ProducerUID pid)  {
  Producer p = Producer.getProducer(pid);
  ConnectionUID cxnId = null;

  if (p == null)  {
      return (null);
  }

  cxnId = p.getConnectionUID();

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

  return (cxnInfo.user);
    }

    public static boolean isWildcard(ProducerUID pid)  {
  Producer p = Producer.getProducer(pid);

  if (p != null)  {
      return (p.isWildcard());
  }

  return (false);
    }
View Full Code Here

  ids = new String [ numProducers ];

  producers = Producer.getAllProducers();
  int i = 0;
  while (producers.hasNext()) {
      Producer oneProd = (Producer)producers.next();
      long prodID = oneProd.getProducerUID().longValue();
      String id;

      try  {
          id = Long.toString(prodID);
View Full Code Here

TOP

Related Classes of com.sun.messaging.jmq.jmsserver.core.Producer

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.