Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.javahispano.canyamo.core
Class Canyamo  view Canyamo download Canyamo.java

java.lang.Object
  extended byorg.javahispano.canyamo.core.Canyamo

public class Canyamo
extends java.lang.Object

Kernel of the Framework

This class is the central point of the framework.
It receives User's request from Servlet and should be process it correctly. It delegates most of the work to ActionManager and DisplayerManager , which are responsible of get and process the correct action, and render the selected displayer, respectively . This class communicates both of them.

Version:

Field Summary
private static java.util.List applications
          List of deployed applications
private static Canyamo instance
          Stores the only one instance of this class allowed (Singleton)
 
Constructor Summary
(package private) Canyamo(java.lang.String root)
          Provate constructor that load all necessary classes.
 
Method Summary
static void addApplication(org.javahispano.canyamo.core.application.Application app)
          Adds a feature to the Appication attribute of the CanyamoConfig class
(package private) static void destroy()
          Shuts down the engine (DB, etc.)
static java.util.List getApplications()
          Gets the applications attribute of the CanyamoConfig class
static Canyamo getInstance()
          Returns the Singleton instance of this class
(package private)  void getView(WorkData data)
          Gets the HTML representation of the site according user's request
(package private) static void init(java.lang.String root)
          Performs the initialitation of the framework
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

applications

private static java.util.List applications
List of deployed applications


instance

private static Canyamo instance
Stores the only one instance of this class allowed (Singleton)

Constructor Detail

Canyamo

Canyamo(java.lang.String root)
Provate constructor that load all necessary classes.

Actuallay performs the complete initialitation of the system (load actions, displayers, initilites tempaltes, etc.)

Since:
Method Detail

getInstance

public static Canyamo getInstance()
Returns the Singleton instance of this class


getApplications

public static java.util.List getApplications()
Gets the applications attribute of the CanyamoConfig class


addApplication

public static void addApplication(org.javahispano.canyamo.core.application.Application app)
Adds a feature to the Appication attribute of the CanyamoConfig class


init

static void init(java.lang.String root)
Performs the initialitation of the framework


destroy

static void destroy()
Shuts down the engine (DB, etc.)


getView

void getView(WorkData data)
       throws java.io.IOException
Gets the HTML representation of the site according user's request