|
© 2002 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--examples.e2e.common.inventory.ref.InventoryProviderNoOpImpl
InventoryProviderNoOpImpl is a stateless Session Bean. This bean provides: the following services:
| Constructor Summary | |
InventoryProviderNoOpImpl()
Create an instance of InventoryProviderNoOpImpl. |
|
| Method Summary | |
int |
checkInventory(java.lang.String aProductSKU)
Checks the quantity in stock for a given product (sku) |
void |
ejbActivate()
This method is required by the EJB Specification, |
void |
ejbCreate()
This method corresponds to the create method in the home interface |
void |
ejbPassivate()
This method is required by the EJB Specification, |
void |
ejbRemove()
This method is required by the EJB Specification, |
java.util.List |
getProductInventory(java.util.List skus)
Returns a list of Inventory objects |
java.util.List |
getProductPartInventory(java.lang.String sku)
Returns a list of Inventory objects. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
Sets the session context. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public InventoryProviderNoOpImpl()
| Method Detail |
public int checkInventory(java.lang.String aProductSKU)
throws java.rmi.RemoteException,
java.lang.IllegalArgumentException,
ApplicationException
aProductSKU - sku (unique identifier for a given product)aProductSKU is nullpublic void ejbActivate()
public void ejbCreate()
throws javax.ejb.CreateException
public void ejbPassivate()
public void ejbRemove()
public void setSessionContext(javax.ejb.SessionContext ctx)
ctx - SessionContext Context for session
public java.util.List getProductInventory(java.util.List skus)
throws java.rmi.RemoteException,
java.lang.IllegalArgumentException,
ApplicationException
Inventory objects
skus is null or
of zero-length.
public java.util.List getProductPartInventory(java.lang.String sku)
throws java.rmi.RemoteException,
java.lang.IllegalArgumentException,
ApplicationException
Inventory objects. Each inventory object
represents a part for a product (referenced by one of the product SKUs contained
in the List passed).
aProductSKU - sku (unique identifier for a given product)sku is null
|
© 2002 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||