com.artenum.cassandra.plugin
Class PluginIntegrationManager

java.lang.Object
  extended byjava.lang.ClassLoader
      extended byjava.security.SecureClassLoader
          extended byjava.net.URLClassLoader
              extended bycom.artenum.cassandra.plugin.PluginIntegrationManager

public class PluginIntegrationManager
extends java.net.URLClassLoader

 Project ref           : CASSANDRA project
 Copyright and license : See relevant sections
 Status                : under development
 Creation              : 04/03/2005
 Modification          :

 Description  : Plugin class loader, and plugin integration manager.

 
Version numberAuthor (name, e-mail)Corrections/Modifications
0.1Sebastien Jourdain, jourdain@artenum.comCreation

Version:
0.1
Author:
Sebastien Jourdain

Method Summary
 void addJar(java.io.File file)
           
static PluginIntegrationManager getInstance()
           
 CassandraPluginIntegrator getPluginIntegrator(java.lang.String pluginIntegratorClassName)
           
 java.util.Collection getPluginIntegratorList()
           
 void loadDirectory(java.io.File pluginDir)
           
 
Methods inherited from class java.net.URLClassLoader
addURL, definePackage, findClass, findResource, findResources, getPermissions, getURLs, newInstance, newInstance
 
Methods inherited from class java.security.SecureClassLoader
defineClass
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static PluginIntegrationManager getInstance()

loadDirectory

public void loadDirectory(java.io.File pluginDir)

addJar

public void addJar(java.io.File file)

getPluginIntegrator

public CassandraPluginIntegrator getPluginIntegrator(java.lang.String pluginIntegratorClassName)
                                              throws java.lang.InstantiationException,
                                                     java.lang.IllegalAccessException,
                                                     java.lang.ClassNotFoundException
Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException

getPluginIntegratorList

public java.util.Collection getPluginIntegratorList()


 (c) Copyright: Artenum SARL, 101-103 Boulevard Mac Donald, 
                75019, Paris, France 2005.
                http://www.artenum.com
 
 License:

  This program is free software; you can redistribute it 
  and/or modify it under the terms of the Q Public License; 
  either version 1 of the License.

  This program is distributed in the hope that it will be
  useful, but WITHOUT ANY WARRANTY; without even the implied
  warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
  PURPOSE. See the Q Public License for more details.

  You should have received a copy of the Q Public License 
  License along with this program; 
  if not, write to:
    Artenum SARL, 101-103 Boulevard Mac Donald,
    75019, PARIS, FRANCE, e-mail: contact@artenum.com