public interface ExtensionFactory
boolean accepts(Class<?> extensionType)
extensionType- the extension type
<E> E attach(Class<E> extensionType, HandleSupplier handle)
E- the extension type
extensionType- the extension type.
handle- Supplies the database handle. This supplier may lazily open a Handle on the first invocation. Extension implementors should take care not to fetch the handle before it is needed, to avoid opening handles unnecessarily.
IllegalArgumentException- if the extension type is not supported by this factory.
Copyright © 2017. All rights reserved.