Package ejava.examples.txhotel.ejb
Class TestUtilEJB
- java.lang.Object
-
- ejava.examples.txhotel.ejb.TestUtilEJB
-
- All Implemented Interfaces:
TestUtilRemote
public class TestUtilEJB extends Object implements TestUtilRemote
This EJB provides helper methods used by remote test clients.
-
-
Field Summary
Fields Modifier and Type Field Description private EntityManageremprivate static org.slf4j.Loggerlog
-
Constructor Summary
Constructors Constructor Description TestUtilEJB()
-
-
-
Field Detail
-
log
private static final org.slf4j.Logger log
-
em
private EntityManager em
-
-
Method Detail
-
reset
public void reset()
Description copied from interface:TestUtilRemoteclear all records for the Hotel from the DB.- Specified by:
resetin interfaceTestUtilRemote
-
-