Package org.myorg.jpatickets.webejb
Class WebVenueMgmtEJB
- java.lang.Object
-
- org.myorg.jpatickets.webejb.WebVenueMgmtEJB
-
- All Implemented Interfaces:
VenueMgmtRemote
public class WebVenueMgmtEJB extends Object implements VenueMgmtRemote
-
-
Field Summary
Fields Modifier and Type Field Description private EntityManager
em
private static org.slf4j.Logger
logger
private org.myorg.jpatickets.bl.VenueMgmt
venueMgmt
-
Constructor Summary
Constructors Constructor Description WebVenueMgmtEJB()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.myorg.jpatickets.bo.Venue
createVenue(org.myorg.jpatickets.bo.Venue venue, int sections, int positions, int rows)
void
destroy()
org.myorg.jpatickets.bo.Venue
getVenue(String venueId)
void
init()
-
-
-
Field Detail
-
logger
private static final org.slf4j.Logger logger
-
em
private EntityManager em
-
venueMgmt
private org.myorg.jpatickets.bl.VenueMgmt venueMgmt
-
-
Method Detail
-
init
@PostConstruct public void init()
-
destroy
@PreDestroy public void destroy()
-
createVenue
public org.myorg.jpatickets.bo.Venue createVenue(org.myorg.jpatickets.bo.Venue venue, int sections, int positions, int rows)
- Specified by:
createVenue
in interfaceVenueMgmtRemote
-
getVenue
public org.myorg.jpatickets.bo.Venue getVenue(String venueId)
- Specified by:
getVenue
in interfaceVenueMgmtRemote
-
-