mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1324765 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4c3843809e
commit
76537741fc
|
@ -24,6 +24,7 @@ import java.util.Properties;
|
|||
import java.util.concurrent.Executor;
|
||||
import java.util.concurrent.ScheduledThreadPoolExecutor;
|
||||
import java.util.concurrent.ThreadFactory;
|
||||
|
||||
import javax.jms.Connection;
|
||||
import javax.jms.ConnectionFactory;
|
||||
import javax.jms.ExceptionListener;
|
||||
|
@ -33,6 +34,7 @@ import javax.jms.QueueConnectionFactory;
|
|||
import javax.jms.TopicConnection;
|
||||
import javax.jms.TopicConnectionFactory;
|
||||
import javax.naming.Context;
|
||||
|
||||
import org.apache.activemq.blob.BlobTransferPolicy;
|
||||
import org.apache.activemq.jndi.JNDIBaseStorable;
|
||||
import org.apache.activemq.management.JMSStatsImpl;
|
||||
|
@ -220,9 +222,11 @@ public class ActiveMQConnectionFactory extends JNDIBaseStorable implements Conne
|
|||
return createActiveMQConnection(userName, password);
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns the StatsImpl associated with this ConnectionFactory.
|
||||
*/
|
||||
public StatsImpl getStats() {
|
||||
// TODO
|
||||
return null;
|
||||
return this.factoryStats;
|
||||
}
|
||||
|
||||
// /////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in New Issue