|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.superbiz.spring.Theater
public class 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 Summary | |
---|---|
Theater(Movies movies)
The Movies EJB is passed in on the constructor which guarantees we can use it in the setNowPlaying method. |
Method Summary | |
---|---|
java.util.List<Movie> |
getMovies()
|
void |
setNowPlaying(java.util.List<java.lang.String> nowPlaying)
For every title in the list we will use the Movies EJB to lookup the actual Movie JPA object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Theater(Movies movies)
movies
- Method Detail |
---|
public void setNowPlaying(java.util.List<java.lang.String> nowPlaying) throws java.lang.Exception
nowPlaying
-
java.lang.Exception
public java.util.List<Movie> getMovies() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |