|
|||||||||||
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 ChannelMapper |
cm
|
protected DestinationManager |
dm
|
protected java.lang.String |
jndiName
|
protected java.lang.String |
name
|
protected org.w3c.dom.Element |
securityConfig
|
protected ObjectName |
serverPeerObjectName
|
protected SecurityManager |
sm
|
protected boolean |
started
|
Constructor Summary | |
DestinationServiceSupport(boolean createdProgrammatically)
|
Method Summary | |
int |
getDownCacheSize()
Get write-cache size |
int |
getFullSize()
Get in-memory message limit |
java.lang.String |
getJNDIName()
|
java.lang.String |
getName()
|
int |
getPageSize()
Get paging size |
org.w3c.dom.Element |
getSecurityConfig()
|
ObjectName |
getServerPeer()
|
boolean |
isCreatedProgrammatically()
|
protected abstract boolean |
isQueue()
|
void |
setDownCacheSize(int downCacheSize)
Set write-cache size when destination is stopped. |
void |
setFullSize(int fullSize)
Set in-memory message limit when destination is stopped. |
void |
setJNDIName(java.lang.String jndiName)
|
void |
setPageSize(int pageSize)
Set paging size when destination is stopped. |
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 ObjectName serverPeerObjectName
protected DestinationManager dm
protected ChannelMapper cm
protected SecurityManager sm
protected org.w3c.dom.Element securityConfig
protected java.lang.String name
protected java.lang.String jndiName
protected boolean started
Constructor Detail |
public DestinationServiceSupport(boolean createdProgrammatically)
Method Detail |
public void startService() throws java.lang.Exception
java.lang.Exception
public void stopService() throws java.lang.Exception
java.lang.Exception
public java.lang.String getJNDIName()
public void setJNDIName(java.lang.String jndiName)
public void setServerPeer(ObjectName on)
public ObjectName getServerPeer()
public void setSecurityConfig(org.w3c.dom.Element securityConfig) throws java.lang.Exception
java.lang.Exception
public org.w3c.dom.Element getSecurityConfig()
public java.lang.String getName()
public boolean isCreatedProgrammatically()
public int getFullSize()
public void setFullSize(int fullSize)
fullSize
- the message limitpublic int getPageSize()
public void setPageSize(int pageSize)
pageSize
- the paging sizepublic int getDownCacheSize()
public void setDownCacheSize(int downCacheSize)
downCacheSize
- the cache sizepublic java.lang.String toString()
protected abstract boolean isQueue()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |