org.apache.beehive.netui.core.factory
Class FactoryUtils

Object
  extended by FactoryUtils

public class FactoryUtils
extends Object

Utility class for creating ServletContext-scoped factories.


Constructor Summary
FactoryUtils()
           
 
Method Summary
static Factory getFactory(ServletContext servletContext, Class factoryType, FactoryConfig config)
           
static Factory getFactory(ServletContext servletContext, PageFlowFactoryConfig factoryBean, Class factoryType)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FactoryUtils

public FactoryUtils()
Method Detail

getFactory

public static Factory getFactory(ServletContext servletContext,
                                 PageFlowFactoryConfig factoryBean,
                                 Class factoryType)

getFactory

public static Factory getFactory(ServletContext servletContext,
                                 Class factoryType,
                                 FactoryConfig config)