Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.obinary.cms.util
Class AccessLock  view AccessLock download AccessLock.java

java.lang.Object
  extended bycom.obinary.cms.util.AccessLock

public class AccessLock
extends java.lang.Object

Date: Nov 4, 2003 Time: 5:00:26 PM

Version:
1.0

Constructor Summary
AccessLock()
           
 
Method Summary
private static java.io.File getLockFile()
           
static boolean isSet()
           Checks is the access lock has been set
static void release()
           releases any lock set by the set method (if any)
static void set()
           sets the access lock.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessLock

public AccessLock()
Method Detail

set

public static void set()
                throws java.lang.Exception

sets the access lock. No content access method check for this lock accept EntryServlet while delivering the final page or any resource (images/documents....)


release

public static void release()
                    throws java.lang.Exception

releases any lock set by the set method (if any)


isSet

public static boolean isSet()

Checks is the access lock has been set


getLockFile

private static java.io.File getLockFile()