ca.bc.gov.webade
Class WebADEExtension

java.lang.Object
  extended byca.bc.gov.webade.WebADEExtension
All Implemented Interfaces:
java.io.Serializable

public abstract class WebADEExtension
extends java.lang.Object
implements java.io.Serializable

Abstract class to be extended by singleton extensions to the WebADE. These extensions register themselves with the Application class which will allow them access to the WebADE database via a connection proxy.

Version:
1.0
Author:
Jason Ross
See Also:
Serialized Form

Field Summary
static java.lang.String ENABLED_PREFERENCE
          The WebADE preference name of the standard WebADE Extension enabled preference.
static java.lang.String EXTENSION_CLASS_NAME_PREFERENCE
          The WebADE preference name of the standard WebADE Extension extension-class-name preference.
 
Constructor Summary
WebADEExtension()
           
 
Method Summary
 Application getOwningApplication()
          Returns the application singleton object that has this extension registered.
 void init(Preferences preferences)
          Deprecated.  
abstract  void init(WebADEPreferences preferences)
          Initialises the WebADE Extension after all properties have been loaded and set from the WebADE config file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXTENSION_CLASS_NAME_PREFERENCE

public static final java.lang.String EXTENSION_CLASS_NAME_PREFERENCE
The WebADE preference name of the standard WebADE Extension extension-class-name preference.

See Also:
Constant Field Values

ENABLED_PREFERENCE

public static final java.lang.String ENABLED_PREFERENCE
The WebADE preference name of the standard WebADE Extension enabled preference.

See Also:
Constant Field Values
Constructor Detail

WebADEExtension

public WebADEExtension()
Method Detail

getOwningApplication

public Application getOwningApplication()
Returns the application singleton object that has this extension registered.

Returns:
Application singleton

init

public void init(Preferences preferences)
          throws WebADEExtensionException
Deprecated.  

Initialises the WebADE Extension after all properties have been loaded and set from the WebADE config file.

Parameters:
preferences - The set of preferences loaded for the extension.
Throws:
WebADEExtensionException

init

public abstract void init(WebADEPreferences preferences)
                   throws WebADEExtensionException
Initialises the WebADE Extension after all properties have been loaded and set from the WebADE config file.

Parameters:
preferences - The set of preferences loaded for the extension.
Throws:
WebADEExtensionException