Interface NamedLockFactoryAdapterFactory

    • Method Detail

      • getAdapter

        NamedLockFactoryAdapter getAdapter​(RepositorySystemSession session)
        Creates or returns pre-created 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.