|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.enterprise.connectors.inbound.ConnectorMessageBeanClient
public final class ConnectorMessageBeanClient
Main helper implementation for message-beans associated with a queue. Uses connection consumer for concurrent message delivery.
| Constructor Summary | |
|---|---|
ConnectorMessageBeanClient(EjbMessageBeanDescriptor descriptor)
Creates an instance of ConnectorMessageBeanClient |
|
| Method Summary | |
|---|---|
void |
close()
Does endpoint deactivation with the resource adapter. |
MessageEndpoint |
createEndpoint(XAResource xa)
Creates a MessageEndpoint. |
MessageEndpoint |
createEndpoint(XAResource xaResource,
long timeout)
|
boolean |
isDeliveryTransacted(java.lang.reflect.Method method)
Checks whether the message delivery is transacted for the method. |
void |
setup(MessageBeanProtocolManager messageBeanPM)
Gets executed as part of message bean deployment. |
void |
start()
Marks the completion of MDB deployment. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectorMessageBeanClient(EjbMessageBeanDescriptor descriptor)
ConnectorMessageBeanClient
descriptor - EjbMessageBeanDescriptor object.| Method Detail |
|---|
public void setup(MessageBeanProtocolManager messageBeanPM)
throws java.lang.Exception
ActivationSpec javabean and does endpointfactory
activation with the resource adapter. This code also converts
all J2EE 1.3 MDB properties to MQ resource adapter activation
spec properties, if user doesnt specifies resource adapter
module name in sun-ejb-jar.xml of the MDB. This is done using
com.sun.enterprise.connector.system.ActiveJmsResourceAdapter
setup in interface MessageBeanClientmessageBeanPM - MessageBeanProtocolManager object.
java.lang.Exception
public void start()
throws java.lang.Exception
start in interface MessageBeanClientjava.lang.Exceptionpublic void close()
MessageEndpointFactoryInfo
from house keeping.
close in interface MessageBeanClient
public MessageEndpoint createEndpoint(XAResource xa)
throws UnavailableException
createEndpoint in interface MessageEndpointFactoryMessageEndpoint object.
UnavailableException - In case of any failure. This
should change.
UnavailableExceptionpublic boolean isDeliveryTransacted(java.lang.reflect.Method method)
isDeliveryTransacted in interface MessageEndpointFactorypublic java.lang.String toString()
toString in class java.lang.Object
public MessageEndpoint createEndpoint(XAResource xaResource,
long timeout)
throws UnavailableException
createEndpoint in interface MessageEndpointFactoryUnavailableException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||