| 
 | |||||||||||
| 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.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 DestinationMBeanpublic void setDestinationManager(javax.management.ObjectName jbossMQService)
setDestinationManager in interface DestinationMBeanprotected SpyDestination getSpyDest()
public void setSecurityConf(Element securityConf) throws Exception
DestinationMBean
setSecurityConf in interface DestinationMBeanExceptionprotected Element getSecurityConf()
public void setSecurityManager(javax.management.ObjectName securityManager)
DestinationMBean
setSecurityManager in interface DestinationMBeanprotected 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.MalformedObjectNameExceptionpublic void setJNDIName(String name) throws Exception
setJNDIName in interface DestinationMBeanname - Name to bind this topic to in the JNDI tree
Exceptionpublic String getJNDIName()
getJNDIName in interface DestinationMBeanpublic abstract MessageCounter[] getMessageCounter()
getMessageCounter in interface DestinationMBeanpublic abstract MessageStatistics[] getMessageStatistics() throws Exception
getMessageStatistics in interface DestinationMBeanException - for any errorpublic String listMessageCounter()
listMessageCounter in interface DestinationMBeanpublic void resetMessageCounter()
resetMessageCounter in interface DestinationMBeanpublic String listMessageCounterHistory()
listMessageCounterHistory in interface DestinationMBeanpublic void resetMessageCounterHistory()
resetMessageCounterHistory in interface DestinationMBeanpublic void setMessageCounterHistoryDayLimit(int days)
setMessageCounterHistoryDayLimit in interface DestinationMBeandays - maximum day countpublic int getMessageCounterHistoryDayLimit()
getMessageCounterHistoryDayLimit in interface DestinationMBeanpublic int getMaxDepth()
DestinationMBean
getMaxDepth in interface DestinationMBeanpublic void setMaxDepth(int depth)
DestinationMBean
setMaxDepth in interface DestinationMBeandepth - the maximum depth, zero means unlimitedpublic boolean getInMemory()
DestinationMBean
getInMemory in interface DestinationMBeanpublic void setInMemory(boolean mode)
DestinationMBean
setInMemory in interface DestinationMBeanpublic int getRedeliveryLimit()
getRedeliveryLimit in interface DestinationMBeanpublic void setRedeliveryLimit(int limit)
setRedeliveryLimit in interface DestinationMBeanpublic long getRedeliveryDelay()
getRedeliveryDelay in interface DestinationMBeanpublic void setRedeliveryDelay(long rDelay)
setRedeliveryDelay in interface DestinationMBeanpublic Class getReceiversImpl()
getReceiversImpl in interface DestinationMBeanpublic void setReceiversImpl(Class clazz)
setReceiversImpl in interface DestinationMBeanclazz - the receivers implementation class| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||