|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.platform.plugin.services.pluginmgr.PluginUtil
public class PluginUtil
Constructor Summary | |
---|---|
PluginUtil()
|
Method Summary | |
---|---|
static java.lang.ClassLoader |
getClassLoaderForService(java.lang.String path)
If the service specified by serviceId is supplied by a plugin,
the ClassLoader used to load classes for the associated plugin is returned. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PluginUtil()
Method Detail |
---|
public static java.lang.ClassLoader getClassLoaderForService(java.lang.String path)
serviceId
is supplied by a plugin,
the ClassLoader used to load classes for the associated plugin is returned.
This is a handy method to use if you want to find resources associated with
a particular (plugin-supplied) service, such as a GWT serialization policy
file, properties files, etc. If the service was not supplied by a plugin,
then null
is returned.
path
- a path to a plugin resource
null
if
the service was not plugin-supplied or the plugin manager cannot identify the service.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |