org.jboss.ejb3.mdb
Class ProducerFactory
java.lang.Object
org.jboss.ejb3.mdb.ProducerFactory
- All Implemented Interfaces:
- ProxyFactory
- Direct Known Subclasses:
- LocalProducerFactory, RemoteProducerFactory
public abstract class ProducerFactory
- extends java.lang.Object
- implements ProxyFactory
comment
|
Field Summary |
protected javax.naming.InitialContext |
ctx
|
protected javax.jms.Destination |
dest
|
protected java.util.Hashtable<?,?> |
initialContextProperties
|
protected java.lang.String |
jndiName
|
protected java.util.HashMap<?,?> |
methodMap
|
protected org.jboss.ejb3.annotation.impl.ProducerImpl |
pImpl
|
protected java.lang.Class<?> |
producer
|
protected org.jboss.ejb3.annotation.MessageProperties |
props
|
static java.lang.String |
PROXY_FACTORY_NAME
|
|
Constructor Summary |
protected |
ProducerFactory(ConsumerContainer container,
java.lang.Class<?> producer,
org.jboss.ejb3.annotation.MessageProperties props,
javax.jms.Destination dest,
javax.naming.InitialContext ctx,
java.util.Hashtable<?,?> ctxProperties)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
producer
protected java.lang.Class<?> producer
props
protected org.jboss.ejb3.annotation.MessageProperties props
dest
protected javax.jms.Destination dest
methodMap
protected java.util.HashMap<?,?> methodMap
pImpl
protected org.jboss.ejb3.annotation.impl.ProducerImpl pImpl
jndiName
protected java.lang.String jndiName
ctx
protected javax.naming.InitialContext ctx
initialContextProperties
protected java.util.Hashtable<?,?> initialContextProperties
PROXY_FACTORY_NAME
public static final java.lang.String PROXY_FACTORY_NAME
- See Also:
- Constant Field Values
ProducerFactory
protected ProducerFactory(ConsumerContainer container,
java.lang.Class<?> producer,
org.jboss.ejb3.annotation.MessageProperties props,
javax.jms.Destination dest,
javax.naming.InitialContext ctx,
java.util.Hashtable<?,?> ctxProperties)
createHomeProxy
public java.lang.Object createHomeProxy()
- Description copied from interface:
ProxyFactory
- Create an EJB 2.1 Home Proxy
- Specified by:
createHomeProxy in interface ProxyFactory
- Returns:
createProxyBusiness
public java.lang.Object createProxyBusiness(java.lang.Object id)
setContainer
public void setContainer(Container container)
start
public void start()
throws java.lang.Exception
- Description copied from interface:
ProxyFactory
- Lifecycle Start
- Specified by:
start in interface ProxyFactory
- Throws:
java.lang.Exception
stop
public void stop()
throws java.lang.Exception
- Description copied from interface:
ProxyFactory
- Lifecycle Stop
- Specified by:
stop in interface ProxyFactory
- Throws:
java.lang.Exception