org.wso2.registry.clustering
Class NodeGroupLock

java.lang.Object
  extended by org.wso2.registry.clustering.NodeGroupLock

public class NodeGroupLock
extends java.lang.Object


Field Summary
static java.lang.String INITIALIZE_LOCK
           
 
Constructor Summary
NodeGroupLock()
           
 
Method Summary
static void init(javax.sql.DataSource ds, java.lang.String clusterLockTableStatement)
           
static void lock(java.lang.String lockName)
           
static void unlock(java.lang.String lockName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INITIALIZE_LOCK

public static final java.lang.String INITIALIZE_LOCK
See Also:
Constant Field Values
Constructor Detail

NodeGroupLock

public NodeGroupLock()
Method Detail

init

public static void init(javax.sql.DataSource ds,
                        java.lang.String clusterLockTableStatement)
                 throws RegistryException
Throws:
RegistryException

lock

public static void lock(java.lang.String lockName)
                 throws RegistryException
Throws:
RegistryException

unlock

public static void unlock(java.lang.String lockName)
                   throws RegistryException
Throws:
RegistryException


Copyright © 2007 Apache Web Services Project. All Rights Reserved.