at.davinci
Class DaVinciKernel

java.lang.Object
  extended by at.davinci.DaVinciKernel

public class DaVinciKernel
extends java.lang.Object

A DaVinci kernel Multiple parallel kernels are possible but each kernel has it's own basedir and environment.

Author:
dorgon

Constructor Summary
DaVinciKernel()
           
 
Method Summary
 void boot(java.lang.String baseDir)
           
 void executeAction(Action action)
          service a request a request invokes a specific method (with or without parameters) in a Model
 AccessControlManager getAccessControlManager()
           
 ApplicationContext getApplicationContext()
           
 ConfigurationLoader getConfigurationLoader()
           
 ModelManager getModelManager()
           
 SessionManager getSessionManager()
           
 void registerController(Controller controller)
           
 void renderGUI(DaVinciSession s, ViewTreeRenderer r)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DaVinciKernel

public DaVinciKernel()
Method Detail

boot

public void boot(java.lang.String baseDir)
          throws KernelException
Throws:
KernelException

shutdown

public void shutdown()
              throws KernelException
Throws:
KernelException

getSessionManager

public SessionManager getSessionManager()

executeAction

public void executeAction(Action action)
                   throws KernelException,
                          AccessViolationException
service a request a request invokes a specific method (with or without parameters) in a Model

Parameters:
action -
Throws:
KernelException
AccessViolationException

renderGUI

public void renderGUI(DaVinciSession s,
                      ViewTreeRenderer r)
               throws KernelException
Throws:
KernelException

registerController

public void registerController(Controller controller)

getModelManager

public ModelManager getModelManager()

getConfigurationLoader

public ConfigurationLoader getConfigurationLoader()

getApplicationContext

public ApplicationContext getApplicationContext()

getAccessControlManager

public AccessControlManager getAccessControlManager()