examples.ejb.extensions.readMostly
Class StockWriterBean
java.lang.Object
|
+--examples.ejb.extensions.readMostly.StockBean
|
+--examples.ejb.extensions.readMostly.StockWriterBean
- All Implemented Interfaces:
- javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable
- public class StockWriterBean
- extends StockBean
StockWriterBean is an EntityBean. This EJBean illustrates:
- Extending a read-only EJB to provide read-write capability.
- Author:
- Copyright (c) 1999-2000 by BEA Systems, Inc. All Rights Reserved.
Method Summary |
java.lang.String |
ejbCreate(java.lang.String symbol,
double price,
long volume)
|
void |
ejbPostCreate(java.lang.String symbol,
double price,
long volume)
|
void |
updateStock(double price,
long volume)
|
Methods inherited from class examples.ejb.extensions.readMostly.StockBean |
ejbActivate, ejbLoad, ejbPassivate, ejbRemove, ejbStore, get52weekHigh, get52weekLow, getPrice, getSymbol, getVolume, setEntityContext, unsetEntityContext |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StockWriterBean
public StockWriterBean()
ejbCreate
public java.lang.String ejbCreate(java.lang.String symbol,
double price,
long volume)
ejbPostCreate
public void ejbPostCreate(java.lang.String symbol,
double price,
long volume)
updateStock
public void updateStock(double price,
long volume)
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.