|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.mq.server.jmx.InterceptorMBeanSupport (src)
org.jboss.mq.server.jmx.DestinationManager
JMX MBean implementation for JBossMQ.
Field Summary | |
java.lang.String |
jndiBindLocation
|
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src) |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean (src) |
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(java.lang.String type,
ObjectName (src) name,
java.lang.String jndiLocation)
|
void |
createQueue(java.lang.String name)
|
void |
createQueue(java.lang.String name,
java.lang.String jndiLocation)
|
protected void |
createService()
Sub-classes should override this method to provide custum 'create' logic. |
void |
createTopic(java.lang.String name)
|
void |
createTopic(java.lang.String name,
java.lang.String jndiLocation)
|
protected void |
destroyDestination(ObjectName (src) name)
|
void |
destroyQueue(java.lang.String name)
|
protected void |
destroyService()
Sub-classes should override this method to provide custum 'destroy' logic. |
void |
destroyTopic(java.lang.String name)
|
int |
getClientCount()
|
java.util.Map |
getClients()
|
JMSServerInterceptor (src) |
getInterceptor()
|
ObjectName (src) |
getMessageCache()
Get the value of MessageCache. |
MessageCounter (src) [] |
getMessageCounter()
get message counter of all configured destinations |
int |
getMessageCounterHistoryDayLimit()
Gets the destination message counter history day limit |
MessageStatistics (src) [] |
getMessageStatistics()
get message stats |
protected ObjectName (src) |
getObjectName(MBeanServer (src) server,
ObjectName (src) name)
Sub-classes should override this method if they only need to set their object name during MBean pre-registration. |
ObjectName (src) |
getPersistenceManager()
Get the value of PersistenceManager. |
protected ObjectName (src) |
getQueueObjectName(java.lang.String name)
|
java.lang.Class |
getReceiversImpl()
Get the receivers implemenetation |
protected ServiceControllerMBean |
getServiceController()
|
ObjectName (src) |
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 ObjectName (src) |
getTopicObjectName(java.lang.String name)
|
java.lang.String |
listMessageCounter()
List message counter of all configured destinations as HTML table |
void |
resetMessageCounter()
Reset message counter of all configured destinations |
void |
setMessageCache(ObjectName (src) 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(ObjectName (src) objectName)
Set the value of PersistenceManager. |
void |
setReceiversImpl(java.lang.Class clazz)
Set the receivers implementation class |
void |
setStateManager(ObjectName (src) 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()
Sub-classes should override this method to provide custum 'start' logic. |
protected void |
stopService()
Sub-classes should override this method to provide custum 'stop' logic. |
Methods inherited from class org.jboss.mq.server.jmx.InterceptorMBeanSupport (src) |
getNextInterceptor, setNextInterceptor |
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
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 (src) |
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.system.ServiceMBean (src) |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service (src) |
create, destroy, start, stop |
Field Detail |
public java.lang.String jndiBindLocation
Constructor Detail |
public DestinationManager()
Method Detail |
public int getClientCount()
public java.util.Map getClients()
public ObjectName (src) getPersistenceManager()
public void setPersistenceManager(ObjectName (src) objectName)
public ObjectName (src) getStateManager()
public void setStateManager(ObjectName (src) objectName)
public ObjectName (src) getMessageCache()
public void setMessageCache(ObjectName (src) objectName)
public int getTemporaryMaxDepth()
public void setTemporaryMaxDepth(int depth)
depth
- the maximum depthpublic boolean getTemporaryInMemory()
public void setTemporaryInMemory(boolean mode)
mode
- true for in memorypublic java.lang.Class getReceiversImpl()
public void setReceiversImpl(java.lang.Class clazz)
clazz
- the receivers implementation classpublic void createQueue(java.lang.String name) throws java.lang.Exception
java.lang.Exception
public void createTopic(java.lang.String name) throws java.lang.Exception
java.lang.Exception
public void createQueue(java.lang.String name, java.lang.String jndiLocation) throws java.lang.Exception
java.lang.Exception
public void createTopic(java.lang.String name, java.lang.String jndiLocation) throws java.lang.Exception
java.lang.Exception
protected void createDestination(java.lang.String type, ObjectName (src) name, java.lang.String jndiLocation) throws java.lang.Exception
java.lang.Exception
public void destroyQueue(java.lang.String name) throws java.lang.Exception
java.lang.Exception
public void destroyTopic(java.lang.String name) throws java.lang.Exception
java.lang.Exception
protected void destroyDestination(ObjectName (src) name) throws java.lang.Exception
java.lang.Exception
protected ObjectName (src) getObjectName(MBeanServer (src) server, ObjectName (src) name) throws MalformedObjectNameException (src)
ServiceMBeanSupport (src)
getObjectName
in class ServiceMBeanSupport (src)
MalformedObjectNameException (src)
protected void stopService()
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
stopService
in class ServiceMBeanSupport (src)
protected ObjectName (src) getTopicObjectName(java.lang.String name) throws MalformedObjectNameException (src)
MalformedObjectNameException (src)
protected ObjectName (src) getQueueObjectName(java.lang.String name) throws MalformedObjectNameException (src)
MalformedObjectNameException (src)
protected ServiceControllerMBean getServiceController()
public JMSServerInterceptor (src) getInterceptor()
InterceptorMBean.getInterceptor()
protected void createService() throws java.lang.Exception
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
createService
in class ServiceMBeanSupport (src)
java.lang.Exception
ServiceMBeanSupport#createService()
protected void startService() throws java.lang.Exception
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
startService
in class InterceptorMBeanSupport (src)
java.lang.Exception
protected void destroyService()
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
destroyService
in class ServiceMBeanSupport (src)
public void setMessageCounterHistoryDayLimit(int days)
days
- maximum day countpublic int getMessageCounterHistoryDayLimit()
public MessageCounter (src) [] getMessageCounter() throws java.lang.Exception
java.lang.Exception
public MessageStatistics (src) [] getMessageStatistics() throws java.lang.Exception
java.lang.Exception
public java.lang.String listMessageCounter() throws java.lang.Exception
java.lang.Exception
public void resetMessageCounter()
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |