|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mq.MessagePool
This class provides a pool of SpyMessages. This is an very simple implementation first up.
Constructor Summary | |
MessagePool()
|
Method Summary | |
static SpyBytesMessage |
getBytesMessage()
Gets a bytes message. |
static SpyEncapsulatedMessage |
getEncapsulatedMessage()
Gets a encapsulated message. |
static SpyMapMessage |
getMapMessage()
Gets a map message |
static SpyMessage |
getMessage()
Gets a message |
static SpyObjectMessage |
getObjectMessage()
Gets an object message. |
static SpyStreamMessage |
getStreamMessage()
Gets a stream message. |
static SpyTextMessage |
getTextMessage()
Gets a text message. |
static void |
releaseMessage(SpyMessage message)
Releases a SpyMessage. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MessagePool()
Method Detail |
public static SpyMessage getMessage()
public static SpyBytesMessage getBytesMessage()
public static SpyMapMessage getMapMessage()
public static SpyStreamMessage getStreamMessage()
public static SpyObjectMessage getObjectMessage()
public static SpyTextMessage getTextMessage()
public static SpyEncapsulatedMessage getEncapsulatedMessage()
public static void releaseMessage(SpyMessage message)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |