|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectServiceMBeanSupport
org.jboss.jms.server.destination.DestinationServiceSupport
The base of a JBoss Messaging destination service. Both deployed or programatically created destinations will eventually get one of these.
| Field Summary | |
protected ManagedDestination |
destination
|
protected DestinationManager |
dm
|
protected IDManager |
idm
|
protected MessageStore |
ms
|
protected int |
nodeId
|
protected PersistenceManager |
pm
|
protected PostOffice |
postOffice
|
protected ServerPeer |
serverPeer
|
protected SecurityManager |
sm
|
protected boolean |
started
|
protected TransactionRepository |
tr
|
| Constructor Summary | |
DestinationServiceSupport()
|
|
DestinationServiceSupport(boolean createdProgrammatically)
|
|
| Method Summary | |
ObjectName |
getDLQ()
|
int |
getDownCacheSize()
Get write-cache size |
ObjectName |
getExpiryQueue()
|
int |
getFullSize()
Get in-memory message limit |
MessagingComponent |
getInstance()
A server plugin will be always accessed via a hard reference, so it is essential that each implementation exposes this method. |
java.lang.String |
getJNDIName()
|
int |
getMaxSize()
|
int |
getMessageCounterHistoryDayLimit()
|
java.lang.String |
getName()
|
int |
getPageSize()
Get paging size |
long |
getRedeliveryDelay()
|
org.w3c.dom.Element |
getSecurityConfig()
|
ObjectName |
getServerPeer()
|
boolean |
isClustered()
|
boolean |
isCreatedProgrammatically()
|
protected abstract boolean |
isQueue()
|
protected java.lang.String |
listMessageCounterAsHTML(MessageCounter[] counters)
List message counters as HTML table |
protected java.lang.String |
listMessageCounterHistoryAsHTML(MessageCounter[] counters)
List destination message counter history as HTML table |
abstract void |
removeAllMessages()
|
void |
setClustered(boolean clustered)
|
void |
setDLQ(ObjectName on)
|
void |
setDownCacheSize(int downCacheSize)
Set write-cache size when destination is stopped. |
void |
setExpiryQueue(ObjectName on)
|
void |
setFullSize(int fullSize)
Set in-memory message limit when destination is stopped. |
void |
setJNDIName(java.lang.String jndiName)
|
void |
setMaxSize(int maxSize)
|
void |
setMessageCounterHistoryDayLimit(int limit)
|
void |
setPageSize(int pageSize)
Set paging size when destination is stopped. |
void |
setRedeliveryDelay(long delay)
|
void |
setSecurityConfig(org.w3c.dom.Element securityConfig)
|
void |
setServerPeer(ObjectName on)
|
void |
startService()
|
void |
stopService()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected boolean started
protected ManagedDestination destination
protected PostOffice postOffice
protected ServerPeer serverPeer
protected DestinationManager dm
protected SecurityManager sm
protected PersistenceManager pm
protected MessageStore ms
protected TransactionRepository tr
protected IDManager idm
protected int nodeId
| Constructor Detail |
public DestinationServiceSupport(boolean createdProgrammatically)
public DestinationServiceSupport()
| Method Detail |
public MessagingComponent getInstance()
ServerPlugin
getInstance in interface ServerPlugin
public void startService()
throws java.lang.Exception
java.lang.Exception
public void stopService()
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getName()
getName in interface DestinationMBeanpublic java.lang.String getJNDIName()
getJNDIName in interface DestinationMBean
public void setJNDIName(java.lang.String jndiName)
throws java.lang.Exception
setJNDIName in interface DestinationMBeanjava.lang.Exceptionpublic void setServerPeer(ObjectName on)
setServerPeer in interface DestinationMBeanpublic ObjectName getServerPeer()
getServerPeer in interface DestinationMBean
public void setDLQ(ObjectName on)
throws java.lang.Exception
setDLQ in interface DestinationMBeanjava.lang.Exceptionpublic ObjectName getDLQ()
getDLQ in interface DestinationMBean
public void setExpiryQueue(ObjectName on)
throws java.lang.Exception
setExpiryQueue in interface DestinationMBeanjava.lang.Exceptionpublic ObjectName getExpiryQueue()
getExpiryQueue in interface DestinationMBeanpublic long getRedeliveryDelay()
getRedeliveryDelay in interface DestinationMBeanpublic void setRedeliveryDelay(long delay)
setRedeliveryDelay in interface DestinationMBeanpublic int getMaxSize()
getMaxSize in interface DestinationMBean
public void setMaxSize(int maxSize)
throws java.lang.Exception
setMaxSize in interface DestinationMBeanjava.lang.Exceptionpublic org.w3c.dom.Element getSecurityConfig()
getSecurityConfig in interface DestinationMBean
public void setSecurityConfig(org.w3c.dom.Element securityConfig)
throws java.lang.Exception
setSecurityConfig in interface DestinationMBeanjava.lang.Exceptionpublic int getFullSize()
getFullSize in interface DestinationMBeanpublic void setFullSize(int fullSize)
setFullSize in interface DestinationMBeanfullSize - the message limitpublic int getPageSize()
getPageSize in interface DestinationMBeanpublic void setPageSize(int pageSize)
setPageSize in interface DestinationMBeanpageSize - the paging sizepublic int getDownCacheSize()
getDownCacheSize in interface DestinationMBeanpublic void setDownCacheSize(int downCacheSize)
setDownCacheSize in interface DestinationMBeandownCacheSize - the cache sizepublic boolean isClustered()
isClustered in interface DestinationMBeanpublic void setClustered(boolean clustered)
setClustered in interface DestinationMBeanpublic boolean isCreatedProgrammatically()
isCreatedProgrammatically in interface DestinationMBeanpublic int getMessageCounterHistoryDayLimit()
getMessageCounterHistoryDayLimit in interface DestinationMBean
public void setMessageCounterHistoryDayLimit(int limit)
throws java.lang.Exception
setMessageCounterHistoryDayLimit in interface DestinationMBeanjava.lang.Exception
public abstract void removeAllMessages()
throws java.lang.Exception
removeAllMessages in interface DestinationMBeanjava.lang.Exceptionpublic java.lang.String toString()
protected java.lang.String listMessageCounterAsHTML(MessageCounter[] counters)
protected java.lang.String listMessageCounterHistoryAsHTML(MessageCounter[] counters)
protected abstract boolean isQueue()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||