|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthelma.extensions.HelmaExtension
helma.extensions.demo.DemoExtension
public class DemoExtension
a demo extension implementation, to activate this add extensions =
helma.extensions.demo.DemoExtensions to your server.properties.
a new global object demo that wraps helma.main.Server
will be added to the scripting environment.
| Constructor Summary | |
|---|---|
DemoExtension()
|
|
| Method Summary | |
|---|---|
void |
applicationStarted(Application app)
called when an Application is started. |
void |
applicationStopped(Application app)
called when an Application is stopped. |
void |
applicationUpdated(Application app)
called when an Application's properties are have been updated. |
java.lang.String |
getName()
|
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. |
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 DemoExtension()
| Method Detail |
|---|
public void init(Server server)
throws ConfigurationException
HelmaExtension
init in class HelmaExtensionserver - ...
ConfigurationException - ...
public void applicationStarted(Application app)
throws ConfigurationException
HelmaExtension
applicationStarted in class HelmaExtensionapp - ...
ConfigurationException - ...public void applicationStopped(Application app)
HelmaExtension
applicationStopped in class HelmaExtensionapp - ...public void applicationUpdated(Application app)
HelmaExtension
applicationUpdated in class HelmaExtensionapp - ...
public java.util.HashMap initScripting(Application app,
ScriptingEngine engine)
throws ConfigurationException
HelmaExtension
initScripting in class HelmaExtensionapp - ...engine - ...
ConfigurationException - ...public java.lang.String getName()
getName in class HelmaExtension
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||