Package org.pentaho.di.core.service
Class ServiceProviderPluginType
- java.lang.Object
-
- org.pentaho.di.core.plugins.BasePluginType
-
- org.pentaho.di.core.service.ServiceProviderPluginType
-
- All Implemented Interfaces:
PluginTypeInterface
public class ServiceProviderPluginType extends BasePluginType implements PluginTypeInterface
-
-
Field Summary
-
Fields inherited from class org.pentaho.di.core.plugins.BasePluginType
id, log, name, objectTypes, PKG, pluginFolders, registry, searchLibDir
-
-
Constructor Summary
Constructors Constructor Description ServiceProviderPluginType()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addExtraClasses(Map<Class<?>,String> classMap, Class<?> clazz, Annotation annotation)
Extract extra classes information from a plugin annotation.protected String
extractCasesUrl(Annotation annotation)
protected String
extractCategory(Annotation annotation)
protected String
extractDesc(Annotation annotation)
protected String
extractDocumentationUrl(Annotation annotation)
protected String
extractForumUrl(Annotation annotation)
protected String
extractI18nPackageName(Annotation annotation)
protected String
extractID(Annotation annotation)
protected String
extractImageFile(Annotation annotation)
protected String
extractName(Annotation annotation)
protected boolean
extractSeparateClassLoader(Annotation annotation)
protected String
extractSuggestion(Annotation annotation)
static ServiceProviderPluginType
getInstance()
protected String
getMainTag()
This method return parameter for registerPlugins() methodprotected String
getSubTag()
This method return parameter for registerPlugins() methodprotected String
getXmlPluginFile()
This method return parameter for registerNatives() methodprotected void
registerXmlPlugins()
-
Methods inherited from class org.pentaho.di.core.plugins.BasePluginType
addObjectType, createUrlClassLoader, extractClassLoaderGroup, findAnnotatedClassFiles, findPluginFiles, findPluginXmlFiles, getAdditionalRuntimeObjectTypes, getAlternativePluginFile, getAlternativeTranslation, getCodedTranslation, getFileInputStreamExternal, getId, getName, getPath, getPluginFolders, getPropertyExternal, getResAsStreamExternal, getTagOrAttribute, getTranslation, handlePluginAnnotation, isReturn, populateFolders, readPluginLocale, registerCustom, registerNatives, registerPluginFromXmlResource, registerPluginJars, registerPlugins, searchPlugins, setId, setName, setPluginFolders, setTransverseLibDirs, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.pentaho.di.core.plugins.PluginTypeInterface
addObjectType, getId, getName, getPluginFolders, handlePluginAnnotation, isFragment, searchPlugins
-
-
-
-
Method Detail
-
getInstance
public static ServiceProviderPluginType getInstance()
-
getXmlPluginFile
protected String getXmlPluginFile()
Description copied from class:BasePluginType
This method return parameter for registerNatives() method- Overrides:
getXmlPluginFile
in classBasePluginType
- Returns:
- XML plugin file
-
getMainTag
protected String getMainTag()
Description copied from class:BasePluginType
This method return parameter for registerPlugins() method- Overrides:
getMainTag
in classBasePluginType
- Returns:
- Main XML tag
-
getSubTag
protected String getSubTag()
Description copied from class:BasePluginType
This method return parameter for registerPlugins() method- Overrides:
getSubTag
in classBasePluginType
- Returns:
- Subordinate XML tag
-
registerXmlPlugins
protected void registerXmlPlugins() throws KettlePluginException
- Specified by:
registerXmlPlugins
in classBasePluginType
- Throws:
KettlePluginException
-
extractID
protected String extractID(Annotation annotation)
- Specified by:
extractID
in classBasePluginType
-
extractName
protected String extractName(Annotation annotation)
- Specified by:
extractName
in classBasePluginType
-
extractDesc
protected String extractDesc(Annotation annotation)
- Specified by:
extractDesc
in classBasePluginType
-
extractCategory
protected String extractCategory(Annotation annotation)
- Specified by:
extractCategory
in classBasePluginType
-
extractImageFile
protected String extractImageFile(Annotation annotation)
- Specified by:
extractImageFile
in classBasePluginType
-
extractSeparateClassLoader
protected boolean extractSeparateClassLoader(Annotation annotation)
- Specified by:
extractSeparateClassLoader
in classBasePluginType
-
extractI18nPackageName
protected String extractI18nPackageName(Annotation annotation)
- Specified by:
extractI18nPackageName
in classBasePluginType
-
extractDocumentationUrl
protected String extractDocumentationUrl(Annotation annotation)
- Specified by:
extractDocumentationUrl
in classBasePluginType
-
extractSuggestion
protected String extractSuggestion(Annotation annotation)
- Specified by:
extractSuggestion
in classBasePluginType
-
extractCasesUrl
protected String extractCasesUrl(Annotation annotation)
- Specified by:
extractCasesUrl
in classBasePluginType
-
extractForumUrl
protected String extractForumUrl(Annotation annotation)
- Specified by:
extractForumUrl
in classBasePluginType
-
addExtraClasses
protected void addExtraClasses(Map<Class<?>,String> classMap, Class<?> clazz, Annotation annotation)
Description copied from class:BasePluginType
Extract extra classes information from a plugin annotation.- Specified by:
addExtraClasses
in classBasePluginType
-
-