Home » openejb-3.1.2-src » org.superbiz.spring » [javadoc | source]
org.superbiz.spring
public class: Theater [javadoc | source]
java.lang.Object
   org.superbiz.spring.Theater
Spring bean that references the Movies EJB and the Movie JPA bean.

This bean shows that Spring beans can have references to EJBs.
Constructor:
 public Theater(Movies movies) 
    The Movies EJB is passed in on the constructor which guarantees we can use it in the setNowPlaying method.
    Parameters:
    movies -
Method from org.superbiz.spring.Theater Summary:
getMovies,   setNowPlaying
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.superbiz.spring.Theater Detail:
 public List<Movie> getMovies() throws Exception 
 public  void setNowPlaying(List<String> nowPlaying) throws Exception 
    For every title in the list we will use the Movies EJB to lookup the actual Movie JPA object.