JmsServiceImplMBean.java

00001 /*
00002  * JOnAS: Java(TM) Open Application Server
00003  * Copyright (C) 1999 Bull S.A.
00004  * Contact: jonas-team@objectweb.org
00005  * 
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Lesser General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2.1 of the License, or any later version.
00010  * 
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Lesser General Public License for more details.
00015  * 
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with this library; if not, write to the Free Software
00018  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
00019  * USA
00020  *
00021  * --------------------------------------------------------------------------
00022  * $Id: JmsServiceImplMBean.java,v 1.10 2003/09/03 15:08:34 fmaistre Exp $
00023  * --------------------------------------------------------------------------
00024  */
00025 
00026 package org.objectweb.jonas.jms;
00027 import java.util.Set;
00028 
00038 public interface JmsServiceImplMBean {
00039 
00043     public Integer getCurrentNumberOfJmsConnectionFactory();
00044 
00048     public Integer getCurrentNumberOfJmsTopicConnectionFactory();
00049 
00053     public Integer getCurrentNumberOfJmsQueueConnectionFactory();
00054 
00058     public Integer getCurrentNumberOfJmsTopicDestination();
00059 
00063     public Integer getCurrentNumberOfJmsQueueDestination();
00064 
00069     public void createJmsQueueDestination(String jndiName); 
00070 
00075     public void createJmsTopicDestination(String jndiName); 
00076 
00081     public void removeJmsTopicDestination(String jndiName);
00082 
00087     public void removeJmsQueueDestination(String jndiName);
00088 
00093     public void removeJmsDestination(String jndiName);
00094 
00098     public Set getAllJmsQueueDestinationNames();
00099 
00103     public Set getAllJmsTopicDestinationNames();
00104 
00108     public Set getAllJmsConnectionFactoryNames();
00109 
00113     public Set getAllJmsQueueConnectionFactoryNames();
00114 
00118     public Set getAllJmsTopicConnectionFactoryNames();
00122     public String getDefaultQueueConnectionFactoryName();
00123 
00127     public String getDefaultTopicConnectionFactoryName();
00128 
00132     public String getDefaultConnectionFactoryName();
00133 
00138     public void saveConfig();  
00139 
00140     // Monitoring methods
00141 
00147     public String getConnectionFactoryMode(String jndiName);
00148 
00154     public Integer getPendingMessages(String jndiName);
00155 
00161     public Integer getPendingRequests(String jndiName);
00162 
00168     public Integer getSubscriptions(String jndiName);   
00169 
00170     public Boolean isMomLocal();
00171     public String getUrl();
00172     public String getMom();
00173 }

Generated on Tue Feb 15 15:05:16 2005 for JOnAS by  doxygen 1.3.9.1