railo.runtime.listener
Class AppListenerSupport
java.lang.Object
railo.runtime.listener.AppListenerSupport
- All Implemented Interfaces:
- ApplicationListener
- Direct Known Subclasses:
- ClassicAppListener, ModernAppListener, NoneAppListener
public abstract class AppListenerSupport
- extends Object
- implements ApplicationListener
AppListenerSupport
public AppListenerSupport()
hasOnApplicationStart
public boolean hasOnApplicationStart()
- Specified by:
hasOnApplicationStart
in interface ApplicationListener
hasOnSessionStart
public boolean hasOnSessionStart(PageContext pc)
- Specified by:
hasOnSessionStart
in interface ApplicationListener
onServerStart
public void onServerStart()
throws PageException
- Description copied from interface:
ApplicationListener
- this method will be called when a server starts
- Specified by:
onServerStart
in interface ApplicationListener
- Throws:
PageException
onServerEnd
public void onServerEnd()
throws PageException
- Description copied from interface:
ApplicationListener
- this method will be called when the server shutdown correctly (no crashes)
- Specified by:
onServerEnd
in interface ApplicationListener
- Throws:
PageException
onTimeout
public void onTimeout(PageContext pc)
- Description copied from interface:
ApplicationListener
- will be called when server is run int a timeout
- Specified by:
onTimeout
in interface ApplicationListener
setType
public final void setType(String type)
- Specified by:
setType
in interface ApplicationListener
- Parameters:
type
- the type to set
Copyright © 2012 Railo