com.salto.db.generator.plugin
Class Plugins

java.lang.Object
  extended by com.salto.db.generator.plugin.Plugins

public final class Plugins
extends java.lang.Object

Author:
rflament@laposte.net

Method Summary
 void addPlugin(IGeneratorPlugin plugin)
           
 void addPlugin(java.lang.String className)
           
static Plugins getInstance()
           
 IGeneratorPlugin getPlugin(java.lang.String pluginName)
           
 java.util.Map getPlugins()
           
 void loadConfig(java.io.InputStream is)
           
 void loadDefaultConfig()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Plugins getInstance()

getPlugins

public java.util.Map getPlugins()

addPlugin

public void addPlugin(IGeneratorPlugin plugin)

addPlugin

public void addPlugin(java.lang.String className)
               throws java.lang.ClassNotFoundException,
                      java.lang.InstantiationException,
                      java.lang.IllegalAccessException
Throws:
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException

loadConfig

public void loadConfig(java.io.InputStream is)
                throws javax.xml.parsers.ParserConfigurationException,
                       org.xml.sax.SAXException,
                       java.io.IOException,
                       org.w3c.dom.DOMException,
                       java.lang.ClassNotFoundException,
                       java.lang.InstantiationException,
                       java.lang.IllegalAccessException
Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
org.w3c.dom.DOMException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException

loadDefaultConfig

public void loadDefaultConfig()
                       throws javax.xml.parsers.ParserConfigurationException,
                              org.xml.sax.SAXException,
                              java.io.IOException,
                              org.w3c.dom.DOMException,
                              java.lang.ClassNotFoundException,
                              java.lang.InstantiationException,
                              java.lang.IllegalAccessException
Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
org.w3c.dom.DOMException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException

getPlugin

public IGeneratorPlugin getPlugin(java.lang.String pluginName)


Copyright © 2002-2008 Salto Consulting. All Rights Reserved.