public interface MetadataHandlerProvider
MetadataHandler call sites for
RelMetadataQuery. The handlers provided are responsible for
updating the cache stored in RelMetadataQuery.| Modifier and Type | Interface and Description |
|---|---|
static class |
MetadataHandlerProvider.NoHandler
Exception that indicates there there should be a handler for
this class but there is not.
|
| Modifier and Type | Method and Description |
|---|---|
<MH extends MetadataHandler<?>> |
handler(Class<MH> handlerClass)
Provide a handler for the requested metadata class.
|
default <MH extends MetadataHandler<?>> |
revise(Class<MH> handlerClass)
Revise the handler for a given kind of metadata.
|
<MH extends MetadataHandler<?>> MH handler(Class<MH> handlerClass)
MH - The metadata type the handler relates to.handlerClass - The handler interface expecteddefault <MH extends MetadataHandler<?>> MH revise(Class<MH> handlerClass)
Should be invoked if the existing handler throws a MetadataHandlerProvider.NoHandler exception.
MH - The type metadata the handler provides.handlerClass - The type of class to revise.Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.