public class ServiceArtefactHandler extends ArtefactHandlerAdapter
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PLUGIN_NAME |
static java.lang.String |
TYPE |
log| Constructor and Description |
|---|
ServiceArtefactHandler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPluginName()
Obtains the plugin name that deals with this artefact.
|
boolean |
isArtefactClass(java.lang.Class clazz)
Checks that class's name ends in the suffix specified for this handler.
|
getArtefactForFeature, getType, initialize, isArtefact, isArtefactGrailsClass, newArtefactClasspublic static final java.lang.String TYPE
public static final java.lang.String PLUGIN_NAME
public java.lang.String getPluginName()
ArtefactHandlergetPluginName in interface ArtefactHandlergetPluginName in class ArtefactHandlerAdapterpublic boolean isArtefactClass(java.lang.Class clazz)
ArtefactHandlerAdapterChecks that class's name ends in the suffix specified for this handler.
Override for more complex criteria
isArtefactClass in class ArtefactHandlerAdapterclazz - The class to check