/** * Gets an instance of the FeatureLockFactory. * * @return A FeatureLockFactory instance. * @throws FactoryRegistryException If there exists a configuration error. */ public static FeatureLockFactory getInstance() throws FactoryRegistryException { if (factory == null) { factory = CommonFactoryFinder.getFeatureLockFactory(null); } return factory; }
/** * Gets an instance of the FeatureLockFactory. * * @return A FeatureLockFactory instance. * * @throws FactoryConfigurationError If there exists a configuration error. */ public static FeatureLockFactory getInstance() throws FactoryConfigurationError { if (factory == null) { factory = CommonFactoryFinder.getFeatureLockFactory( null ); } return factory; }