public class AnnotationToRule extends Object implements ExtensionPoint<AnnotationPlugin>
| Constructor and Description |
|---|
AnnotationToRule()
Constructor called at application initialization time.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPlugin(AnnotationPlugin plugin)
Register a plugin (called at application startup).
|
void |
allPluginsLoaded()
Signal that application has been fully loaded and no more plug-ins will be added.
|
Class<AnnotationPlugin> |
getPluginClass()
Class of plugin.
|
static SerializationRule |
getRule(SerializationUtil.Attribute attribute,
Annotation annotation)
Create the rule associated with the given annotation.
|
public AnnotationToRule()
public static SerializationRule getRule(SerializationUtil.Attribute attribute, Annotation annotation)
public Class<AnnotationPlugin> getPluginClass()
ExtensionPointgetPluginClass in interface ExtensionPoint<AnnotationPlugin>public void addPlugin(AnnotationPlugin plugin)
ExtensionPointaddPlugin in interface ExtensionPoint<AnnotationPlugin>public void allPluginsLoaded()
ExtensionPointallPluginsLoaded in interface ExtensionPoint<AnnotationPlugin>Copyright © 2017. All rights reserved.