Package lumis.portal.servicecontainer
Class ServiceContainerRequestFunctionMapper
- java.lang.Object
-
- lumis.portal.el.PortalFunctionMapper
-
- lumis.portal.page.PageWebResourceFunctionMapper
-
- lumis.portal.servicecontainer.ServiceContainerRequestFunctionMapper
-
- All Implemented Interfaces:
javax.servlet.jsp.el.FunctionMapper
,IExtendedFunctionMapper
- Direct Known Subclasses:
ServiceContainerRenderRequestFunctionMapper
public class ServiceContainerRequestFunctionMapper extends PageWebResourceFunctionMapper
FunctionMapper
that resolves the functions available forrequests
.- Since:
- 7.0.0
- Version:
- $Revision$ $Date$
-
-
Field Summary
-
Fields inherited from class lumis.portal.page.PageWebResourceFunctionMapper
BEFORE_WRITE_FUNCTION_NAME
-
-
Constructor Summary
Constructors Constructor Description ServiceContainerRequestFunctionMapper(PageWebResource pageWebResource, IServiceInterfaceRequestSPI request)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterEvaluation()
Performs any needed operations after the evaluation happens.void
beforeEvaluation()
Performs any initialization needed before the evaluation is performed.static java.lang.String
localize(java.lang.String[] args)
Resolves the string.static void
nop(java.lang.String fragment, java.lang.String key)
Dummy method that does nothing.java.lang.reflect.Method
resolveFunction(java.lang.String prefix, java.lang.String localName)
-
Methods inherited from class lumis.portal.page.PageWebResourceFunctionMapper
resolveURL, writeIfNotYetWritten
-
Methods inherited from class lumis.portal.el.PortalFunctionMapper
concat, encodeURL, escapeJs, escapeXml, localize, localize, processLocalizationParameters
-
-
-
-
Constructor Detail
-
ServiceContainerRequestFunctionMapper
public ServiceContainerRequestFunctionMapper(PageWebResource pageWebResource, IServiceInterfaceRequestSPI request)
-
-
Method Detail
-
resolveFunction
public java.lang.reflect.Method resolveFunction(java.lang.String prefix, java.lang.String localName)
- Specified by:
resolveFunction
in interfacejavax.servlet.jsp.el.FunctionMapper
- Overrides:
resolveFunction
in classPageWebResourceFunctionMapper
-
nop
public static void nop(java.lang.String fragment, java.lang.String key)
Dummy method that does nothing.- Since:
- 7.0.0
-
beforeEvaluation
public void beforeEvaluation()
Description copied from class:PortalFunctionMapper
Performs any initialization needed before the evaluation is performed.- Overrides:
beforeEvaluation
in classPageWebResourceFunctionMapper
-
afterEvaluation
public void afterEvaluation()
Description copied from class:PortalFunctionMapper
Performs any needed operations after the evaluation happens. It should be called infinally
.- Overrides:
afterEvaluation
in classPageWebResourceFunctionMapper
-
localize
public static java.lang.String localize(java.lang.String[] args) throws PortalException
Resolves the string.- Parameters:
args
- the localize function parameters.
1. First argument is the identifier of the string to be localized.
2. Second argument is optional, and is a list of resource paths separated by ';' to be included in the localization.
3+. Any extra argument will be considered a localization parameter.- Returns:
- localized string.
- Throws:
PortalException
- if an error occur localizing the string.- Since:
- 7.1.0
-
-