public class WarehouseTxEJB extends Object
Modifier and Type | Field and Description |
---|---|
private EntityManager |
em |
private static org.slf4j.Logger |
logger |
private TxWatcherEJB |
txWatcher |
Constructor and Description |
---|
WarehouseTxEJB() |
Modifier and Type | Method and Description |
---|---|
int |
cleanup()
This method will remove all data from all tables associated with the example
|
void |
destroy() |
void |
init() |
private void |
updateBeanCount(int value) |
private static final org.slf4j.Logger logger
private EntityManager em
private TxWatcherEJB txWatcher
@PostConstruct public void init()
@PreDestroy public void destroy()
public int cleanup()
private void updateBeanCount(int value)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.