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
Init class for FO application.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
contextualize
(Context context) void
init()
Method to be implemented by user Init class.protected void
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 Details
-
_context
The avalon context. -
_environmentContext
The cocoon environment context.
-
-
Constructor Details
-
Init
public Init()
-
-
Method Details
-
contextualize
- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
init
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
Send an error e-mail to the administrator to notify that the server cache can't be written.
-