| java.lang.Object helma.extensions.HelmaExtension
All known Subclasses: helma.extensions.demo.DemoExtension,
HelmaExtension | abstract public class HelmaExtension (Code) | | Helma extensions have to subclass this. The extensions to be loaded are
defined in server.properties by setting extensions =
packagename.classname, packagename.classname .
|
applicationStarted | abstract public void applicationStarted(Application app) throws ConfigurationException(Code) | | called when an Application is started. This should be synchronized when
any self-initialization is performed.
|
applicationStopped | abstract public void applicationStopped(Application app)(Code) | | called when an Application is stopped.
This should be synchronized when any self-destruction is performed.
|
applicationUpdated | abstract public void applicationUpdated(Application app)(Code) | | called when an Application's properties are have been updated.
note that this will be called at startup once *before* applicationStarted().
|
init | abstract public void init(Server server) throws ConfigurationException(Code) | | called by the Server at startup time. should check wheter the needed classes
are present and throw a ConfigurationException if not.
|
initScripting | abstract public HashMap initScripting(Application app, ScriptingEngine engine) throws ConfigurationException(Code) | | called by the ScriptingEngine when it is initizalized. Throws a ConfigurationException
when this type of ScriptingEngine is not supported. New methods and prototypes can be
added to the scripting environment. New global vars should be returned in a HashMap
with pairs of varname and ESObjects. This method should be synchronized, if it
performs any other self-initialization outside the scripting environment.
|
|
|