A B C D E F G I L M N P Q S T U W 
All Classes All Packages

A

addQuantity(int, int) - Method in class info.ejava.examples.ejb.tx.ejb.UpdateEJB
 
afterBegin() - Method in class info.ejava.examples.ejb.tx.ejb.TxWatcherEJB
 
afterCompletion(boolean) - Method in class info.ejava.examples.ejb.tx.ejb.TxWatcherEJB
 

B

beanA - Variable in class info.ejava.examples.ejb.tx.ejb.WarehouseFacadeEJB
 
beanB - Variable in class info.ejava.examples.ejb.tx.ejb.WarehouseFacadeEJB
 
beanC - Variable in class info.ejava.examples.ejb.tx.ejb.WarehouseFacadeEJB
 
BeanCount - Class in info.ejava.examples.ejb.tx.bo
 
BeanCount() - Constructor for class info.ejava.examples.ejb.tx.bo.BeanCount
 
BeanCount(String) - Constructor for class info.ejava.examples.ejb.tx.bo.BeanCount
 
beanName - Variable in class info.ejava.examples.ejb.tx.ejb.TxWatcherEJB
 
beforeCompletion() - Method in class info.ejava.examples.ejb.tx.ejb.TxWatcherEJB
 
bmtA - Variable in class info.ejava.examples.ejb.tx.ejb.WarehouseFacadeEJB
 
BmtCreateEJB - Class in info.ejava.examples.ejb.tx.ejb
 
BmtCreateEJB() - Constructor for class info.ejava.examples.ejb.tx.ejb.BmtCreateEJB
 

C

cleanup() - Method in class info.ejava.examples.ejb.tx.ejb.WarehouseFacadeEJB
 
cleanup() - Method in interface info.ejava.examples.ejb.tx.ejb.WarehouseRemote
 
cleanup() - Method in class info.ejava.examples.ejb.tx.ejb.WarehouseTxEJB
This method will remove all data from all tables associated with the example
count - Variable in class info.ejava.examples.ejb.tx.bo.BeanCount
 
CreateEJB - Class in info.ejava.examples.ejb.tx.ejb
 
CreateEJB() - Constructor for class info.ejava.examples.ejb.tx.ejb.CreateEJB
 
createProduct(Product) - Method in class info.ejava.examples.ejb.tx.ejb.BmtCreateEJB
 
createProduct(Product) - Method in class info.ejava.examples.ejb.tx.ejb.CreateEJB
 
createProductAndRollback(Product) - Method in class info.ejava.examples.ejb.tx.ejb.WarehouseFacadeEJB
 
createProductAndRollback(Product) - Method in interface info.ejava.examples.ejb.tx.ejb.WarehouseRemote
 
createProductAndShipments(Product, List<Shipment>) - Method in class info.ejava.examples.ejb.tx.ejb.WarehouseFacadeEJB
The method creates an overall transaction and enlists the work of three separate EJBs to complete the work.
createProductAndShipments(Product, List<Shipment>) - Method in interface info.ejava.examples.ejb.tx.ejb.WarehouseRemote
 
createProductAndShipments_Async(Product, int) - Method in class info.ejava.examples.ejb.tx.ejb.WarehouseFacadeEJB
 
createProductAndShipments_Async(Product, int) - Method in interface info.ejava.examples.ejb.tx.ejb.WarehouseRemote
 
createProductAndShipments_NotSupported(Product, List<Shipment>) - Method in class info.ejava.examples.ejb.tx.ejb.WarehouseFacadeEJB
 
createProductAndShipments_NotSupported(Product, List<Shipment>) - Method in interface info.ejava.examples.ejb.tx.ejb.WarehouseRemote
 
createProductAndShipments_RequiresNew(Product, List<Shipment>) - Method in class info.ejava.examples.ejb.tx.ejb.WarehouseFacadeEJB
 
createProductAndShipments_RequiresNew(Product, List<Shipment>) - Method in interface info.ejava.examples.ejb.tx.ejb.WarehouseRemote
 
createProductAndThrowChecked(Product) - Method in class info.ejava.examples.ejb.tx.ejb.WarehouseFacadeEJB
 
createProductAndThrowChecked(Product) - Method in interface info.ejava.examples.ejb.tx.ejb.WarehouseRemote
 
createProductAndThrowCheckedRollback(Product) - Method in class info.ejava.examples.ejb.tx.ejb.WarehouseFacadeEJB
 
createProductAndThrowCheckedRollback(Product) - Method in interface info.ejava.examples.ejb.tx.ejb.WarehouseRemote
 
createProductBmt(Product) - Method in class info.ejava.examples.ejb.tx.ejb.WarehouseFacadeEJB
 
createProductBmt(Product) - Method in interface info.ejava.examples.ejb.tx.ejb.WarehouseRemote
 
createShipment(Shipment) - Method in class info.ejava.examples.ejb.tx.ejb.BmtCreateEJB
 
createShipment(Shipment) - Method in class info.ejava.examples.ejb.tx.ejb.CreateEJB
 
createShipment_RequiresNew(Shipment) - Method in class info.ejava.examples.ejb.tx.ejb.BmtCreateEJB
 
createShipment_RequiresNew(Shipment) - Method in class info.ejava.examples.ejb.tx.ejb.CreateEJB
 
ctx - Variable in class info.ejava.examples.ejb.tx.ejb.WarehouseFacadeEJB
 

D

destroy() - Method in class info.ejava.examples.ejb.tx.ejb.BmtCreateEJB
 
destroy() - Method in class info.ejava.examples.ejb.tx.ejb.CreateEJB
 
destroy() - Method in class info.ejava.examples.ejb.tx.ejb.GetEJB
 
destroy() - Method in class info.ejava.examples.ejb.tx.ejb.TxWatcherEJB
 
destroy() - Method in class info.ejava.examples.ejb.tx.ejb.UpdateEJB
 
destroy() - Method in class info.ejava.examples.ejb.tx.ejb.WarehouseFacadeEJB
 
destroy() - Method in class info.ejava.examples.ejb.tx.ejb.WarehouseTxEJB
 

E

em - Variable in class info.ejava.examples.ejb.tx.ejb.BmtCreateEJB
 
em - Variable in class info.ejava.examples.ejb.tx.ejb.CreateEJB
 
em - Variable in class info.ejava.examples.ejb.tx.ejb.GetEJB
 
em - Variable in class info.ejava.examples.ejb.tx.ejb.UpdateEJB
 
em - Variable in class info.ejava.examples.ejb.tx.ejb.WarehouseTxEJB
 

F

flush() - Method in class info.ejava.examples.ejb.tx.ejb.BmtCreateEJB
 
flush() - Method in class info.ejava.examples.ejb.tx.ejb.CreateEJB
 

G

getCount() - Method in class info.ejava.examples.ejb.tx.bo.BeanCount
 
GetEJB - Class in info.ejava.examples.ejb.tx.ejb
 
GetEJB() - Constructor for class info.ejava.examples.ejb.tx.ejb.GetEJB
 
getId() - Method in class info.ejava.examples.ejb.tx.bo.Product
 
getId() - Method in class info.ejava.examples.ejb.tx.bo.Shipment
 
getLocation() - Method in class info.ejava.examples.ejb.tx.bo.Shipment
 
getName() - Method in class info.ejava.examples.ejb.tx.bo.BeanCount
 
getName() - Method in class info.ejava.examples.ejb.tx.bo.Product
 
getProduct() - Method in exception info.ejava.examples.ejb.tx.ejb.MyCheckedProductException
 
getProduct() - Method in exception info.ejava.examples.ejb.tx.ejb.MyCheckedRollbackProductException
 
getProduct(int) - Method in class info.ejava.examples.ejb.tx.ejb.GetEJB
Returns a product from the database in the existing or no transaction.
getProduct(int) - Method in class info.ejava.examples.ejb.tx.ejb.WarehouseFacadeEJB
 
getProduct(int) - Method in interface info.ejava.examples.ejb.tx.ejb.WarehouseRemote
 
getProduct_NotSupported(int) - Method in class info.ejava.examples.ejb.tx.ejb.GetEJB
 
getProduct_RequiresNew(int) - Method in class info.ejava.examples.ejb.tx.ejb.GetEJB
 
getProductCount(int) - Method in class info.ejava.examples.ejb.tx.ejb.GetEJB
 
getProductCount_NotSupported(int) - Method in class info.ejava.examples.ejb.tx.ejb.GetEJB
 
getProductCount_RequiresNew(int) - Method in class info.ejava.examples.ejb.tx.ejb.GetEJB
 
getProductId() - Method in class info.ejava.examples.ejb.tx.bo.Shipment
 
getQuantity() - Method in class info.ejava.examples.ejb.tx.bo.Product
 
getRemainingQuantity(int) - Method in class info.ejava.examples.ejb.tx.ejb.GetEJB
 
getShipmentCount(int) - Method in class info.ejava.examples.ejb.tx.ejb.GetEJB
 
getShipmentCount_RequiresNew(int) - Method in class info.ejava.examples.ejb.tx.ejb.GetEJB
 

I

id - Variable in class info.ejava.examples.ejb.tx.bo.Product
 
id - Variable in class info.ejava.examples.ejb.tx.bo.Shipment
 
info.ejava.examples.ejb.tx.bo - package info.ejava.examples.ejb.tx.bo
 
info.ejava.examples.ejb.tx.ejb - package info.ejava.examples.ejb.tx.ejb
 
init() - Method in class info.ejava.examples.ejb.tx.ejb.BmtCreateEJB
 
init() - Method in class info.ejava.examples.ejb.tx.ejb.CreateEJB
 
init() - Method in class info.ejava.examples.ejb.tx.ejb.GetEJB
 
init() - Method in class info.ejava.examples.ejb.tx.ejb.TxWatcherEJB
 
init() - Method in class info.ejava.examples.ejb.tx.ejb.UpdateEJB
 
init() - Method in class info.ejava.examples.ejb.tx.ejb.WarehouseFacadeEJB
 
init() - Method in class info.ejava.examples.ejb.tx.ejb.WarehouseTxEJB
 

L

location - Variable in class info.ejava.examples.ejb.tx.bo.Shipment
 
logger - Static variable in class info.ejava.examples.ejb.tx.ejb.BmtCreateEJB
 
logger - Static variable in class info.ejava.examples.ejb.tx.ejb.CreateEJB
 
logger - Static variable in class info.ejava.examples.ejb.tx.ejb.GetEJB
 
logger - Variable in class info.ejava.examples.ejb.tx.ejb.TxWatcherEJB
 
logger - Static variable in class info.ejava.examples.ejb.tx.ejb.UpdateEJB
 
logger - Static variable in class info.ejava.examples.ejb.tx.ejb.WarehouseFacadeEJB
 
logger - Static variable in class info.ejava.examples.ejb.tx.ejb.WarehouseTxEJB
 

M

MyCheckedProductException - Exception in info.ejava.examples.ejb.tx.ejb
 
MyCheckedProductException(Product, String) - Constructor for exception info.ejava.examples.ejb.tx.ejb.MyCheckedProductException
 
MyCheckedRollbackProductException - Exception in info.ejava.examples.ejb.tx.ejb
 
MyCheckedRollbackProductException(Product, String) - Constructor for exception info.ejava.examples.ejb.tx.ejb.MyCheckedRollbackProductException
 

N

name - Variable in class info.ejava.examples.ejb.tx.bo.BeanCount
 
name - Variable in class info.ejava.examples.ejb.tx.bo.Product
 

P

product - Variable in exception info.ejava.examples.ejb.tx.ejb.MyCheckedProductException
 
product - Variable in exception info.ejava.examples.ejb.tx.ejb.MyCheckedRollbackProductException
 
Product - Class in info.ejava.examples.ejb.tx.bo
 
Product() - Constructor for class info.ejava.examples.ejb.tx.bo.Product
 
Product(int) - Constructor for class info.ejava.examples.ejb.tx.bo.Product
 
Product(Product) - Constructor for class info.ejava.examples.ejb.tx.bo.Product
 
Product(String, int) - Constructor for class info.ejava.examples.ejb.tx.bo.Product
 
productId - Variable in class info.ejava.examples.ejb.tx.bo.Shipment
 

Q

quantity - Variable in class info.ejava.examples.ejb.tx.bo.Product
 

S

setCount(int) - Method in class info.ejava.examples.ejb.tx.bo.BeanCount
 
setId(int) - Method in class info.ejava.examples.ejb.tx.bo.Product
 
setName(String) - Method in class info.ejava.examples.ejb.tx.bo.Product
 
setProduct(Product) - Method in exception info.ejava.examples.ejb.tx.ejb.MyCheckedProductException
 
setProduct(Product) - Method in exception info.ejava.examples.ejb.tx.ejb.MyCheckedRollbackProductException
 
setProductId(int) - Method in class info.ejava.examples.ejb.tx.bo.Shipment
 
setQuantity(int) - Method in class info.ejava.examples.ejb.tx.bo.Product
 
Shipment - Class in info.ejava.examples.ejb.tx.bo
 
Shipment() - Constructor for class info.ejava.examples.ejb.tx.bo.Shipment
 
Shipment(String) - Constructor for class info.ejava.examples.ejb.tx.bo.Shipment
 

T

toString() - Method in class info.ejava.examples.ejb.tx.bo.BeanCount
 
toString() - Method in class info.ejava.examples.ejb.tx.bo.Product
 
toString() - Method in class info.ejava.examples.ejb.tx.bo.Shipment
 
txHelper - Variable in class info.ejava.examples.ejb.tx.ejb.WarehouseFacadeEJB
 
txName - Variable in class info.ejava.examples.ejb.tx.ejb.TxWatcherEJB
 
txWatcher - Variable in class info.ejava.examples.ejb.tx.ejb.BmtCreateEJB
 
txWatcher - Variable in class info.ejava.examples.ejb.tx.ejb.CreateEJB
 
txWatcher - Variable in class info.ejava.examples.ejb.tx.ejb.GetEJB
 
txWatcher - Variable in class info.ejava.examples.ejb.tx.ejb.UpdateEJB
 
txWatcher - Variable in class info.ejava.examples.ejb.tx.ejb.WarehouseFacadeEJB
 
txWatcher - Variable in class info.ejava.examples.ejb.tx.ejb.WarehouseTxEJB
 
TxWatcherEJB - Class in info.ejava.examples.ejb.tx.ejb
The sole purpose of this EJB is to enlist is to print the status of the transaction after being enlisted in the transaction by the caller.
TxWatcherEJB() - Constructor for class info.ejava.examples.ejb.tx.ejb.TxWatcherEJB
 

U

UnexpectedState - Exception in info.ejava.examples.ejb.tx.ejb
 
UnexpectedState(String, int, int) - Constructor for exception info.ejava.examples.ejb.tx.ejb.UnexpectedState
 
updateBeanCount(int) - Method in class info.ejava.examples.ejb.tx.ejb.WarehouseTxEJB
 
UpdateEJB - Class in info.ejava.examples.ejb.tx.ejb
 
UpdateEJB() - Constructor for class info.ejava.examples.ejb.tx.ejb.UpdateEJB
 
utx - Variable in class info.ejava.examples.ejb.tx.ejb.BmtCreateEJB
 

W

WarehouseFacadeEJB - Class in info.ejava.examples.ejb.tx.ejb
 
WarehouseFacadeEJB() - Constructor for class info.ejava.examples.ejb.tx.ejb.WarehouseFacadeEJB
 
WarehouseRemote - Interface in info.ejava.examples.ejb.tx.ejb
 
WarehouseTxEJB - Class in info.ejava.examples.ejb.tx.ejb
 
WarehouseTxEJB() - Constructor for class info.ejava.examples.ejb.tx.ejb.WarehouseTxEJB
 
watchTransaction(Class<?>, int) - Method in class info.ejava.examples.ejb.tx.ejb.TxWatcherEJB
By calling this (or any other business method, the sessionEJB will be created and enlisted in the current transaction
A B C D E F G I L M N P Q S T U W 
All Classes All Packages