org.superbiz.spring
Class AvailableMovies
java.lang.Object
org.superbiz.spring.AvailableMovies
public class AvailableMovies
- extends Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AvailableMovies
public AvailableMovies()
construct
@PostConstruct
public void construct()
throws Exception
- Throws:
Exception
getMovies
public List<Movie> getMovies()
setMovies
public void setMovies(List<Movie> movies)
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.