|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.mq.server.jmx.InterceptorMBeanSupport
org.jboss.mq.server.jmx.DestinationManager
public class DestinationManager
JMX MBean implementation for JBossMQ.
| Field Summary | |
|---|---|
protected JMSDestinationManager |
jmsServer
The JMS server implementation |
String |
jndiBindLocation
|
protected BasicQueueParameters |
tempParameters
The temporary topic/queue parameters |
| 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()
|
javax.management.ObjectName |
getExpiryDestination()
Returns the expiry destination. |
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 |
int |
getRecoveryRetries()
Returns the recovery retries |
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 |
javax.management.ObjectName |
getThreadPool()
Returns ThreadPool. |
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 |
Map |
retrievePreparedTransactions()
Retrieve the prepared transactions |
void |
setExpiryDestination(javax.management.ObjectName expiryDestination)
Sets the expiry destination. |
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 |
setRecoveryRetries(int retries)
Sets the class implementating the receivers |
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 |
void |
setThreadPool(javax.management.ObjectName threadPool)
Sets ThreadPool. |
String |
showPreparedTransactions()
Show the prepared transactions |
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, getDeploymentInfo, 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, nextNotificationSequenceNumber, 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
protected JMSDestinationManager jmsServer
protected BasicQueueParameters tempParameters
| Constructor Detail |
|---|
public DestinationManager()
| Method Detail |
|---|
public int getClientCount()
getClientCount in interface DestinationManagerMBeanpublic Map getClients()
getClients in interface DestinationManagerMBeanpublic javax.management.ObjectName getPersistenceManager()
getPersistenceManager in interface DestinationManagerMBeanpublic void setPersistenceManager(javax.management.ObjectName objectName)
setPersistenceManager in interface DestinationManagerMBeanv - Value to assign to PersistenceManager.public javax.management.ObjectName getStateManager()
getStateManager in interface DestinationManagerMBeanpublic void setStateManager(javax.management.ObjectName objectName)
setStateManager in interface DestinationManagerMBeanv - Value to assign to StateManager.public javax.management.ObjectName getMessageCache()
getMessageCache in interface DestinationManagerMBeanpublic void setMessageCache(javax.management.ObjectName objectName)
setMessageCache in interface DestinationManagerMBeanv - Value to assign to MessageCache.public int getTemporaryMaxDepth()
getTemporaryMaxDepth in interface DestinationManagerMBeanpublic void setTemporaryMaxDepth(int depth)
setTemporaryMaxDepth in interface DestinationManagerMBeandepth - the maximum depthpublic boolean getTemporaryInMemory()
getTemporaryInMemory in interface DestinationManagerMBeanpublic void setTemporaryInMemory(boolean mode)
setTemporaryInMemory in interface DestinationManagerMBeanmode - true for in memorypublic Class getReceiversImpl()
getReceiversImpl in interface DestinationManagerMBeanpublic void setReceiversImpl(Class clazz)
setReceiversImpl in interface DestinationManagerMBeanclazz - the receivers implementation classpublic int getRecoveryRetries()
DestinationManagerMBean
getRecoveryRetries in interface DestinationManagerMBeanpublic void setRecoveryRetries(int retries)
DestinationManagerMBean
setRecoveryRetries in interface DestinationManagerMBeanpublic javax.management.ObjectName getThreadPool()
DestinationManagerMBean
getThreadPool in interface DestinationManagerMBeanpublic void setThreadPool(javax.management.ObjectName threadPool)
DestinationManagerMBean
setThreadPool in interface DestinationManagerMBeanpublic javax.management.ObjectName getExpiryDestination()
DestinationManagerMBean
getExpiryDestination in interface DestinationManagerMBeanpublic void setExpiryDestination(javax.management.ObjectName expiryDestination)
DestinationManagerMBean
setExpiryDestination in interface DestinationManagerMBean
public void createQueue(String name)
throws Exception
createQueue in interface DestinationManagerMBeanException
public void createTopic(String name)
throws Exception
createTopic in interface DestinationManagerMBeanException
public void createQueue(String name,
String jndiLocation)
throws Exception
createQueue in interface DestinationManagerMBeanException
public void createTopic(String name,
String jndiLocation)
throws Exception
createTopic in interface DestinationManagerMBeanException
protected void createDestination(String type,
javax.management.ObjectName name,
String jndiLocation)
throws Exception
Exception
public void destroyQueue(String name)
throws Exception
destroyQueue in interface DestinationManagerMBeanException
public void destroyTopic(String name)
throws Exception
destroyTopic in interface DestinationManagerMBeanException
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
getObjectName in class org.jboss.system.ServiceMBeanSupportjavax.management.MalformedObjectNameException
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.MalformedObjectNameExceptionprotected org.jboss.system.ServiceControllerMBean getServiceController()
public JMSServerInterceptor getInterceptor()
getInterceptor in interface InterceptorMBeanInterceptorMBean.getInterceptor()
protected void createService()
throws Exception
createService in class org.jboss.system.ServiceMBeanSupportExceptionServiceMBeanSupport.createService()
protected void startService()
throws Exception
startService in class InterceptorMBeanSupportExceptionprotected void stopService()
stopService in class org.jboss.system.ServiceMBeanSupport
protected void destroyService()
throws Exception
destroyService in class org.jboss.system.ServiceMBeanSupportExceptionpublic void setMessageCounterHistoryDayLimit(int days)
setMessageCounterHistoryDayLimit in interface DestinationManagerMBeandays - maximum day countpublic int getMessageCounterHistoryDayLimit()
getMessageCounterHistoryDayLimit in interface DestinationManagerMBean
public MessageCounter[] getMessageCounter()
throws Exception
getMessageCounter in interface DestinationManagerMBeanException
public MessageStatistics[] getMessageStatistics()
throws Exception
getMessageStatistics in interface DestinationManagerMBeanException
public String listMessageCounter()
throws Exception
listMessageCounter in interface DestinationManagerMBeanExceptionpublic void resetMessageCounter()
resetMessageCounter in interface DestinationManagerMBeanpublic Map retrievePreparedTransactions()
DestinationManagerMBean
retrievePreparedTransactions in interface DestinationManagerMBeanpublic String showPreparedTransactions()
DestinationManagerMBean
showPreparedTransactions in interface DestinationManagerMBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||