| java.lang.Object org.apache.tapestry.ioc.internal.util.OneShotLock
OneShotLock | public class OneShotLock (Code) | | Logic for handling one shot semantics for classes; classes that include a method (or methods)
that "locks down" the instance, to prevent it from being used again in the future.
|
Method Summary | |
public synchronized void | check() Checks to see if the lock has been set (via
OneShotLock.lock() ). | public synchronized void | lock() Checks the lock, then sets it. |
lock | public synchronized void lock()(Code) | | Checks the lock, then sets it.
|
|
|