com.continuent.tungsten.replicator.plugin
Class PluginLoader

java.lang.Object
  extended by com.continuent.tungsten.replicator.plugin.PluginLoader

public class PluginLoader
extends java.lang.Object

This class defines a PluginLoader

Version:
1.0
Author:
Teemu Ollakka

Constructor Summary
PluginLoader()
           
 
Method Summary
static ReplicatorPlugin load(java.lang.String name)
          Load plugin implementation.
static java.lang.Class<?> loadClass(java.lang.String name)
          Load plugin class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginLoader

public PluginLoader()
Method Detail

load

public static ReplicatorPlugin load(java.lang.String name)
                             throws ReplicatorException
Load plugin implementation.

Parameters:
name - The name of the plugin implementation class to be loaded.
Returns:
new plugin
Throws:
ReplicatorException

loadClass

public static java.lang.Class<?> loadClass(java.lang.String name)
                                    throws ReplicatorException
Load plugin class.

Parameters:
name - The name of the plugin implementation class to be loaded.
Returns:
new plugin class
Throws:
ReplicatorException