public interface NamedLockFactoryAdapterFactory
NamedLockFactoryAdapter.| Modifier and Type | Method and Description |
|---|---|
NamedLockFactoryAdapter |
getAdapter(RepositorySystemSession session)
Creates or returns pre-created
NamedLockFactoryAdapter, never null. |
NamedLockFactoryAdapter getAdapter(RepositorySystemSession session)
NamedLockFactoryAdapter, never null.
It is left at the discretion of the implementation what happens on this method call: it may create always new instances, or return the same instance. One thing is required for the implementation: to shut down any name lock factory it used during any invocation of this method.