org.apache.openejb.test.mdb
Class FieldInjectionMdbBean

java.lang.Object
  extended by org.apache.openejb.test.mdb.FieldInjectionMdbBean
All Implemented Interfaces:
java.io.Serializable, javax.ejb.EnterpriseBean, javax.ejb.MessageDrivenBean, javax.jms.MessageListener, EncMdbObject

public class FieldInjectionMdbBean
extends java.lang.Object
implements EncMdbObject, javax.ejb.MessageDrivenBean, javax.jms.MessageListener

Author:
David Blevins, Richard Monson-Haefel
See Also:
Serialized Form

Constructor Summary
FieldInjectionMdbBean()
           
 
Method Summary
 void ejbCreate()
           
 void ejbRemove()
           
 void lookupBooleanEntry()
           
 void lookupByteEntry()
           
 void lookupCharacterEntry()
           
 void lookupDoubleEntry()
           
 void lookupEntityBean()
           
 void lookupFloatEntry()
           
 void lookupIntegerEntry()
           
 void lookupJMSConnectionFactory()
           
 void lookupLongEntry()
           
 void lookupMessageDrivenContext()
           
 void lookupPersistenceContext()
           
 void lookupPersistenceUnit()
           
 void lookupResource()
           
 void lookupShortEntry()
           
 void lookupStatefulBean()
           
 void lookupStatefulBusinessLocal()
           
 void lookupStatefulBusinessRemote()
           
 void lookupStatelessBean()
           
 void lookupStatelessBusinessLocal()
           
 void lookupStatelessBusinessRemote()
           
 void lookupStringEntry()
           
 void onMessage(javax.jms.Message message)
           
 void setMessageDrivenContext(javax.ejb.MessageDrivenContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldInjectionMdbBean

public FieldInjectionMdbBean()
Method Detail

setMessageDrivenContext

public void setMessageDrivenContext(javax.ejb.MessageDrivenContext ctx)
                             throws javax.ejb.EJBException
Specified by:
setMessageDrivenContext in interface javax.ejb.MessageDrivenBean
Throws:
javax.ejb.EJBException

onMessage

public void onMessage(javax.jms.Message message)
Specified by:
onMessage in interface javax.jms.MessageListener

ejbCreate

public void ejbCreate()
               throws javax.ejb.CreateException
Throws:
javax.ejb.CreateException

lookupEntityBean

public void lookupEntityBean()
                      throws TestFailureException
Specified by:
lookupEntityBean in interface EncMdbObject
Throws:
TestFailureException

lookupStatefulBean

public void lookupStatefulBean()
                        throws TestFailureException
Specified by:
lookupStatefulBean in interface EncMdbObject
Throws:
TestFailureException

lookupStatelessBean

public void lookupStatelessBean()
                         throws TestFailureException
Specified by:
lookupStatelessBean in interface EncMdbObject
Throws:
TestFailureException

lookupStatelessBusinessLocal

public void lookupStatelessBusinessLocal()
                                  throws TestFailureException
Specified by:
lookupStatelessBusinessLocal in interface EncMdbObject
Throws:
TestFailureException

lookupStatelessBusinessRemote

public void lookupStatelessBusinessRemote()
                                   throws TestFailureException
Specified by:
lookupStatelessBusinessRemote in interface EncMdbObject
Throws:
TestFailureException

lookupStatefulBusinessLocal

public void lookupStatefulBusinessLocal()
                                 throws TestFailureException
Specified by:
lookupStatefulBusinessLocal in interface EncMdbObject
Throws:
TestFailureException

lookupStatefulBusinessRemote

public void lookupStatefulBusinessRemote()
                                  throws TestFailureException
Specified by:
lookupStatefulBusinessRemote in interface EncMdbObject
Throws:
TestFailureException

lookupStringEntry

public void lookupStringEntry()
                       throws TestFailureException
Specified by:
lookupStringEntry in interface EncMdbObject
Throws:
TestFailureException

lookupDoubleEntry

public void lookupDoubleEntry()
                       throws TestFailureException
Specified by:
lookupDoubleEntry in interface EncMdbObject
Throws:
TestFailureException

lookupLongEntry

public void lookupLongEntry()
                     throws TestFailureException
Specified by:
lookupLongEntry in interface EncMdbObject
Throws:
TestFailureException

lookupFloatEntry

public void lookupFloatEntry()
                      throws TestFailureException
Specified by:
lookupFloatEntry in interface EncMdbObject
Throws:
TestFailureException

lookupIntegerEntry

public void lookupIntegerEntry()
                        throws TestFailureException
Specified by:
lookupIntegerEntry in interface EncMdbObject
Throws:
TestFailureException

lookupShortEntry

public void lookupShortEntry()
                      throws TestFailureException
Specified by:
lookupShortEntry in interface EncMdbObject
Throws:
TestFailureException

lookupBooleanEntry

public void lookupBooleanEntry()
                        throws TestFailureException
Specified by:
lookupBooleanEntry in interface EncMdbObject
Throws:
TestFailureException

lookupByteEntry

public void lookupByteEntry()
                     throws TestFailureException
Specified by:
lookupByteEntry in interface EncMdbObject
Throws:
TestFailureException

lookupCharacterEntry

public void lookupCharacterEntry()
                          throws TestFailureException
Specified by:
lookupCharacterEntry in interface EncMdbObject
Throws:
TestFailureException

lookupResource

public void lookupResource()
                    throws TestFailureException
Specified by:
lookupResource in interface EncMdbObject
Throws:
TestFailureException

lookupJMSConnectionFactory

public void lookupJMSConnectionFactory()
                                throws TestFailureException
Specified by:
lookupJMSConnectionFactory in interface EncMdbObject
Throws:
TestFailureException

lookupPersistenceUnit

public void lookupPersistenceUnit()
                           throws TestFailureException
Specified by:
lookupPersistenceUnit in interface EncMdbObject
Throws:
TestFailureException

lookupPersistenceContext

public void lookupPersistenceContext()
                              throws TestFailureException
Specified by:
lookupPersistenceContext in interface EncMdbObject
Throws:
TestFailureException

lookupMessageDrivenContext

public void lookupMessageDrivenContext()
                                throws TestFailureException
Specified by:
lookupMessageDrivenContext in interface EncMdbObject
Throws:
TestFailureException

ejbRemove

public void ejbRemove()
               throws javax.ejb.EJBException
Specified by:
ejbRemove in interface javax.ejb.MessageDrivenBean
Throws:
javax.ejb.EJBException


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.