public class PluginFactoryCustom extends PluginFactoryImpl
i.e. custom="test.PluginSysout",
or based on a file ' plugin_custom.properties , i.e. add
new=test.PluginCustomized, and use custom="new"
anywhere in the specification.
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE
Attribute with custom plugin information.
|
aliasToTypeNames, aliasToTypes, file, initialized, kind, templates, typeNamesToAlias| Constructor and Description |
|---|
PluginFactoryCustom()
Creates the factory loading file 'sr_plugins_custom.properties'.
|
| Modifier and Type | Method and Description |
|---|---|
IPlugin |
newPlugin(nu.xom.Node node,
IContext context)
Creates a new plugin.
|
bind, finalizePlugin, getAlias, getClass, getKind, initialize, testpublic static final String ATTRIBUTE
public PluginFactoryCustom()
public IPlugin newPlugin(nu.xom.Node node, IContext context) throws PluginException
IPluginFactorynode - The source node for plugin creation.context - The context.PluginException - On creation error.Copyright © 2016. All rights reserved.