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

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

public final class ActionNameResolverUtils
extends Object

Since:
May 27, 2011
Author:
Dolf Dijkstra

Field Summary
static String ACTION_NAME_RESOLVER_BEAN
           
 
Method Summary
static ActionNameResolver getActionNameResolver(javax.servlet.ServletContext servletContext)
          Returns the ActionNameResolver as configured by spring framework on the WebApplicationContext bean by the name of gsfActionLocator.
static ActionNameResolver getActionNameResolverX(javax.servlet.ServletContext servletContext, String beanName)
          Returns the ActionNameResolver as configured by spring framework on the WebApplicationContext 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_NAME_RESOLVER_BEAN

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

getActionNameResolver

public static ActionNameResolver getActionNameResolver(javax.servlet.ServletContext servletContext)
Returns the ActionNameResolver as configured by spring framework on the WebApplicationContext bean by the name of gsfActionLocator.

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

getActionNameResolverX

public static ActionNameResolver getActionNameResolverX(javax.servlet.ServletContext servletContext,
                                                        String beanName)
Returns the ActionNameResolver as configured by spring framework on the WebApplicationContext bean by the name 'beanName'.

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


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