KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > services > JahiaInitializableService


1 //
2
// JahiaInitializableService Interface
3
// NK 21.12.2000
4
// FH 28.12.2000 Changed interface to abstract classs
5
//
6
//
7

8 package org.jahia.services;
9
10                     // Vector
11
import org.jahia.exceptions.JahiaInitializationException;
12 import org.jahia.settings.SettingsBean;
13
14 /**
15  * This interfaces is an extension of the JahiaService one, that allows
16  * for a service to implement a method called, init, which is passed the
17  * configuration loaded from Jahia's configuration file.
18  *
19  * @author Khue ng
20  * @version 1.0
21  */

22 public abstract class JahiaInitializableService extends JahiaService
23 {
24     /**
25      * Initializes the servlet dispatching service with parameters loaded
26      * from the Jahia configuration file.
27      * @param jSettings private settings object that contains Jahia
28      * configuration parameters
29      * @throws JahiaInitializationException thrown in the case of an error
30      * during this initialization, that will be treated as a critical error
31      * in Jahia and probably stop execution of Jahia once and for all.
32      */

33     public abstract void init( SettingsBean jSettings )
34     throws JahiaInitializationException;
35
36 } // end Interface JahiaInitializableService
37
Popular Tags