|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory
EJBProxyFactory for inflow message driven beans
Nested Class Summary |
Nested classes inherited from class org.jboss.ejb.GenericEntityObjectFactory (src) |
GenericEntityObjectFactory.UTIL (src) |
Field Summary | |
protected java.lang.String[] |
activationSig
The signature for activate/deactivateEndpint |
protected ActivationSpec (src) |
activationSpec
The activation spec |
protected MessageDrivenContainer (src) |
container
Our container |
protected java.lang.String[] |
createActivationSpecSig
The signature for createActivationSpec |
protected java.util.ArrayList |
interceptors
The interceptors |
protected java.lang.Class[] |
interfaces
The interfaces |
protected java.lang.String |
invokerBinding
The invoker binding |
protected InvokerProxyBindingMetaData (src) |
invokerMetaData
The invoker meta data |
protected java.lang.Class |
messagingTypeClass
The messaging type class |
protected MessageDrivenMetaData (src) |
metaData
Our meta data |
protected SynchronizedInt |
nextProxyId
The next proxy id |
protected java.util.HashMap |
properties
The activation properties |
protected GenericProxyFactory (src) |
proxyFactory
The proxy factory |
protected java.lang.String |
resourceAdapterName
The resource adapter name |
protected ObjectName (src) |
resourceAdapterObjectName
The resource adapter object name |
protected boolean |
trace
Whether trace is enabled |
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src) |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean (src) |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary | |
JBossMessageEndpointFactory()
|
Method Summary | |
protected void |
activate()
Activate |
protected void |
augmentActivationConfigProperties()
Add activation config properties |
protected void |
createActivationSpec()
Create the activation spec |
MessageEndpoint (src) |
createEndpoint(XAResource (src) resource)
Creates a message endpoint |
protected void |
deactivate()
Deactivate |
java.lang.String |
getConfig()
Display the configuration |
MessageDrivenContainer (src) |
getContainer()
Get the message driven container |
java.lang.Object |
getEJBHome()
This method is called whenever the EJBHome implementation for this container is needed. |
EJBMetaData (src) |
getEJBMetaData()
This method is called whenever the metadata for this container is needed. |
java.util.Collection |
getEntityCollection(java.util.Collection enum)
This method is called whenever a collection of EJBObjects for a collection of primary keys is needed. |
java.lang.Object |
getEntityEJBObject(java.lang.Object id)
This method is called whenever an EJBObject implementation for an entitybean is needed. |
java.lang.Object |
getStatefulSessionEJBObject(java.lang.Object id)
This method is called whenever an EJBObject implementation for a stateful session bean is needed. |
java.lang.Object |
getStatelessSessionEJBObject()
This method is called whenever an EJBObject implementation for a stateless session bean is needed. |
boolean |
isDeliveryTransacted(java.lang.reflect.Method method)
Tests whether the delivery is transactional for the given method |
boolean |
isIdentical(Container (src) container,
Invocation (src) mi)
Protocol specific isIdentical implementation |
protected void |
resolveMessageListener()
Resolve message listener class |
protected void |
resolveResourceAdapter()
Resolve the resource adapter |
protected java.lang.String |
resolveResourceAdapterName()
Resolve the resource adapter name |
void |
setContainer(Container (src) container)
Set the container for which this is an invoker to. |
void |
setInvokerBinding(java.lang.String binding)
Set the invoker jndi binding |
void |
setInvokerMetaData(InvokerProxyBindingMetaData (src) imd)
Set the invoker meta data so that the ProxyFactory can initialize properly |
protected void |
setupProxyParameters()
Set up the proxy parametrs |
protected void |
startService()
Sub-classes should override this method to provide custum 'start' logic. |
protected void |
stopService()
Sub-classes should override this method to provide custum 'stop' logic. |
java.lang.String |
toString()
Return a string representation of the current config state. |
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport (src) |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jboss.system.Service (src) |
create, destroy, start, stop |
Field Detail |
protected boolean trace
protected MessageDrivenContainer (src) container
protected MessageDrivenMetaData (src) metaData
protected java.lang.String invokerBinding
protected InvokerProxyBindingMetaData (src) invokerMetaData
protected java.util.HashMap properties
protected GenericProxyFactory (src) proxyFactory
protected java.lang.Class messagingTypeClass
protected java.lang.String resourceAdapterName
protected ObjectName (src) resourceAdapterObjectName
protected ActivationSpec (src) activationSpec
protected java.util.ArrayList interceptors
protected java.lang.Class[] interfaces
protected SynchronizedInt nextProxyId
protected java.lang.String[] createActivationSpecSig
protected java.lang.String[] activationSig
Constructor Detail |
public JBossMessageEndpointFactory()
Method Detail |
public MessageDrivenContainer (src) getContainer()
public java.lang.String getConfig()
public MessageEndpoint (src) createEndpoint(XAResource (src) resource) throws UnavailableException (src)
MessageEndpointFactory (src)
createEndpoint
in interface MessageEndpointFactory (src)
resource
- the xa resource
UnavailableException (src)
- a transient failure in the endpointpublic boolean isDeliveryTransacted(java.lang.reflect.Method method) throws java.lang.NoSuchMethodException
MessageEndpointFactory (src)
isDeliveryTransacted
in interface MessageEndpointFactory (src)
method
- the method to test
java.lang.NoSuchMethodException
- if there is no such method for the endpointprotected void startService() throws java.lang.Exception
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
startService
in class ServiceMBeanSupport (src)
java.lang.Exception
protected void stopService() throws java.lang.Exception
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
stopService
in class ServiceMBeanSupport (src)
java.lang.Exception
public boolean isIdentical(Container (src) container, Invocation (src) mi)
EJBProxyFactory (src)
isIdentical
in interface EJBProxyFactory (src)
container
- the containermi
- the invocation
public java.lang.Object getEJBHome()
EJBProxyFactory (src)
getEJBHome
in interface EJBProxyFactory (src)
public EJBMetaData (src) getEJBMetaData()
EJBProxyFactory (src)
getEJBMetaData
in interface EJBProxyFactory (src)
public java.util.Collection getEntityCollection(java.util.Collection enum)
EJBProxyFactory (src)
getEntityCollection
in interface EJBProxyFactory (src)
enum
- Enumeration of primary keys.
public java.lang.Object getEntityEJBObject(java.lang.Object id)
EJBProxyFactory (src)
getEntityEJBObject
in interface EJBProxyFactory (src)
id
- The primary key of the entity.
public java.lang.Object getStatefulSessionEJBObject(java.lang.Object id)
EJBProxyFactory (src)
getStatefulSessionEJBObject
in interface EJBProxyFactory (src)
id
- The id of the session.
public java.lang.Object getStatelessSessionEJBObject()
EJBProxyFactory (src)
getStatelessSessionEJBObject
in interface EJBProxyFactory (src)
public void setInvokerBinding(java.lang.String binding)
EJBProxyFactory (src)
setInvokerBinding
in interface EJBProxyFactory (src)
public void setInvokerMetaData(InvokerProxyBindingMetaData (src) imd)
EJBProxyFactory (src)
setInvokerMetaData
in interface EJBProxyFactory (src)
public void setContainer(Container (src) container)
setContainer
in interface ContainerPlugin (src)
container
- The container for which this is an invoker to.public java.lang.String toString()
protected void resolveMessageListener() throws DeploymentException (src)
DeploymentException (src)
- for any errorprotected java.lang.String resolveResourceAdapterName() throws DeploymentException (src)
DeploymentException (src)
- for any errorprotected void resolveResourceAdapter() throws DeploymentException (src)
DeploymentException (src)
- for any errorprotected void setupProxyParameters() throws DeploymentException (src)
DeploymentException (src)
protected void augmentActivationConfigProperties() throws DeploymentException (src)
DeploymentException (src)
- for any errorprotected void createActivationSpec() throws DeploymentException (src)
DeploymentException (src)
- for any errorprotected void activate() throws DeploymentException (src)
DeploymentException (src)
- for any errorprotected void deactivate()
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |