|
||||||||||
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 String[] |
activationSig
The signature for activate/deactivateEndpint |
protected javax.resource.spi.ActivationSpec |
activationSpec
The activation spec |
protected MessagingContainer |
container
Our container |
protected String[] |
createActivationSpecSig
The signature for createActivationSpec |
protected Class[] |
interfaces
The interfaces |
protected Class<?> |
messagingTypeClass
The messaging type class |
protected Map<String,org.jboss.metadata.ActivationConfigPropertyMetaData> |
properties
The activation properties |
protected String |
resourceAdapterName
The resource adapter name |
protected 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(XAResource resource)
|
protected javax.resource.spi.endpoint.MessageEndpoint |
createProxy(XAResource resource)
|
void |
deactivate()
Deactivate |
MessagingContainer |
getContainer()
Get the message driven container |
boolean |
isDeliveryActive()
|
boolean |
isDeliveryTransacted(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()
|
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 Map<String,org.jboss.metadata.ActivationConfigPropertyMetaData> properties
protected Class<?> messagingTypeClass
protected String resourceAdapterName
protected ObjectName resourceAdapterObjectName
protected javax.resource.spi.ActivationSpec activationSpec
protected Class[] interfaces
protected String[] createActivationSpecSig
protected String[] activationSig
Constructor Detail |
---|
public JBossMessageEndpointFactory()
Method Detail |
---|
public MessagingContainer getContainer()
public javax.resource.spi.endpoint.MessageEndpoint createEndpoint(XAResource resource) throws javax.resource.spi.UnavailableException
createEndpoint
in interface javax.resource.spi.endpoint.MessageEndpointFactory
javax.resource.spi.UnavailableException
protected javax.resource.spi.endpoint.MessageEndpoint createProxy(XAResource resource)
public boolean isDeliveryActive()
public boolean isDeliveryTransacted(Method method) throws NoSuchMethodException
isDeliveryTransacted
in interface javax.resource.spi.endpoint.MessageEndpointFactory
NoSuchMethodException
public void start() throws Exception
Exception
public void stop() throws Exception
Exception
public void setContainer(Container container)
container
- The container for which this is an invoker to.public String toString()
toString
in class Object
protected void resolveMessageListener() throws org.jboss.deployers.spi.DeploymentException
org.jboss.deployers.spi.DeploymentException
- for any errorprotected 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 errorpublic 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 |