org.jboss.test.jmsra.bean
Class PublisherCMPBean
java.lang.Object
org.jboss.test.util.ejb.EnterpriseSupport (src)
org.jboss.test.util.ejb.EntitySupport (src)
org.jboss.test.jmsra.bean.PublisherCMPBean
- All Implemented Interfaces:
- EnterpriseBean (src) , EntityBean (src) , java.io.Serializable
- public class PublisherCMPBean
- extends EntitySupport (src)
3rdparty bean to help test JMS RA transactions.
Created: Tue Apr 24 22:32:41 2001
- See Also:
- Serialized Form
|
Field Summary |
java.lang.Integer |
nr
|
|
Method Summary |
java.lang.Integer |
ejbCreate(java.lang.Integer nr)
|
void |
ejbLoad()
A container invokes this method to instruct the instance to synchronize its state by loading
it state from the underlying database. |
void |
ejbPostCreate(java.lang.Integer nr)
|
void |
error(int nr)
|
java.lang.Integer |
getNr()
|
void |
ok(int nr)
|
void |
setNr(java.lang.Integer nr)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nr
public java.lang.Integer nr
PublisherCMPBean
public PublisherCMPBean()
getNr
public java.lang.Integer getNr()
setNr
public void setNr(java.lang.Integer nr)
ok
public void ok(int nr)
error
public void error(int nr)
ejbCreate
public java.lang.Integer ejbCreate(java.lang.Integer nr)
throws CreateException (src)
- Throws:
CreateException (src)
ejbPostCreate
public void ejbPostCreate(java.lang.Integer nr)
throws CreateException (src)
- Throws:
CreateException (src)
ejbLoad
public void ejbLoad()
- Description copied from interface:
EntityBean (src)
A container invokes this method to instruct the instance to synchronize its state by loading
it state from the underlying database.
This method always executes in the transaction context determined by the value of the transaction
attribute in the deployment descriptor.
- Specified by:
ejbLoad in interface EntityBean (src) - Overrides:
ejbLoad in class EntitySupport (src)