|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ServiceMBeanSupport org.jboss.jms.server.destination.DestinationServiceSupport
public abstract class 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 int |
nodeId
|
protected ServerPeer |
serverPeer
|
protected boolean |
started
|
Constructor Summary | |
---|---|
DestinationServiceSupport()
|
|
DestinationServiceSupport(boolean createdProgrammatically)
|
Method Summary | |
---|---|
javax.management.ObjectName |
getDLQ()
|
int |
getDownCacheSize()
Get write-cache size |
javax.management.ObjectName |
getExpiryQueue()
|
int |
getFullSize()
Get in-memory message limit |
MessagingComponent |
getInstance()
|
java.lang.String |
getJNDIName()
|
int |
getMaxDeliveryAttempts()
|
int |
getMaxSize()
|
int |
getMessageCounterHistoryDayLimit()
|
java.lang.String |
getName()
|
int |
getPageSize()
Get paging size |
long |
getRedeliveryDelay()
|
org.w3c.dom.Element |
getSecurityConfig()
|
javax.management.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(javax.management.ObjectName on)
|
void |
setDownCacheSize(int downCacheSize)
Set write-cache size when destination is stopped. |
void |
setExpiryQueue(javax.management.ObjectName on)
|
void |
setFullSize(int fullSize)
Set in-memory message limit when destination is stopped. |
void |
setJNDIName(java.lang.String jndiName)
|
void |
setMaxDeliveryAttempts(int maxDeliveryAttempts)
|
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(javax.management.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 ServerPeer serverPeer
protected int nodeId
Constructor Detail |
---|
public DestinationServiceSupport(boolean createdProgrammatically)
public DestinationServiceSupport()
Method Detail |
---|
public MessagingComponent getInstance()
public void startService() throws java.lang.Exception
java.lang.Exception
public void stopService() throws java.lang.Exception
java.lang.Exception
public java.lang.String getName()
getName
in interface DestinationMBean
public java.lang.String getJNDIName()
getJNDIName
in interface DestinationMBean
public void setJNDIName(java.lang.String jndiName) throws java.lang.Exception
setJNDIName
in interface DestinationMBean
java.lang.Exception
public void setServerPeer(javax.management.ObjectName on)
setServerPeer
in interface DestinationMBean
public javax.management.ObjectName getServerPeer()
getServerPeer
in interface DestinationMBean
public void setDLQ(javax.management.ObjectName on) throws java.lang.Exception
setDLQ
in interface DestinationMBean
java.lang.Exception
public javax.management.ObjectName getDLQ()
getDLQ
in interface DestinationMBean
public void setExpiryQueue(javax.management.ObjectName on) throws java.lang.Exception
setExpiryQueue
in interface DestinationMBean
java.lang.Exception
public javax.management.ObjectName getExpiryQueue()
getExpiryQueue
in interface DestinationMBean
public long getRedeliveryDelay()
getRedeliveryDelay
in interface DestinationMBean
public void setRedeliveryDelay(long delay)
setRedeliveryDelay
in interface DestinationMBean
public int getMaxSize()
getMaxSize
in interface DestinationMBean
public void setMaxSize(int maxSize) throws java.lang.Exception
setMaxSize
in interface DestinationMBean
java.lang.Exception
public org.w3c.dom.Element getSecurityConfig()
getSecurityConfig
in interface DestinationMBean
public void setSecurityConfig(org.w3c.dom.Element securityConfig) throws java.lang.Exception
setSecurityConfig
in interface DestinationMBean
java.lang.Exception
public int getFullSize()
getFullSize
in interface DestinationMBean
public void setFullSize(int fullSize)
setFullSize
in interface DestinationMBean
fullSize
- the message limitpublic int getPageSize()
getPageSize
in interface DestinationMBean
public void setPageSize(int pageSize)
setPageSize
in interface DestinationMBean
pageSize
- the paging sizepublic int getDownCacheSize()
getDownCacheSize
in interface DestinationMBean
public void setDownCacheSize(int downCacheSize)
setDownCacheSize
in interface DestinationMBean
downCacheSize
- the cache sizepublic boolean isClustered()
isClustered
in interface DestinationMBean
public void setClustered(boolean clustered)
setClustered
in interface DestinationMBean
public boolean isCreatedProgrammatically()
isCreatedProgrammatically
in interface DestinationMBean
public int getMessageCounterHistoryDayLimit()
getMessageCounterHistoryDayLimit
in interface DestinationMBean
public void setMessageCounterHistoryDayLimit(int limit) throws java.lang.Exception
setMessageCounterHistoryDayLimit
in interface DestinationMBean
java.lang.Exception
public int getMaxDeliveryAttempts()
getMaxDeliveryAttempts
in interface DestinationMBean
public void setMaxDeliveryAttempts(int maxDeliveryAttempts)
setMaxDeliveryAttempts
in interface DestinationMBean
public abstract void removeAllMessages() throws java.lang.Exception
removeAllMessages
in interface DestinationMBean
java.lang.Exception
public 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 |