|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.abstracthorizon.danube.mvc.MVCConnectionHandler
public class MVCConnectionHandler
Tihs class is driver of MVC. It invokes action that returns view (and modem) and then view renderer is called with that invformation.
| Field Summary | |
|---|---|
protected Controller |
controller
Action manager |
protected View |
view
View renderer |
| Constructor Summary | |
|---|---|
MVCConnectionHandler()
Constructor |
|
| Method Summary | |
|---|---|
Controller |
getController()
Returns action manager |
View |
getView()
Returns view renderer |
void |
handleConnection(Connection connection)
This method calls action manager to obtain view and model and then view renderer with that information |
void |
setController(Controller controller)
Sets action manager |
void |
setView(View view)
Sets view renderer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Controller controller
protected View view
| Constructor Detail |
|---|
public MVCConnectionHandler()
| Method Detail |
|---|
public void handleConnection(Connection connection)
handleConnection in interface ConnectionHandlerconnection - connection
IOException - when there are problems with rendering the viewpublic Controller getController()
public void setController(Controller controller)
controller - action managerpublic View getView()
public void setView(View view)
view - view renderer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||