com.fruitioninc.jwc
Class Configuration

java.lang.Object
  |
  +--com.fruitioninc.jwc.Configuration

public class Configuration
extends java.lang.Object

JWebComponents configuration. This class is a factory for various objects. Currently, the classes of the objects returned is configurable via system properties. In the future this will be replaced by an XML configuration file. FIXME: implement the XML configuration file. FIXME: perhaps we could use the Apache configuration factory stuff.


Field Summary
static java.lang.String DEFAULT_APPLICATION_FACTORY_CLASS
           
static java.lang.String DEFAULT_SERIALIZER_FACTORY_CLASS
           
static java.lang.String DEFAULT_STATE_MANAGER_FACTORY_CLASS
           
static java.lang.String DEFAULT_VIEW_FACTORY_CLASS
           
static java.lang.String PROPERTY_APPLICATION_FACTORY_CLASS
           
static java.lang.String PROPERTY_SERIALIZER_FACTORY_CLASS
           
static java.lang.String PROPERTY_STATE_MANAGER_FACTORY_CLASS
           
static java.lang.String PROPERTY_VIEW_FACTORY_CLASS
           
 
Constructor Summary
Configuration()
           
 
Method Summary
static ApplicationFactory getApplicationFactory()
           
static SerializerFactory getSerializerFactory()
           
static StateManagerFactory getStateManagerFactory()
           
static ViewFactory getViewFactory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_APPLICATION_FACTORY_CLASS

public static final java.lang.String PROPERTY_APPLICATION_FACTORY_CLASS
See Also:
Constant Field Values

DEFAULT_APPLICATION_FACTORY_CLASS

public static final java.lang.String DEFAULT_APPLICATION_FACTORY_CLASS
See Also:
Constant Field Values

PROPERTY_VIEW_FACTORY_CLASS

public static final java.lang.String PROPERTY_VIEW_FACTORY_CLASS
See Also:
Constant Field Values

DEFAULT_VIEW_FACTORY_CLASS

public static final java.lang.String DEFAULT_VIEW_FACTORY_CLASS
See Also:
Constant Field Values

PROPERTY_SERIALIZER_FACTORY_CLASS

public static final java.lang.String PROPERTY_SERIALIZER_FACTORY_CLASS
See Also:
Constant Field Values

DEFAULT_SERIALIZER_FACTORY_CLASS

public static final java.lang.String DEFAULT_SERIALIZER_FACTORY_CLASS
See Also:
Constant Field Values

PROPERTY_STATE_MANAGER_FACTORY_CLASS

public static final java.lang.String PROPERTY_STATE_MANAGER_FACTORY_CLASS
See Also:
Constant Field Values

DEFAULT_STATE_MANAGER_FACTORY_CLASS

public static final java.lang.String DEFAULT_STATE_MANAGER_FACTORY_CLASS
See Also:
Constant Field Values
Constructor Detail

Configuration

public Configuration()
Method Detail

getApplicationFactory

public static ApplicationFactory getApplicationFactory()

getViewFactory

public static ViewFactory getViewFactory()

getSerializerFactory

public static SerializerFactory getSerializerFactory()

getStateManagerFactory

public static StateManagerFactory getStateManagerFactory()