@groovy.transform.CompileStatic abstract class ClassAndMimeTypeRegistry<R extends MimeTypeProvider, K> extends java.lang.Object
Abstract class for class that maintains a registry of mappings MimeType,Class and a particular object type. Used by RendererRegistry and DataBindingSourceRegistry
Modifiers | Name | Description |
---|---|---|
class |
ClassAndMimeTypeRegistry.1 |
Constructor and description |
---|
ClassAndMimeTypeRegistry
() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addToRegisteredObjects(java.lang.Class targetType, R object) |
|
abstract K |
createCacheKey(java.lang.Class type, MimeType mimeType) |
|
R |
findMatchingObjectForMimeType(MimeType mimeType, java.lang.Object object) |
|
protected R |
findRegisteredObjectForType(java.lang.Class currentClass, MimeType mimeType) |
|
java.util.Collection<R> |
getRegisteredObjects(java.lang.Class targetType) |
|
void |
registerDefault(MimeType mt, R object) |
|
void |
removeFromCache(java.lang.Class type, MimeType mimeType) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |