project35.soa.plugins
Class PluginLoader
java.lang.Object
project35.soa.plugins.PluginLoader
public class PluginLoader
- extends java.lang.Object
class responsible for scanning a library directory for *.plugin
jar files, identifying those which implement project35.soa.plugins,
and instantiating them as part of a list of plugins known by
the system
Copyright (c) 2008 Kevin Garwood for Project35. The original code was
developed by Kevin Garwood for the University of Manchester. Revisions
have been made for Project35, a project that is independent of that
institution. This code is licensed under the Academic Free License
version 3.0. The code attribution for the original code is included here:
Copyright (c) Kevin Garwood and University of Manchester 2007.
All rights reserved. Licensed under the Academic Free License
version 3.0. For more information on the terms and conditions,
please see the file "LICENSE" that is included in this distribution.
- Version:
- 1.0
- Author:
- Kevin Garwood (kgarwood@users.sourceforge.net)
Method Summary |
java.util.ArrayList |
loadPluginClasses(java.net.URL libraryDirectoryURL)
loads class and jar files found in the model directory "lib" folder
eg: project35/dist/models/tutorial/lib |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginLoader
public PluginLoader()
loadPluginClasses
public java.util.ArrayList loadPluginClasses(java.net.URL libraryDirectoryURL)
throws Project35Exception
- loads class and jar files found in the model directory "lib" folder
eg: project35/dist/models/tutorial/lib
- Throws:
Project35Exception