Skip navigation links
A B C E G H I L R T 

A

afterBegin() - Method in class ejava.examples.txhotel.ejb.HotelReservationSessionEJB
This is called to tell us the transaction has started because we implement SessionSynchronization interface.
afterCompletion(boolean) - Method in class ejava.examples.txhotel.ejb.HotelReservationSessionEJB
This is called to tell us how the transaction did.

B

beforeCompletion() - Method in class ejava.examples.txhotel.ejb.HotelReservationSessionEJB
This is called to give us a chance to complain before the transaction really commits.

C

cancelReservation(Reservation) - Method in class ejava.examples.txhotel.ejb.HotelRegistrationEJB
This method will cause the current transaction to be rolled back if the business logic reports an exception cancelling a reservation.
cancelReservations() - Method in class ejava.examples.txhotel.ejb.HotelReservationSessionEJB
 
cleanupReservation(String) - Method in class ejava.examples.txhotel.ejb.HotelRegistrationEJB
 
close() - Method in class ejava.examples.txhotel.ejb.HotelRegistrationEJB
This method is called whenever the EJB is evicted from the container; which is not too often for stateless session beans under normal circumstances.
close() - Method in class ejava.examples.txhotel.ejb.HotelReservationSessionEJB
This method will destroy the stateful instance.
closing() - Method in class ejava.examples.txhotel.ejb.HotelReservationSessionEJB
This method is called just prior to the bean being destroyed.
commit() - Method in class ejava.examples.txhotel.ejb.HotelReservationSessionEJB
 
commitReservation(Reservation) - Method in class ejava.examples.txhotel.ejb.HotelRegistrationEJB
This method is just a pass-thru to the business logic.
createReservation(Person, Date, Date) - Method in class ejava.examples.txhotel.ejb.HotelRegistrationEJB
This method will rollack the current transaction if the business logic throws an exception while trying to create a reservation.
createReservation(Person, Date, Date) - Method in class ejava.examples.txhotel.ejb.HotelReservationSessionEJB
 
ctx - Variable in class ejava.examples.txhotel.ejb.HotelRegistrationEJB
 
ctx - Variable in class ejava.examples.txhotel.ejb.HotelReservationSessionEJB
 

E

ejava.examples.txhotel.ejb - package ejava.examples.txhotel.ejb
 
em - Variable in class ejava.examples.txhotel.ejb.HotelRegistrationEJB
 
em - Variable in class ejava.examples.txhotel.ejb.TestUtilEJB
 

G

getReservationByConfirmation(String) - Method in class ejava.examples.txhotel.ejb.HotelRegistrationEJB
 
getReservations(int, int) - Method in class ejava.examples.txhotel.ejb.HotelRegistrationEJB
 
getReservationsForPerson(Person, int, int) - Method in class ejava.examples.txhotel.ejb.HotelRegistrationEJB
 

H

HotelRegistrationEJB - Class in ejava.examples.txhotel.ejb
This class provides a stateless EJB wrapper around stateless logic that performs operations on the hotel.
HotelRegistrationEJB() - Constructor for class ejava.examples.txhotel.ejb.HotelRegistrationEJB
 
HotelRegistrationLocal - Interface in ejava.examples.txhotel.ejb
 
HotelRegistrationRemote - Interface in ejava.examples.txhotel.ejb
 
HotelReservationSessionEJB - Class in ejava.examples.txhotel.ejb
This class provides an example of a stateful session bean wrapper around stateless server calls.
HotelReservationSessionEJB() - Constructor for class ejava.examples.txhotel.ejb.HotelReservationSessionEJB
 
HotelReservationSessionLocal - Interface in ejava.examples.txhotel.ejb
 
HotelReservationSessionRemote - Interface in ejava.examples.txhotel.ejb
 

I

impl - Variable in class ejava.examples.txhotel.ejb.HotelReservationSessionEJB
 
init() - Method in class ejava.examples.txhotel.ejb.HotelRegistrationEJB
This method is called when the bean is created and is responsble for instantiating the business logic implementation, a DAO, and assigning the EntityManager for the DAO(s) to use.
init() - Method in class ejava.examples.txhotel.ejb.HotelReservationSessionEJB
This method is called when the bean is instantiated to perform manual initialization.

L

log - Variable in class ejava.examples.txhotel.ejb.HotelRegistrationEJB
 
log - Static variable in class ejava.examples.txhotel.ejb.HotelReservationSessionEJB
 
log - Static variable in class ejava.examples.txhotel.ejb.TestUtilEJB
 

R

reservationist - Variable in class ejava.examples.txhotel.ejb.HotelRegistrationEJB
 
reservationist - Variable in class ejava.examples.txhotel.ejb.HotelReservationSessionEJB
 
reset() - Method in class ejava.examples.txhotel.ejb.TestUtilEJB
 
reset() - Method in interface ejava.examples.txhotel.ejb.TestUtilRemote
clear all records for the Hotel from the DB.

T

TestUtilEJB - Class in ejava.examples.txhotel.ejb
This EJB provides helper methods used by remote test clients.
TestUtilEJB() - Constructor for class ejava.examples.txhotel.ejb.TestUtilEJB
 
TestUtilRemote - Interface in ejava.examples.txhotel.ejb
This interface is used in support of testing from remote clients.
A B C E G H I L R T 
Skip navigation links

Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.