|
|||||||||||
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.DestinationMBeanSupport
Super class for destination managers.
Field Summary |
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 | |
DestinationMBeanSupport()
|
Method Summary | |
void |
createService()
|
javax.management.ObjectName |
getDestinationManager()
Get the value of JBossMQService. |
boolean |
getInMemory()
Retrieve the topic/queue in memory mode |
String |
getJNDIName()
Gets the JNDI name use by this topic |
int |
getMaxDepth()
Retrieve the maximum depth of the queue or individual subscriptions |
abstract MessageCounter[] |
getMessageCounter()
Get destination message counter array |
int |
getMessageCounterHistoryDayLimit()
Gets the destination message counter history day limit |
abstract MessageStatistics[] |
getMessageStatistics()
Get destination stats array |
protected javax.management.ObjectName |
getObjectName(javax.management.MBeanServer server,
javax.management.ObjectName name)
|
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 Element |
getSecurityConf()
|
protected javax.management.ObjectName |
getSecurityManager()
|
protected SpyDestination |
getSpyDest()
|
String |
listMessageCounter()
List destination message counter as HTML table |
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(javax.management.ObjectName jbossMQService)
Set the value of JBossMQService. |
void |
setInMemory(boolean mode)
Set the temporary topic/queue in memory mode |
void |
setJNDIName(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(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(Element securityConf)
Sets the security xml config |
void |
setSecurityManager(javax.management.ObjectName securityManager)
Set the object name of the security manager. |
void |
startService()
|
void |
stopService()
|
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
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 |
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 |
removeAllMessages |
Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister, postRegister, preDeregister, preRegister |
Constructor Detail |
public DestinationMBeanSupport()
Method Detail |
public javax.management.ObjectName getDestinationManager()
getDestinationManager
in interface DestinationMBean
public void setDestinationManager(javax.management.ObjectName jbossMQService)
setDestinationManager
in interface DestinationMBean
protected SpyDestination getSpyDest()
public void setSecurityConf(Element securityConf) throws Exception
DestinationMBean
setSecurityConf
in interface DestinationMBean
Exception
protected Element getSecurityConf()
public void setSecurityManager(javax.management.ObjectName securityManager)
DestinationMBean
setSecurityManager
in interface DestinationMBean
protected javax.management.ObjectName getSecurityManager()
public void createService() throws Exception
Exception
public void startService() throws Exception
Exception
public void stopService() throws Exception
Exception
protected javax.management.ObjectName getObjectName(javax.management.MBeanServer server, javax.management.ObjectName name) throws javax.management.MalformedObjectNameException
javax.management.MalformedObjectNameException
public void setJNDIName(String name) throws Exception
setJNDIName
in interface DestinationMBean
name
- Name to bind this topic to in the JNDI tree
Exception
public String getJNDIName()
getJNDIName
in interface DestinationMBean
public abstract MessageCounter[] getMessageCounter()
getMessageCounter
in interface DestinationMBean
public abstract MessageStatistics[] getMessageStatistics() throws Exception
getMessageStatistics
in interface DestinationMBean
Exception
- for any errorpublic String listMessageCounter()
listMessageCounter
in interface DestinationMBean
public void resetMessageCounter()
resetMessageCounter
in interface DestinationMBean
public String listMessageCounterHistory()
listMessageCounterHistory
in interface DestinationMBean
public void resetMessageCounterHistory()
resetMessageCounterHistory
in interface DestinationMBean
public void setMessageCounterHistoryDayLimit(int days)
setMessageCounterHistoryDayLimit
in interface DestinationMBean
days
- maximum day countpublic int getMessageCounterHistoryDayLimit()
getMessageCounterHistoryDayLimit
in interface DestinationMBean
public int getMaxDepth()
DestinationMBean
getMaxDepth
in interface DestinationMBean
public void setMaxDepth(int depth)
DestinationMBean
setMaxDepth
in interface DestinationMBean
depth
- the maximum depth, zero means unlimitedpublic boolean getInMemory()
DestinationMBean
getInMemory
in interface DestinationMBean
public void setInMemory(boolean mode)
DestinationMBean
setInMemory
in interface DestinationMBean
public int getRedeliveryLimit()
getRedeliveryLimit
in interface DestinationMBean
public void setRedeliveryLimit(int limit)
setRedeliveryLimit
in interface DestinationMBean
public long getRedeliveryDelay()
getRedeliveryDelay
in interface DestinationMBean
public void setRedeliveryDelay(long rDelay)
setRedeliveryDelay
in interface DestinationMBean
public Class getReceiversImpl()
getReceiversImpl
in interface DestinationMBean
public void setReceiversImpl(Class clazz)
setReceiversImpl
in interface DestinationMBean
clazz
- the receivers implementation class
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |