|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory
public class JBossMessageEndpointFactory
EJBProxyFactory for inflow message driven beans
| Field Summary | |
|---|---|
protected java.lang.String[] |
activationSig
The signature for activate/deactivateEndpint |
protected javax.resource.spi.ActivationSpec |
activationSpec
The activation spec |
protected MessagingContainer |
container
Our container |
protected java.lang.String[] |
createActivationSpecSig
The signature for createActivationSpec |
protected java.lang.Class[] |
interfaces
The interfaces |
protected java.lang.Class<?> |
messagingTypeClass
The messaging type class |
protected java.util.Map<java.lang.String,org.jboss.metadata.ActivationConfigPropertyMetaData> |
properties
The activation properties |
protected java.lang.String |
resourceAdapterName
The resource adapter name |
protected javax.management.ObjectName |
resourceAdapterObjectName
|
protected boolean |
trace
Whether trace is enabled |
| Constructor Summary | |
|---|---|
JBossMessageEndpointFactory()
|
|
| Method Summary | |
|---|---|
void |
activate()
Activate |
protected void |
createActivationSpec()
Create the activation spec |
javax.resource.spi.endpoint.MessageEndpoint |
createEndpoint(javax.transaction.xa.XAResource resource)
|
protected javax.resource.spi.endpoint.MessageEndpoint |
createProxy(javax.transaction.xa.XAResource resource)
|
void |
deactivate()
Deactivate |
MessagingContainer |
getContainer()
Get the message driven container |
boolean |
isDeliveryActive()
|
boolean |
isDeliveryTransacted(java.lang.reflect.Method method)
|
protected void |
resolveMessageListener()
Resolve message listener class |
protected void |
resolveResourceAdapter()
|
protected void |
resolveResourceAdapterName()
Resolve the resource adapter name |
void |
setContainer(Container container)
Set the container for which this is an invoker to. |
void |
start()
|
void |
stop()
|
java.lang.String |
toString()
Return a string representation of the current config state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected boolean trace
protected MessagingContainer container
protected java.util.Map<java.lang.String,org.jboss.metadata.ActivationConfigPropertyMetaData> properties
protected java.lang.Class<?> messagingTypeClass
protected java.lang.String resourceAdapterName
protected javax.management.ObjectName resourceAdapterObjectName
protected javax.resource.spi.ActivationSpec activationSpec
protected java.lang.Class[] interfaces
protected java.lang.String[] createActivationSpecSig
protected java.lang.String[] activationSig
| Constructor Detail |
|---|
public JBossMessageEndpointFactory()
| Method Detail |
|---|
public MessagingContainer getContainer()
public javax.resource.spi.endpoint.MessageEndpoint createEndpoint(javax.transaction.xa.XAResource resource)
throws javax.resource.spi.UnavailableException
createEndpoint in interface javax.resource.spi.endpoint.MessageEndpointFactoryjavax.resource.spi.UnavailableExceptionprotected javax.resource.spi.endpoint.MessageEndpoint createProxy(javax.transaction.xa.XAResource resource)
public boolean isDeliveryActive()
public boolean isDeliveryTransacted(java.lang.reflect.Method method)
throws java.lang.NoSuchMethodException
isDeliveryTransacted in interface javax.resource.spi.endpoint.MessageEndpointFactoryjava.lang.NoSuchMethodException
public void start()
throws java.lang.Exception
java.lang.Exception
public void stop()
throws java.lang.Exception
java.lang.Exceptionpublic void setContainer(Container container)
container - The container for which this is an invoker to.public java.lang.String toString()
toString in class java.lang.Object
protected void resolveMessageListener()
throws org.jboss.deployers.spi.DeploymentException
org.jboss.deployers.spi.DeploymentException - for any error
protected void resolveResourceAdapterName()
throws org.jboss.deployers.spi.DeploymentException
org.jboss.deployers.spi.DeploymentException - for any errorprotected void resolveResourceAdapter()
protected void createActivationSpec()
throws org.jboss.deployers.spi.DeploymentException
org.jboss.deployers.spi.DeploymentException - for any error
public void activate()
throws org.jboss.deployers.spi.DeploymentException
org.jboss.deployers.spi.DeploymentException - for any errorpublic void deactivate()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||