net.sf.mmapps.commons.bridge
Class CloudThreadLocal

java.lang.Object
  extended by net.sf.mmapps.commons.bridge.CloudThreadLocal

public class CloudThreadLocal
extends java.lang.Object


Constructor Summary
CloudThreadLocal()
           
 
Method Summary
static void bind(org.mmbase.bridge.Cloud cloud)
          Associates the given cloud with the current thread of execution.
static org.mmbase.bridge.Cloud currentCloud()
           
static org.mmbase.bridge.Cloud unbind()
          Unassociate a previously bound cloud from the current thread of execution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloudThreadLocal

public CloudThreadLocal()
Method Detail

currentCloud

public static org.mmbase.bridge.Cloud currentCloud()

bind

public static void bind(org.mmbase.bridge.Cloud cloud)
Associates the given cloud with the current thread of execution.

Parameters:
cloud - The cloud to bind.

unbind

public static org.mmbase.bridge.Cloud unbind()
Unassociate a previously bound cloud from the current thread of execution.

Returns:
The cloud which was unbound.


Copyright © 2003-2006 mmapps. All Rights Reserved.