org.hibersap.examples.jee
Class SapFlightServiceBean
java.lang.Object
org.hibersap.examples.jee.SapFlightServiceBean
- All Implemented Interfaces:
- SapFlightService
public class SapFlightServiceBean
- extends Object
- implements SapFlightService
Method Summary |
void |
init()
|
FlightDetailBapi |
showFlightDetail(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 |
SapFlightServiceBean
public SapFlightServiceBean()
init
@PostConstruct
public void init()
- Specified by:
init
in interface SapFlightService
showFlightDetail
public FlightDetailBapi showFlightDetail(Date date)
- Example using Container Managed Transaction (CMT): The container cares about transaction
handling (see @TransactionAttribute annotation).
- Specified by:
showFlightDetail
in interface SapFlightService
showFlightList
public FlightListBapi showFlightList()
- Example using Bean Managed Transaction (BMT): No Transaction from the Container is propagated
(see @TransactionAttribute annotation), so we do programmatic transaction handling.
- Specified by:
showFlightList
in interface SapFlightService
Copyright © 2011 akquinet tech@spree GmbH. All Rights Reserved.