org.superbiz.spring
Class AvailableMovies

java.lang.Object
  extended by 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.


Constructor Summary
AvailableMovies()
           
 
Method Summary
 void construct()
           
 List<Movie> getMovies()
           
 void setMovies(List<Movie> movies)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailableMovies

public AvailableMovies()
Method Detail

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.