|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthelma.extensions.HelmaExtension
public abstract class HelmaExtension
Helma extensions have to subclass this. The extensions to be loaded are
defined in server.properties
by setting extensions =
packagename.classname, packagename.classname
.
Constructor Summary | |
---|---|
HelmaExtension()
|
Method Summary | |
---|---|
abstract void |
applicationStarted(Application app)
called when an Application is started. |
abstract void |
applicationStopped(Application app)
called when an Application is stopped. |
abstract void |
applicationUpdated(Application app)
called when an Application's properties are have been updated. |
abstract java.lang.String |
getName()
|
abstract void |
init(Server server)
called by the Server at startup time. should check wheter the needed classes are present and throw a ConfigurationException if not. |
abstract java.util.HashMap |
initScripting(Application app,
ScriptingEngine engine)
called by the ScriptingEngine when it is initizalized. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HelmaExtension()
Method Detail |
---|
public abstract void init(Server server) throws ConfigurationException
ConfigurationException
public abstract void applicationStarted(Application app) throws ConfigurationException
ConfigurationException
public abstract void applicationStopped(Application app)
public abstract void applicationUpdated(Application app)
public abstract java.util.HashMap initScripting(Application app, ScriptingEngine engine) throws ConfigurationException
ConfigurationException
public abstract java.lang.String getName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |