|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.wfnm.Config
The WebFlow Navigation Manager configuration.
The unique JVM instance of this class configure the WFMN:
Constructor Summary | |
Config()
Creates a new Config object. |
|
Config(boolean enabled,
boolean cleanerEnabled,
boolean statsEnabled,
boolean noCacheEnabled,
int defaultOwnership,
Class urlRewriter,
Class manager,
Class context,
Class pageChangedListener,
Class webflowChangedListener,
Class urlCalculator)
Creates a new Config object. |
|
Config(boolean enabled,
boolean cleanerEnabled,
boolean statsEnabled,
int defaultOwnership,
Class urlRewriter,
Class urlCalculator)
Creates a new Config object. |
|
Config(Class loaderClass)
Creates a new Config object. |
|
Config(Class loaderClass,
String fileName)
Creates a new Config object. |
|
Config(InputStream is)
Creates a new Config object. |
Method Summary | |
Class |
getContext()
Returns the context implementation. |
int |
getDefaultOwnership()
Gets the default ownership. |
ConfigException |
getException()
Gets the exception, if occurred. |
static Config |
getInstance()
Gets the unique instance of the configuration. |
Class |
getManager()
Returns the class that implements the NavigationManager interface. |
Class |
getPageChangedListener()
Returns the page changed listener class. |
Class |
getUrlCalculator()
Returns the URL calculator class. |
Class |
getUrlRewriter()
Returns the URL rewriter. |
Class |
getWebflowChangedListener()
Returns the webflow changed listener class. |
boolean |
isCleanerEnabled()
Indicates whether the cleaner is enabled. |
boolean |
isEnabled()
Indicates whether the Webflow Navigation Manager is enabled. |
boolean |
isNoCacheEnabled()
Returns true if the no cache option is enabled. |
boolean |
isStatsEnabled()
Returns true if statistics are enabled. |
static void |
setInstance(Config theInstance)
Sets the unique instance of the configuration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Config(boolean enabled, boolean cleanerEnabled, boolean statsEnabled, int defaultOwnership, Class urlRewriter, Class urlCalculator)
enabled
- true if the cleaner is enabledcleanerEnabled
- true if the webflow navigation manager is enabledstatsEnabled
- true if the statistics are enableddefaultOwnership
- the default webflows ownershipurlRewriter
- the url rewriter classurlCalculator
- the url calculator classpublic Config(boolean enabled, boolean cleanerEnabled, boolean statsEnabled, boolean noCacheEnabled, int defaultOwnership, Class urlRewriter, Class manager, Class context, Class pageChangedListener, Class webflowChangedListener, Class urlCalculator)
enabled
- true if the cleaner is enabledcleanerEnabled
- true if the webflow navigation manager is enabledstatsEnabled
- true if the statistics are enablednoCacheEnabled
- true if the no cache option is enableddefaultOwnership
- the default webflows ownershipurlRewriter
- the url rewriter classmanager
- the manager implementation to usecontext
- the context implementation to usepageChangedListener
- the page changed listener to usewebflowChangedListener
- the webflow changed listener to useurlCalculator
- the url calculator classpublic Config()
public Config(Class loaderClass, String fileName)
loaderClass
- the loader classfileName
- the file name to loadpublic Config(Class loaderClass)
loaderClass
- the loader classpublic Config(InputStream is)
is
- the input streamMethod Detail |
public static void setInstance(Config theInstance)
theInstance
- the instance of the configurationpublic static Config getInstance()
public boolean isCleanerEnabled()
public Class getContext()
public int getDefaultOwnership()
public boolean isEnabled()
public ConfigException getException()
public Class getManager()
NavigationManager
public boolean isNoCacheEnabled()
public Class getPageChangedListener()
public boolean isStatsEnabled()
public Class getUrlCalculator()
public Class getUrlRewriter()
public Class getWebflowChangedListener()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |