public class PluginFactory extends java.lang.Object implements PluginFactory
| Constructor and Description |
|---|
PluginFactory() |
| Modifier and Type | Method and Description |
|---|---|
Plugin |
create(Communicator communicator,
java.lang.String name,
java.lang.String[] args)
Returns a new plug-in.
|
public Plugin create(Communicator communicator, java.lang.String name, java.lang.String[] args)
create in interface PluginFactorycommunicator - The communicator for the plug-in.name - The name of the plug-in.args - The arguments that are specified in the plug-in's configuration.null can be returned to indicate
that a general error occurred. Alternatively, create can throw
PluginInitializationException to provide more detailed information.