T
- The type of catalog typeTExtra
- The classpublic interface ExtraClassCatalogRegistryModule<T extends CatalogType,TExtra> extends AdditionalCatalogRegistryModule<T>
AdditionalCatalogRegistryModule
that explicitly
has registrations of it's CatalogType
based on a per-Class
registration basis.Modifier and Type | Method and Description |
---|---|
T |
getForClass(Class<? extends TExtra> clazz)
Gets the
CatalogType based on the provided Class . |
boolean |
hasRegistrationFor(Class<? extends TExtra> mappedClass)
Gets whether the provided
Class is already registered. |
registerAdditionalCatalog
getAll, getById
registerDefaults
boolean hasRegistrationFor(Class<? extends TExtra> mappedClass)
Class
is already registered.mappedClass
- The mapped class to check for registrationT getForClass(Class<? extends TExtra> clazz)
CatalogType
based on the provided Class
.clazz
- The class to get the catalog type for