|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.util.JBossNotificationBroadcasterSupport org.jboss.system.ServiceMBeanSupport org.jboss.mq.server.jmx.InterceptorMBeanSupport org.jboss.mq.server.jmx.DestinationManager
JMX MBean implementation for JBossMQ.
Field Summary | |
String |
jndiBindLocation
|
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary | |
DestinationManager()
|
Method Summary | |
protected void |
createDestination(String type,
javax.management.ObjectName name,
String jndiLocation)
|
void |
createQueue(String name)
|
void |
createQueue(String name,
String jndiLocation)
|
protected void |
createService()
|
void |
createTopic(String name)
|
void |
createTopic(String name,
String jndiLocation)
|
protected void |
destroyDestination(javax.management.ObjectName name)
|
void |
destroyQueue(String name)
|
protected void |
destroyService()
|
void |
destroyTopic(String name)
|
int |
getClientCount()
|
Map |
getClients()
|
JMSServerInterceptor |
getInterceptor()
|
javax.management.ObjectName |
getMessageCache()
Get the value of MessageCache. |
MessageCounter[] |
getMessageCounter()
get message counter of all configured destinations |
int |
getMessageCounterHistoryDayLimit()
Gets the destination message counter history day limit |
MessageStatistics[] |
getMessageStatistics()
get message stats |
protected javax.management.ObjectName |
getObjectName(javax.management.MBeanServer server,
javax.management.ObjectName name)
|
javax.management.ObjectName |
getPersistenceManager()
Get the value of PersistenceManager. |
protected javax.management.ObjectName |
getQueueObjectName(String name)
|
Class |
getReceiversImpl()
Get the receivers implemenetation |
protected org.jboss.system.ServiceControllerMBean |
getServiceController()
|
javax.management.ObjectName |
getStateManager()
Get the value of StateManager. |
boolean |
getTemporaryInMemory()
Retrieve the temporary topic/queue in memory mode |
int |
getTemporaryMaxDepth()
Retrieve the temporary topic/queue max depth |
protected javax.management.ObjectName |
getTopicObjectName(String name)
|
String |
listMessageCounter()
List message counter of all configured destinations as HTML table |
void |
resetMessageCounter()
Reset message counter of all configured destinations |
void |
setMessageCache(javax.management.ObjectName objectName)
Set the value of MessageCache. |
void |
setMessageCounterHistoryDayLimit(int days)
Sets the destination message counter history day limit <0: unlimited, =0: disabled, > 0 maximum day count |
void |
setPersistenceManager(javax.management.ObjectName objectName)
Set the value of PersistenceManager. |
void |
setReceiversImpl(Class clazz)
Set the receivers implementation class |
void |
setStateManager(javax.management.ObjectName objectName)
Set the value of StateManager. |
void |
setTemporaryInMemory(boolean mode)
Set the temporary topic/queue in memory mode |
void |
setTemporaryMaxDepth(int depth)
Set the temporary topic/queue max depth |
protected void |
startService()
|
protected void |
stopService()
|
Methods inherited from class org.jboss.mq.server.jmx.InterceptorMBeanSupport |
getNextInterceptor, setNextInterceptor |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, destroy, getLog, getName, getNextNotificationSequenceNumber, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.mq.server.jmx.InterceptorMBean |
getNextInterceptor, setNextInterceptor |
Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
Field Detail |
public String jndiBindLocation
Constructor Detail |
public DestinationManager()
Method Detail |
public int getClientCount()
getClientCount
in interface DestinationManagerMBean
public Map getClients()
getClients
in interface DestinationManagerMBean
public javax.management.ObjectName getPersistenceManager()
getPersistenceManager
in interface DestinationManagerMBean
public void setPersistenceManager(javax.management.ObjectName objectName)
setPersistenceManager
in interface DestinationManagerMBean
public javax.management.ObjectName getStateManager()
getStateManager
in interface DestinationManagerMBean
public void setStateManager(javax.management.ObjectName objectName)
setStateManager
in interface DestinationManagerMBean
public javax.management.ObjectName getMessageCache()
getMessageCache
in interface DestinationManagerMBean
public void setMessageCache(javax.management.ObjectName objectName)
setMessageCache
in interface DestinationManagerMBean
public int getTemporaryMaxDepth()
getTemporaryMaxDepth
in interface DestinationManagerMBean
public void setTemporaryMaxDepth(int depth)
setTemporaryMaxDepth
in interface DestinationManagerMBean
depth
- the maximum depthpublic boolean getTemporaryInMemory()
getTemporaryInMemory
in interface DestinationManagerMBean
public void setTemporaryInMemory(boolean mode)
setTemporaryInMemory
in interface DestinationManagerMBean
mode
- true for in memorypublic Class getReceiversImpl()
getReceiversImpl
in interface DestinationManagerMBean
public void setReceiversImpl(Class clazz)
setReceiversImpl
in interface DestinationManagerMBean
clazz
- the receivers implementation classpublic void createQueue(String name) throws Exception
createQueue
in interface DestinationManagerMBean
Exception
public void createTopic(String name) throws Exception
createTopic
in interface DestinationManagerMBean
Exception
public void createQueue(String name, String jndiLocation) throws Exception
createQueue
in interface DestinationManagerMBean
Exception
public void createTopic(String name, String jndiLocation) throws Exception
createTopic
in interface DestinationManagerMBean
Exception
protected void createDestination(String type, javax.management.ObjectName name, String jndiLocation) throws Exception
Exception
public void destroyQueue(String name) throws Exception
destroyQueue
in interface DestinationManagerMBean
Exception
public void destroyTopic(String name) throws Exception
destroyTopic
in interface DestinationManagerMBean
Exception
protected void destroyDestination(javax.management.ObjectName name) throws Exception
Exception
protected javax.management.ObjectName getObjectName(javax.management.MBeanServer server, javax.management.ObjectName name) throws javax.management.MalformedObjectNameException
javax.management.MalformedObjectNameException
protected void stopService()
protected javax.management.ObjectName getTopicObjectName(String name) throws javax.management.MalformedObjectNameException
javax.management.MalformedObjectNameException
protected javax.management.ObjectName getQueueObjectName(String name) throws javax.management.MalformedObjectNameException
javax.management.MalformedObjectNameException
protected org.jboss.system.ServiceControllerMBean getServiceController()
public JMSServerInterceptor getInterceptor()
getInterceptor
in interface InterceptorMBean
InterceptorMBean.getInterceptor()
protected void createService() throws Exception
Exception
ServiceMBeanSupport#createService()
protected void startService() throws Exception
startService
in class InterceptorMBeanSupport
Exception
protected void destroyService()
public void setMessageCounterHistoryDayLimit(int days)
setMessageCounterHistoryDayLimit
in interface DestinationManagerMBean
days
- maximum day countpublic int getMessageCounterHistoryDayLimit()
getMessageCounterHistoryDayLimit
in interface DestinationManagerMBean
public MessageCounter[] getMessageCounter() throws Exception
getMessageCounter
in interface DestinationManagerMBean
Exception
public MessageStatistics[] getMessageStatistics() throws Exception
getMessageStatistics
in interface DestinationManagerMBean
Exception
public String listMessageCounter() throws Exception
listMessageCounter
in interface DestinationManagerMBean
Exception
public void resetMessageCounter()
resetMessageCounter
in interface DestinationManagerMBean
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |