|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibersap.examples.jee.SapFlightServiceBean
public class SapFlightServiceBean
Field Summary |
---|
Fields inherited from interface org.hibersap.examples.jee.SapFlightService |
---|
JNDI_NAME, LOCAL_JNDI_NAME |
Constructor Summary | |
---|---|
SapFlightServiceBean()
|
Method Summary | |
---|---|
void |
init()
|
FlightDetailBapi |
showFlightDetail(java.util.Date date)
Example using Container Managed Transaction (CMT): The container cares about transaction handling (see @TransactionAttribute annotation). |
FlightListBapi |
showFlightList()
Example using Bean Managed Transaction (BMT): No Transaction from the Container is propagated (see @TransactionAttribute annotation), so we do programmatic transaction handling. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SapFlightServiceBean()
Method Detail |
---|
@PostConstruct public void init()
init
in interface SapFlightService
public FlightDetailBapi showFlightDetail(java.util.Date date)
showFlightDetail
in interface SapFlightService
public FlightListBapi showFlightList()
showFlightList
in interface SapFlightService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |