|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.fuin.apps4swing.AbstractMvcContext
public abstract class AbstractMvcContext
Collection of MvcBundle objects that are initialized together.
| Constructor Summary | |
|---|---|
AbstractMvcContext()
|
|
| Method Summary | |
|---|---|
protected void |
connectControllerQueue(AbstractControllerQueue ctrlQueue,
AbstractToViewDispatcher toViewDispatcher,
org.fuin.apps4j.base.Controller ctrlImpl,
ExecutorService executorService,
int queueCapacity)
Connects "ControllerQueue" and other objects. |
protected void |
connectModule(AbstractModuleImpl module,
AbstractControllerQueue ctrlQueue)
Connects "Module" and other objects. |
protected void |
connectToCtrlDispatcher(AbstractToControllerDispatcher toCtrlDispatcher,
AbstractControllerQueue ctrlQueue,
ExecutorService executorService)
Connects "ToControllerDispatcher" and other objects. |
protected void |
connectToViewDispatcher(AbstractToViewDispatcher toViewDispatcher,
org.fuin.apps4j.base.View viewImpl)
Connects "ToViewDispatcher" and other objects. |
List<MvcBundle> |
getBundles()
Returns the bundles. |
abstract void |
init()
Creates instances of all beans and connects them. |
void |
setBundles(List<MvcBundle> bundles)
Sets the MVC bundles. |
void |
setBundles(MvcBundle... bundle)
Sets the MVC bundles. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractMvcContext()
| Method Detail |
|---|
public final void setBundles(MvcBundle... bundle)
bundle - Bundle arraypublic final void setBundles(List<MvcBundle> bundles)
bundles - Bundles.public final List<MvcBundle> getBundles()
protected final void connectToViewDispatcher(AbstractToViewDispatcher toViewDispatcher,
org.fuin.apps4j.base.View viewImpl)
toViewDispatcher - Object to set it's properties.viewImpl - View to set.
protected final void connectControllerQueue(AbstractControllerQueue ctrlQueue,
AbstractToViewDispatcher toViewDispatcher,
org.fuin.apps4j.base.Controller ctrlImpl,
ExecutorService executorService,
int queueCapacity)
ctrlQueue - Object to set it's properties.toViewDispatcher - View dispatcher to set.ctrlImpl - Controller to set.executorService - Executor service to set.queueCapacity - Queue capacity to set.
protected final void connectToCtrlDispatcher(AbstractToControllerDispatcher toCtrlDispatcher,
AbstractControllerQueue ctrlQueue,
ExecutorService executorService)
toCtrlDispatcher - Object to set it's properties.ctrlQueue - Queue to set.executorService - Executor service to set.
protected final void connectModule(AbstractModuleImpl module,
AbstractControllerQueue ctrlQueue)
module - Object to set it's properties.ctrlQueue - Queue to set.public abstract void init()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||