net.sf.cantina.application
Class Application

java.lang.Object
  extended bynet.sf.cantina.application.Application

public class Application
extends java.lang.Object

Puts the pieces together and tear them apart with init() and shut()

Author:
Stephane JAIS

Field Summary
protected static DataSource datasource
           
protected static boolean isOn
           
 
Constructor Summary
Application()
           
 
Method Summary
static void init()
          Should be called at least once before running any code in net.sf.cantina.
protected static void initDataSource()
           
protected static void initSearchEngine()
           
static void shut()
           
protected static void shutDataSource()
           
protected static void shutSearchEngine()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isOn

protected static boolean isOn

datasource

protected static DataSource datasource
Constructor Detail

Application

public Application()
Method Detail

init

public static void init()
                 throws java.lang.Exception
Should be called at least once before running any code in net.sf.cantina.

Throws:
java.lang.Exception

shut

public static void shut()
                 throws java.lang.Exception
Throws:
java.lang.Exception

initDataSource

protected static void initDataSource()
                              throws java.lang.Exception
Throws:
java.lang.Exception

shutDataSource

protected static void shutDataSource()

initSearchEngine

protected static void initSearchEngine()
                                throws java.lang.Exception
Throws:
java.lang.Exception

shutSearchEngine

protected static void shutSearchEngine()
                                throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2004 Cantina. All Rights Reserved.