com.fatwire.gst.foundation.controller.action
Class ActionLocatorUtils

java.lang.Object
  extended by com.fatwire.gst.foundation.controller.action.ActionLocatorUtils

public final class ActionLocatorUtils
extends Object

Since:
Apr 11, 2011
Author:
Dolf Dijkstra

Field Summary
static String ACTION_LOCATOR_BEAN
           
 
Method Summary
static ActionLocator getActionLocator(javax.servlet.ServletContext servletContext)
          Returns the ActionLocator as configured on the WebAppContext bean by the name of gsfActionLocator.
static ActionLocator getActionLocator(javax.servlet.ServletContext servletContext, String beanName)
          Returns the ActionLocator as configured on the WebAppContext bean by the name 'beanName'.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_LOCATOR_BEAN

public static final String ACTION_LOCATOR_BEAN
See Also:
Constant Field Values
Method Detail

getActionLocator

public static ActionLocator getActionLocator(javax.servlet.ServletContext servletContext)
Returns the ActionLocator as configured on the WebAppContext bean by the name of gsfActionLocator.

Parameters:
servletContext - the servlet context.
Returns:
the ActionLocator that is configured via the servletContext.

getActionLocator

public static ActionLocator getActionLocator(javax.servlet.ServletContext servletContext,
                                             String beanName)
Returns the ActionLocator as configured on the WebAppContext bean by the name 'beanName'.

Parameters:
servletContext - the servlet context.
Returns:
the ActionLocator that is configured via the servletContext.


Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.