Package org.ametys.cms.trash
Class Init
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.cms.trash.Init
- All Implemented Interfaces:
Init
,LogEnabled
,Serviceable
Init class for trash.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Create the workspace "trash" if not exists.void
init()
Method to be implemented by user Init class.void
service
(ServiceManager manager) Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
_repository
The repository
-
-
Constructor Details
-
Init
public Init()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
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, ... -
createWorkspace
Create the workspace "trash" if not exists.- Throws:
javax.jcr.RepositoryException
- if a repository error occurred.
-