Package org.ametys.site
Class Init
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.ametys.site.Init
-
- All Implemented Interfaces:
Init
,Contextualizable
,LogEnabled
public class Init extends AbstractLogEnabled implements Init, Contextualizable
Init class for FO application.
-
-
Constructor Summary
Constructors Constructor Description Init()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contextualize(Context context)
void
init()
Method to be implemented by user Init class.protected void
sendErrorMail()
Send an error e-mail to the administrator to notify that the server cache can't be written.-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
_environmentContext
protected Context _environmentContext
The cocoon environment context.
-
-
Constructor Detail
-
Init
public Init()
-
-
Method Detail
-
contextualize
public void contextualize(Context context) throws ContextException
- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
init
public void init() throws Exception
Description copied from interface:Init
Method to be implemented by user Init class. Here you should manage the business part of your application init. As an Avalon component, class extending this interface have access to all Cocoon-managed components, all plugins, ...
-
sendErrorMail
protected void sendErrorMail()
Send an error e-mail to the administrator to notify that the server cache can't be written.
-
-