|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.superbiz.spring.AvailableMovies
public class AvailableMovies
This is a simple Spring bean that we use as an easy way to seed the example with a list of persistent Movie objects
The individual Movie objects are constructed by Spring, then passed into the Movies EJB where they are transactionally persisted with the EntityManager.
Constructor Summary | |
---|---|
AvailableMovies()
|
Method Summary | |
---|---|
void |
construct()
|
java.util.List<Movie> |
getMovies()
|
void |
setMovies(java.util.List<Movie> movies)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AvailableMovies()
Method Detail |
---|
@PostConstruct public void construct() throws java.lang.Exception
java.lang.Exception
public java.util.List<Movie> getMovies()
public void setMovies(java.util.List<Movie> movies)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |