|
||||||||||
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.DestinationMBeanSupport
Super class for destination managers.
Field Summary |
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 | |
DestinationMBeanSupport()
|
Method Summary | |
void |
createService()
Sub-classes should override this method to provide custum 'create' logic. |
ObjectName (src) |
getDestinationManager()
Get the value of JBossMQService. |
boolean |
getInMemory()
Retrieve the topic/queue in memory mode |
java.lang.String |
getJNDIName()
Gets the JNDI name use by this topic |
int |
getMaxDepth()
Retrieve the maximum depth of the queue or individual subscriptions |
abstract MessageCounter (src) [] |
getMessageCounter()
Get destination message counter array |
int |
getMessageCounterHistoryDayLimit()
Gets the destination message counter history day limit |
abstract MessageStatistics (src) [] |
getMessageStatistics()
Get destination stats array |
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. |
java.lang.Class |
getReceiversImpl()
Get the receivers implemenetation |
long |
getRedeliveryDelay()
Returns the message redelivery delay, the delay in milliseconds before a rolled back or recovered message is redelivered |
int |
getRedeliveryLimit()
Returns the message redelivery limit; the number of redelivery attempts before a message is moved to the DLQ. |
protected org.w3c.dom.Element |
getSecurityConf()
|
protected ObjectName (src) |
getSecurityManager()
|
protected SpyDestination (src) |
getSpyDest()
|
java.lang.String |
listMessageCounter()
List destination message counter as HTML table |
java.lang.String |
listMessageCounterHistory()
List destination message counter history as HTML table |
void |
resetMessageCounter()
Reset destination message counter |
void |
resetMessageCounterHistory()
Reset destination message counter history |
void |
setDestinationManager(ObjectName (src) jbossMQService)
Set the value of JBossMQService. |
void |
setInMemory(boolean mode)
Set the temporary topic/queue in memory mode |
void |
setJNDIName(java.lang.String name)
Sets the JNDI name for this topic |
void |
setMaxDepth(int depth)
Set the maximum depth of the queue or individual subscriptions |
void |
setMessageCounterHistoryDayLimit(int days)
Sets the destination message counter history day limit <0: unlimited, =0: disabled, > 0 maximum day count |
void |
setReceiversImpl(java.lang.Class clazz)
Set the receivers implementation class |
void |
setRedeliveryDelay(long rDelay)
Sets the Message redelivery delay in milliseconds. |
void |
setRedeliveryLimit(int limit)
Sets the redelivery limit. |
void |
setSecurityConf(org.w3c.dom.Element securityConf)
Sets the security xml config |
void |
setSecurityManager(ObjectName (src) securityManager)
Set the object name of the security manager. |
void |
startService()
Sub-classes should override this method to provide custum 'start' logic. |
void |
stopService()
Sub-classes should override this method to provide custum 'stop' logic. |
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
create, destroy, destroyService, 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.mq.server.jmx.DestinationMBean (src) |
removeAllMessages |
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 |
Methods inherited from interface javax.management.MBeanRegistration (src) |
postDeregister, postRegister, preDeregister, preRegister |
Constructor Detail |
public DestinationMBeanSupport()
Method Detail |
public ObjectName (src) getDestinationManager()
getDestinationManager
in interface DestinationMBean (src)
public void setDestinationManager(ObjectName (src) jbossMQService)
setDestinationManager
in interface DestinationMBean (src)
protected SpyDestination (src) getSpyDest()
public void setSecurityConf(org.w3c.dom.Element securityConf) throws java.lang.Exception
DestinationMBean (src)
setSecurityConf
in interface DestinationMBean (src)
java.lang.Exception
protected org.w3c.dom.Element getSecurityConf()
public void setSecurityManager(ObjectName (src) securityManager)
DestinationMBean (src)
setSecurityManager
in interface DestinationMBean (src)
protected ObjectName (src) getSecurityManager()
public 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
public 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 ServiceMBeanSupport (src)
java.lang.Exception
public void stopService() 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.
stopService
in class ServiceMBeanSupport (src)
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)
public void setJNDIName(java.lang.String name) throws java.lang.Exception
setJNDIName
in interface DestinationMBean (src)
name
- Name to bind this topic to in the JNDI tree
java.lang.Exception
public java.lang.String getJNDIName()
getJNDIName
in interface DestinationMBean (src)
public abstract MessageCounter (src) [] getMessageCounter()
getMessageCounter
in interface DestinationMBean (src)
public abstract MessageStatistics (src) [] getMessageStatistics() throws java.lang.Exception
getMessageStatistics
in interface DestinationMBean (src)
java.lang.Exception
- for any errorpublic java.lang.String listMessageCounter()
listMessageCounter
in interface DestinationMBean (src)
public void resetMessageCounter()
resetMessageCounter
in interface DestinationMBean (src)
public java.lang.String listMessageCounterHistory()
listMessageCounterHistory
in interface DestinationMBean (src)
public void resetMessageCounterHistory()
resetMessageCounterHistory
in interface DestinationMBean (src)
public void setMessageCounterHistoryDayLimit(int days)
setMessageCounterHistoryDayLimit
in interface DestinationMBean (src)
days
- maximum day countpublic int getMessageCounterHistoryDayLimit()
getMessageCounterHistoryDayLimit
in interface DestinationMBean (src)
public int getMaxDepth()
DestinationMBean (src)
getMaxDepth
in interface DestinationMBean (src)
public void setMaxDepth(int depth)
DestinationMBean (src)
setMaxDepth
in interface DestinationMBean (src)
depth
- the maximum depth, zero means unlimitedpublic boolean getInMemory()
DestinationMBean (src)
getInMemory
in interface DestinationMBean (src)
public void setInMemory(boolean mode)
DestinationMBean (src)
setInMemory
in interface DestinationMBean (src)
public int getRedeliveryLimit()
getRedeliveryLimit
in interface DestinationMBean (src)
public void setRedeliveryLimit(int limit)
setRedeliveryLimit
in interface DestinationMBean (src)
public long getRedeliveryDelay()
getRedeliveryDelay
in interface DestinationMBean (src)
public void setRedeliveryDelay(long rDelay)
setRedeliveryDelay
in interface DestinationMBean (src)
public java.lang.Class getReceiversImpl()
getReceiversImpl
in interface DestinationMBean (src)
public void setReceiversImpl(java.lang.Class clazz)
setReceiversImpl
in interface DestinationMBean (src)
clazz
- the receivers implementation class
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |