org.jboss.ejb3.mdb
Class LocalProducerFactory

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

public class LocalProducerFactory
extends ProducerFactory

comment

Author:
Bill Burke

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

Field Detail

factoryName

protected String factoryName
Constructor Detail

LocalProducerFactory

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

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 © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.