Retrieving a Context Parameter from a Request
- Procedure
-
Retrieve the request context:
import com.tibco.amf.platform.runtime.extension.context.RequestContext;
RequestContext requestContext =
(RequestContext)componentContext.getRequestContext();
-
Retrieve the parameter from the request context:
requestContext.getParameter(parameterName, Type.class);
where Type can take the values String, Integer, Long, Boolean, Map, QName, and URI.