org.jboss.ejb.plugins.jms
Class JMSContainerInvoker

java.lang.Object
  extended by org.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended by org.jboss.system.ServiceMBeanSupport
          extended by org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory
              extended by org.jboss.ejb.plugins.inflow.JBossJMSMessageEndpointFactory
                  extended by org.jboss.ejb.plugins.jms.JMSContainerInvoker
All Implemented Interfaces:
MBeanRegistration, NotificationBroadcaster, NotificationEmitter, javax.resource.spi.endpoint.MessageEndpointFactory, AllowedOperationsFlags, ContainerPlugin, EJBProxyFactory, GenericEntityObjectFactory, JBossMessageEndpointFactoryMBean, JMSContainerInvokerMBean, org.jboss.kernel.spi.dependency.KernelControllerContextAware, Service, ServiceMBean

public class JMSContainerInvoker
extends JBossJMSMessageEndpointFactory
implements EJBProxyFactory, JMSContainerInvokerMBean

EJBProxyFactory for JMS MessageDrivenBeans

Version:
$Revision: 66023 $
Author:
Peter Antman ., Rickard Oberg, Sebastien Alborini, Marc Fleury, Jason Dillon, Adrian Brock

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.ejb.GenericEntityObjectFactory
GenericEntityObjectFactory.UTIL
 
Field Summary
 
Fields inherited from class org.jboss.ejb.plugins.inflow.JBossJMSMessageEndpointFactory
jmsra
 
Fields inherited from class org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory
activationSig, activationSpec, container, createActivationSpecSig, deliveryActive, interceptors, interfaces, invokerBinding, invokerMetaData, messagingTypeClass, metaData, nextProxyId, properties, proxyFactory, resourceAdapterName, resourceAdapterObjectName, trace
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.ejb.AllowedOperationsFlags
IN_AFTER_BEGIN, IN_AFTER_COMPLETION, IN_BEFORE_COMPLETION, IN_BUSINESS_METHOD, IN_EJB_ACTIVATE, IN_EJB_CREATE, IN_EJB_FIND, IN_EJB_HOME, IN_EJB_LOAD, IN_EJB_PASSIVATE, IN_EJB_POST_CREATE, IN_EJB_REMOVE, IN_EJB_STORE, IN_EJB_TIMEOUT, IN_INTERCEPTOR_METHOD, IN_SERVICE_ENDPOINT_METHOD, IN_SET_ENTITY_CONTEXT, IN_SET_MESSAGE_DRIVEN_CONTEXT, IN_SET_SESSION_CONTEXT, IN_UNSET_ENTITY_CONTEXT, NOT_ALLOWED
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Constructor Summary
JMSContainerInvoker()
           
 
Method Summary
 boolean getCreateJBossMQDestination()
          Get whether JBossMQ destinations should be constructed when the destination is not in JNDI
 long getKeepAliveMillis()
          Get the keep alive millis
 int getMaxMessages()
          Get the maximum number of messages
 int getMaxPoolSize()
          Get the maximum pool size
 org.jboss.metadata.MessageDrivenMetaData getMetaData()
          Get the message driven metadata
 int getMinPoolSize()
          Get the minimum pool size
 void setKeepAliveMillis(long keepAlive)
          Set the keep alive millis
 void setMaxMessages(int maxMessages)
          Set the maximum number of messages
 void setMaxPoolSize(int maxPoolSize)
          Set the maximum pool size
 void setMinPoolSize(int minPoolSize)
          Set the minimum pool size
protected  void setupProxyParameters()
          Set up the proxy parametrs
 
Methods inherited from class org.jboss.ejb.plugins.inflow.JBossJMSMessageEndpointFactory
augmentActivationConfigProperties, resolveMessageListener, resolveResourceAdapterName
 
Methods inherited from class org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory
activate, createActivationSpec, createEndpoint, deactivate, getConfig, getContainer, getDeliveryActive, getEJBHome, getEJBMetaData, getEntityCollection, getEntityEJBObject, getStatefulSessionEJBObject, getStatelessSessionEJBObject, isDeliveryTransacted, isIdentical, resolveResourceAdapter, setContainer, setDeliveryActive, setInvokerBinding, setInvokerMetaData, startDelivery, startService, stopDelivery, stopDelivery, stopService, toString
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, stop, unsetKernelControllerContext
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, 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.ejb.EJBProxyFactory
getEJBHome, getEJBMetaData, getEntityCollection, getEntityEJBObject, getStatefulSessionEJBObject, getStatelessSessionEJBObject, isIdentical, setInvokerBinding, setInvokerMetaData
 
Methods inherited from interface org.jboss.ejb.ContainerPlugin
setContainer
 
Methods inherited from interface org.jboss.ejb.plugins.jms.JMSContainerInvokerMBean
getDeliveryActive
 
Methods inherited from interface org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactoryMBean
getConfig, startDelivery, stopDelivery, stopDelivery
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Constructor Detail

JMSContainerInvoker

public JMSContainerInvoker()
Method Detail

setupProxyParameters

protected void setupProxyParameters()
                             throws DeploymentException
Description copied from class: JBossMessageEndpointFactory
Set up the proxy parametrs

Overrides:
setupProxyParameters in class JBossMessageEndpointFactory
Throws:
DeploymentException

getMetaData

public org.jboss.metadata.MessageDrivenMetaData getMetaData()
Description copied from interface: JMSContainerInvokerMBean
Get the message driven metadata

Specified by:
getMetaData in interface JMSContainerInvokerMBean
Returns:
the metadata

getCreateJBossMQDestination

public boolean getCreateJBossMQDestination()
Description copied from interface: JMSContainerInvokerMBean
Get whether JBossMQ destinations should be constructed when the destination is not in JNDI

Specified by:
getCreateJBossMQDestination in interface JMSContainerInvokerMBean
Returns:
true to create

getKeepAliveMillis

public long getKeepAliveMillis()
Description copied from interface: JMSContainerInvokerMBean
Get the keep alive millis

Specified by:
getKeepAliveMillis in interface JMSContainerInvokerMBean
Returns:
the milliseconds

getMaxMessages

public int getMaxMessages()
Description copied from interface: JMSContainerInvokerMBean
Get the maximum number of messages

Specified by:
getMaxMessages in interface JMSContainerInvokerMBean
Returns:
the number of messages

getMaxPoolSize

public int getMaxPoolSize()
Description copied from interface: JMSContainerInvokerMBean
Get the maximum pool size

Specified by:
getMaxPoolSize in interface JMSContainerInvokerMBean
Returns:
the maximum pool size

getMinPoolSize

public int getMinPoolSize()
Description copied from interface: JMSContainerInvokerMBean
Get the minimum pool size

Specified by:
getMinPoolSize in interface JMSContainerInvokerMBean
Returns:
the minimum pool size

setKeepAliveMillis

public void setKeepAliveMillis(long keepAlive)
Description copied from interface: JMSContainerInvokerMBean
Set the keep alive millis

Specified by:
setKeepAliveMillis in interface JMSContainerInvokerMBean
Parameters:
keepAlive - the milliseconds

setMaxMessages

public void setMaxMessages(int maxMessages)
Description copied from interface: JMSContainerInvokerMBean
Set the maximum number of messages

Specified by:
setMaxMessages in interface JMSContainerInvokerMBean
Parameters:
maxMessages - the number of messages

setMaxPoolSize

public void setMaxPoolSize(int maxPoolSize)
Description copied from interface: JMSContainerInvokerMBean
Set the maximum pool size

Specified by:
setMaxPoolSize in interface JMSContainerInvokerMBean
Parameters:
maxPoolSize - the size

setMinPoolSize

public void setMinPoolSize(int minPoolSize)
Description copied from interface: JMSContainerInvokerMBean
Set the minimum pool size

Specified by:
setMinPoolSize in interface JMSContainerInvokerMBean
Parameters:
minPoolSize - the size


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.