Class HandleFactory
- java.lang.Object
-
- io.apicurio.registry.storage.impl.sql.HandleFactory
-
@ApplicationScoped public class HandleFactory extends Object
- Author:
- eric.wittmann@gmail.com
-
-
Constructor Summary
Constructors Constructor Description HandleFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,X extends Exception>
RwithHandle(HandleCallback<R,X> callback)<R,X extends Exception>
RwithHandleNoException(HandleCallback<R,X> callback)
-
-
-
Method Detail
-
withHandle
public <R,X extends Exception> R withHandle(HandleCallback<R,X> callback) throws X extends Exception
- Throws:
X extends Exception
-
withHandleNoException
public <R,X extends Exception> R withHandleNoException(HandleCallback<R,X> callback) throws RegistryStorageException
- Throws:
RegistryStorageException
-
-