|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageBeanProtocolManager
MessageBeanProtocolManager is implemented by the MessageBeanContainer and allows MessageBeanClients to create message bean listeners capable of receiving messages. Each MessageBeanListener logically represents a single message-driven bean instance, although there is no guarantee as to exactly when the container creates that instance. MessageBeanListeners are single-threaded. Each MessageBeanListener is held exclusively by a MessageBeanClient.
| Method Summary | |
|---|---|
MessageBeanListener |
createMessageBeanListener(ResourceHandle resourceHandle)
Create a MessageBeanListener. |
void |
destroyMessageBeanListener(MessageBeanListener listener)
Return the MessageBeanListener to the container. |
BeanPoolDescriptor |
getPoolDescriptor()
Returns the message-bean container's pool properties. |
boolean |
isDeliveryTransacted(Method method)
This is used by the message provider to find out whether message deliveries will be transacted or not. |
| Method Detail |
|---|
MessageBeanListener createMessageBeanListener(ResourceHandle resourceHandle)
throws ResourcesExceededException
resourceHandle - handle associated with this listener. can be null.
Exception - if the MessageBeanContainer was not able to create
the MessageBeanListener
ResourcesExceededExceptionvoid destroyMessageBeanListener(MessageBeanListener listener)
boolean isDeliveryTransacted(Method method)
method - One of the methods used to deliver messages, e.g.
onMessage method for javax.jms.MessageListener.
Note that if the method is not one
of the methods for message delivery, the behavior
of this method is not defined.BeanPoolDescriptor getPoolDescriptor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||