org.geotools.data
Class DefaultFeatureLockFactory

java.lang.Object
  extended byorg.geotools.data.FeatureLockFactory
      extended byorg.geotools.data.DefaultFeatureLockFactory
All Implemented Interfaces:
Factory

public class DefaultFeatureLockFactory
extends FeatureLockFactory

Default implementation of the FeatureLockFactory. Generates id numbers.

Version:
$Id: DefaultFeatureLockFactory.java 17701 2006-01-23 00:00:51Z desruisseaux $
Author:
Jody Garnett, Refractions Research, Inc., Chris Holmes, TOPP.
Task:
REVISIT: Should more of this code move to the parent? I guess if other implementations came along they may want to implement differently., REVISIT: The generation code can move to the parent. Even if other implementations come along we do not want the to implement the generation differently.

Constructor Summary
DefaultFeatureLockFactory()
           
 
Method Summary
protected  FeatureLock createLock(java.lang.String name, long duration)
           
 
Methods inherited from class org.geotools.data.FeatureLockFactory
generate, generate, getImplementationHints, getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFeatureLockFactory

public DefaultFeatureLockFactory()
Method Detail

createLock

protected FeatureLock createLock(java.lang.String name,
                                 long duration)
Specified by:
createLock in class FeatureLockFactory


Copyright © GeoTools. All Rights Reserved.