lumis.portal.servicecontainer
Class ServiceContainerRequestVariableResolver

Package class diagram package ServiceContainerRequestVariableResolver
java.lang.Object
  extended by lumis.portal.el.AbstractRequestVariableResolver
      extended by lumis.portal.servicecontainer.ServiceContainerRequestVariableResolver
All Implemented Interfaces:
VariableResolver

public class ServiceContainerRequestVariableResolver
extends AbstractRequestVariableResolver

Resolves variables based on a ServiceContainerRequest. The implicit objects resolved by this class are that ones resolved by PageWebResourceVariableResolver and the following:

Since:
4.0.7

Nested Class Summary
 
Nested classes/interfaces inherited from class lumis.portal.el.AbstractRequestVariableResolver
AbstractRequestVariableResolver.GetOnlyMap<K,V>
 
Constructor Summary
ServiceContainerRequestVariableResolver(IServiceInterfaceRequest request)
          Creates a new variable resolver based on the given request.
 
Method Summary
protected  Map<String,Object> getApplicationScopeMap()
          Returns the application scope map.
protected  Object getAttribute(String string)
          Returns the attribute with the given name.
protected  String getBusinessContextProperty(String key)
          Returns the value with the given property id.
protected  Cookie[] getCookies()
          Returns the cookies.
protected  String getHeader(String string)
          Returns the header with the given name.
protected  Enumeration getHeaders(String string)
          Returns the headers with the given name.
protected  Map<String,Object> getInitParamMap()
          Returns the init parameters.
protected  String getParameter(String string)
          Returns the parameter with the given name.
protected  Object getParameterMap()
          Returns the parameter map.
protected  Map<String,Object> getSessionScopeMap()
          Returns the session scope map.
 Object resolveVariable(String variableName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceContainerRequestVariableResolver

public ServiceContainerRequestVariableResolver(IServiceInterfaceRequest request)
Creates a new variable resolver based on the given request.

Parameters:
request - the request.
Since:
4.0.7
Method Detail

resolveVariable

public Object resolveVariable(String variableName)
                       throws ELException
Specified by:
resolveVariable in interface VariableResolver
Overrides:
resolveVariable in class AbstractRequestVariableResolver
Throws:
ELException

getAttribute

protected Object getAttribute(String string)
Description copied from class: AbstractRequestVariableResolver
Returns the attribute with the given name.

Specified by:
getAttribute in class AbstractRequestVariableResolver
Parameters:
string - the attribute name.
Returns:
the attribute with the given name.

getCookies

protected Cookie[] getCookies()
Description copied from class: AbstractRequestVariableResolver
Returns the cookies.

Specified by:
getCookies in class AbstractRequestVariableResolver
Returns:
the cookies.

getHeader

protected String getHeader(String string)
Description copied from class: AbstractRequestVariableResolver
Returns the header with the given name.

Specified by:
getHeader in class AbstractRequestVariableResolver
Returns:
the header with the given name.

getParameter

protected String getParameter(String string)
Description copied from class: AbstractRequestVariableResolver
Returns the parameter with the given name.

Specified by:
getParameter in class AbstractRequestVariableResolver
Parameters:
string - the parameter name.
Returns:
the parameter with the given name.

getParameterMap

protected Object getParameterMap()
Description copied from class: AbstractRequestVariableResolver
Returns the parameter map.

Specified by:
getParameterMap in class AbstractRequestVariableResolver
Returns:
the parameter map.

getApplicationScopeMap

protected Map<String,Object> getApplicationScopeMap()
Description copied from class: AbstractRequestVariableResolver
Returns the application scope map.

Specified by:
getApplicationScopeMap in class AbstractRequestVariableResolver
Returns:
the application scope map.

getInitParamMap

protected Map<String,Object> getInitParamMap()
Description copied from class: AbstractRequestVariableResolver
Returns the init parameters.

Specified by:
getInitParamMap in class AbstractRequestVariableResolver
Returns:
the init parameters.

getSessionScopeMap

protected Map<String,Object> getSessionScopeMap()
Description copied from class: AbstractRequestVariableResolver
Returns the session scope map.

Specified by:
getSessionScopeMap in class AbstractRequestVariableResolver
Returns:
the session scope map.

getHeaders

protected Enumeration getHeaders(String string)
Description copied from class: AbstractRequestVariableResolver
Returns the headers with the given name.

Specified by:
getHeaders in class AbstractRequestVariableResolver
Parameters:
string - the header name.
Returns:
the headers with the given name.

getBusinessContextProperty

protected String getBusinessContextProperty(String key)
Description copied from class: AbstractRequestVariableResolver
Returns the value with the given property id.

Specified by:
getBusinessContextProperty in class AbstractRequestVariableResolver
Parameters:
key - the property id.
Returns:
the value of the property with the given id.


Lumisportal  7.0.0.121130 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.