Package org.ametys.odf
Class Init
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.odf.Init
-
- All Implemented Interfaces:
LogEnabled
,Init
,Configurable
,Serviceable
public class Init extends AbstractLogEnabled implements Init, Serviceable, Configurable
Odf plugin initialization class
-
-
Field Summary
Fields Modifier and Type Field Description protected I18nUtils
_i18Utils
The i18n utilsstatic String
_ODF_CONTENTS_ROOT_NODE
The odf contents root node namestatic String
_ODF_ROOT_NODE
The odf root node nameprotected RootOrgUnitProvider
_orgUnitProvider
The orgunit providerprotected AmetysObjectResolver
_resolver
The Ametys object resolverprotected WorkflowProvider
_workflowProvider
The workflow
-
Constructor Summary
Constructors Constructor Description Init()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Configuration configuration)
void
init()
Method to be implemented by user Init class.void
service(ServiceManager manager)
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Field Detail
-
_ODF_ROOT_NODE
public static final String _ODF_ROOT_NODE
The odf root node name- See Also:
- Constant Field Values
-
_ODF_CONTENTS_ROOT_NODE
public static final String _ODF_CONTENTS_ROOT_NODE
The odf contents root node name- See Also:
- Constant Field Values
-
_resolver
protected AmetysObjectResolver _resolver
The Ametys object resolver
-
_orgUnitProvider
protected RootOrgUnitProvider _orgUnitProvider
The orgunit provider
-
_workflowProvider
protected WorkflowProvider _workflowProvider
The workflow
-
-
Constructor Detail
-
Init
public Init()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
configure
public void configure(Configuration configuration) throws ConfigurationException
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
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, ...
-
-