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
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidcontextualize(Context context) voidinit()Method to be implemented by user Init class.protected voidSend 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:
 contextualizein interfaceContextualizable- Throws:
 ContextException
 - 
init
Description copied from interface:InitMethod 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. 
 -