net.sf.wfnm
Class NavigationContextFactory
java.lang.Object
net.sf.wfnm.NavigationContextFactory
- public class NavigationContextFactory
- extends Object
A factory that manage navigation manager context instances.
This class uses a ThreadLocal design pattern to collect navigation context instances each tied to a browser
request.
- Version:
- 1.0.6
- Author:
- Maurizio Albari
Method Summary |
static NavigationContext |
getInstance()
Get the navigation context instance tied to the current thread. |
static void |
restoreInstance()
Restore the navigation context instance tied to the current thread. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NavigationContextFactory
public NavigationContextFactory()
getInstance
public static NavigationContext getInstance()
- Get the navigation context instance tied to the current thread.
- Returns:
- the navigation context instance tied to the current thread
restoreInstance
public static void restoreInstance()
- Restore the navigation context instance tied to the current thread.
Copyright © 2004-2005 Maurizio Albari@SourceForge.net. All Rights Reserved.