com.deftlabs.lock.mongo
Class DistributedLockSvcFactory

java.lang.Object
  extended by com.deftlabs.lock.mongo.DistributedLockSvcFactory

public final class DistributedLockSvcFactory
extends Object

The distrbuted lock service factory.


Constructor Summary
DistributedLockSvcFactory(DistributedLockSvcOptions pOptions)
           
 
Method Summary
 DistributedLockSvc getLockSvc()
          Returns the global lock service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistributedLockSvcFactory

public DistributedLockSvcFactory(DistributedLockSvcOptions pOptions)
Method Detail

getLockSvc

public DistributedLockSvc getLockSvc()
Returns the global lock service. This method also calls the startup method on the lock service returned (when it is created).