Package org.ametys.web.service
Class GetServiceAction
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.ametys.web.service.GetServiceAction
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,Action
Action to get service
-
Field Summary
Modifier and TypeFieldDescriptionprotected JSONUtils
The JSON utilsprotected ModelItemTypeExtensionPoint
The page data type extension pointprotected ServiceExtensionPoint
The service extension pointprotected SiteManager
The site managerFields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionact
(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) void
service
(ServiceManager manager) Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
_serviceEP
The service extension point -
_siteManager
The site manager -
_jsonUtils
The JSON utils -
_pageDataTypeExtensionPoint
The page data type extension point
-
-
Constructor Details
-
GetServiceAction
public GetServiceAction()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
act
public Map<String,String> act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
-