org.jboss.ejb3.mdb
Class RemoteProducerFactory

java.lang.Object
  extended by org.jboss.ejb3.mdb.ProducerFactory
      extended by org.jboss.ejb3.mdb.RemoteProducerFactory
All Implemented Interfaces:
ProxyFactory

public class RemoteProducerFactory
extends ProducerFactory

comment

Author:
Bill Burke

Field Summary
protected  javax.jms.ConnectionFactory factory
           
 
Fields inherited from class org.jboss.ejb3.mdb.ProducerFactory
ctx, dest, initialContextProperties, jndiName, methodMap, pImpl, producer, props, PROXY_FACTORY_NAME
 
Constructor Summary
RemoteProducerFactory(ConsumerContainer container, Class producer, org.jboss.ejb3.annotation.MessageProperties props, javax.jms.Destination dest, InitialContext ctx, Hashtable initialContextProperties)
           
 
Method Summary
 Object createProxyBusiness()
          Create an EJB3 Business proxy with no specific target business interface
 void setContainer(Container container)
           
 void start()
          Lifecycle Start
 void stop()
          Lifecycle Stop
 
Methods inherited from class org.jboss.ejb3.mdb.ProducerFactory
createHomeProxy, createProxyBusiness
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

protected javax.jms.ConnectionFactory factory
Constructor Detail

RemoteProducerFactory

public RemoteProducerFactory(ConsumerContainer container,
                             Class producer,
                             org.jboss.ejb3.annotation.MessageProperties props,
                             javax.jms.Destination dest,
                             InitialContext ctx,
                             Hashtable initialContextProperties)
Method Detail

setContainer

public void setContainer(Container container)
Overrides:
setContainer in class ProducerFactory

createProxyBusiness

public Object createProxyBusiness()
Description copied from interface: ProxyFactory
Create an EJB3 Business proxy with no specific target business interface

Returns:

start

public void start()
           throws Exception
Description copied from interface: ProxyFactory
Lifecycle Start

Specified by:
start in interface ProxyFactory
Overrides:
start in class ProducerFactory
Throws:
Exception

stop

public void stop()
          throws Exception
Description copied from interface: ProxyFactory
Lifecycle Stop

Specified by:
stop in interface ProxyFactory
Overrides:
stop in class ProducerFactory
Throws:
Exception


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