Skip navigation links

Oracle® WebCenter Content Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-03


oracle.stellent.wcm.javaee.utils
Class VelocityServletContextProvider

java.lang.Object
  extended by oracle.stellent.wcm.javaee.utils.VelocityServletContextProvider

All Implemented Interfaces:
VelocityScriptProvider.ContextProvider

public class VelocityServletContextProvider
extends java.lang.Object
implements VelocityScriptProvider.ContextProvider

Add the servlet pieces to the velocity context when running in a servlet environment


Constructor Summary
VelocityServletContextProvider()
           

 

Method Summary
 void populateContext(RequestContext requestContext, org.apache.velocity.context.Context context)
          Called before context is sent to engine for evaluation.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

VelocityServletContextProvider

public VelocityServletContextProvider()

Method Detail

populateContext

public void populateContext(RequestContext requestContext,
                            org.apache.velocity.context.Context context)
Called before context is sent to engine for evaluation.
Specified by:
populateContext in interface VelocityScriptProvider.ContextProvider
Parameters:
requestContext - the wcm request context
context - the velocity context

Skip navigation links

Oracle® WebCenter Content Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-03


Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.