net.sf.wfnm
Class NavigationContextFactory

java.lang.Object
  extended bynet.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

Constructor Summary
NavigationContextFactory()
           
 
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
 

Constructor Detail

NavigationContextFactory

public NavigationContextFactory()
Method Detail

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.