|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.cinecolombia.cinecolombia.control.web.CinecolombiaControllerProxy
This class is essentially just a proxy object that calls methods on the EJB tier using the CinecolombiaControllerEJB object. All the methods that access the EJB are synchronized so that concurrent requests do not happen to the stateful session bean.
Field Summary | |
private Debug |
debug
|
private ModelManager |
mm
|
private CinecolombiaController |
sccEjb
|
private javax.servlet.http.HttpSession |
session
|
Constructor Summary | |
CinecolombiaControllerProxy()
Constructor |
|
CinecolombiaControllerProxy(javax.servlet.http.HttpSession session)
constructor for an HTTP client. |
Method Summary | |
java.util.Collection |
handleEvent(CinecolombiaEvent ese)
feeds the specified event to the state machine of the business logic: sends the event to the controller ejb and gets a list with names of Model objects who were updated |
void |
remove()
frees up all the resources associated with this controller and destroys itself. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private ModelManager mm
private CinecolombiaController sccEjb
private javax.servlet.http.HttpSession session
private Debug debug
Constructor Detail |
public CinecolombiaControllerProxy()
public CinecolombiaControllerProxy(javax.servlet.http.HttpSession session)
session
- web sessionMethod Detail |
public java.util.Collection handleEvent(CinecolombiaEvent ese) throws CinecolombiaEventException
ese
- is the current event
CinecolombiaEventException
public void remove()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |