com.continuent.tungsten.replicator.plugin
Class PluginSpecification
java.lang.Object
com.continuent.tungsten.replicator.plugin.PluginSpecification
public class PluginSpecification
- extends java.lang.Object
Specification for a component, including the implementation class and input
properties, and utility methods to manage the component life cycle.
- Version:
- 1.0
- Author:
- Robert Hodges
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginSpecification
public PluginSpecification(java.lang.String prefix,
java.lang.String name,
java.lang.Class<?> pluginClass,
TungstenProperties properties)
getPrefix
public java.lang.String getPrefix()
getName
public java.lang.String getName()
getPluginClass
public java.lang.Class<?> getPluginClass()
getProperties
public TungstenProperties getProperties()
instantiate
public ReplicatorPlugin instantiate(int id)
throws ReplicatorException
- Instantiate the plugin and assign properties.
- Throws:
PluginException - Thrown if instantiation fails
ReplicatorException