| Constructor and Description |
|---|
EmptyExtension() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCreate(Class clazz)
Can this extension create object instance for given interface type
|
Type |
chooseImplementation(Type type)
Choose the implementation class for interface types
|
Object |
create(Class clazz)
Create object instance for given interface type
|
Decoder |
createDecoder(String cacheKey,
Type type)
Customize type decoding
|
Encoder |
createEncoder(String cacheKey,
Type type)
Customize type encoding
|
void |
updateClassDescriptor(ClassDescriptor desc)
Update how binding is done for the class
|
public Type chooseImplementation(Type type)
ExtensionchooseImplementation in interface Extensiontype - the type to decode to, could be class or parameterized typepublic boolean canCreate(Class clazz)
Extensionpublic Object create(Class clazz)
Extensionpublic Decoder createDecoder(String cacheKey, Type type)
ExtensioncreateDecoder in interface ExtensioncacheKey - name of the decodertype - change how to decode the typepublic Encoder createEncoder(String cacheKey, Type type)
ExtensioncreateEncoder in interface ExtensioncacheKey - name of the encodertype - change how to encode the typepublic void updateClassDescriptor(ClassDescriptor desc)
ExtensionupdateClassDescriptor in interface Extensiondesc - binding informationCopyright © 2019. All rights reserved.