xmlBlaster 2.2.0 client API

org.xmlBlaster.util.classloader
Class ContextClassLoaderFactory

java.lang.Object
  extended by org.xmlBlaster.util.classloader.ContextClassLoaderFactory
All Implemented Interfaces:
ClassLoaderFactory

public class ContextClassLoaderFactory
extends java.lang.Object
implements ClassLoaderFactory

ClassLoaderFactory that returns the context classloader, to be used in embedded/appserver environments.

Set classloaderFactory=org.xmlBlaster.util.classloader.ContextClassLoaderFactory.

Version:
$Revision: 1.1 $
Author:
Peter Antman

Constructor Summary
ContextClassLoaderFactory()
           
 
Method Summary
 java.net.URLClassLoader getPluginClassLoader(PluginInfo pluginInfo)
           
 java.net.URLClassLoader getXmlBlasterClassLoader()
           
 void init(Global glob)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextClassLoaderFactory

public ContextClassLoaderFactory()
Method Detail

init

public void init(Global glob)
Specified by:
init in interface ClassLoaderFactory

getPluginClassLoader

public java.net.URLClassLoader getPluginClassLoader(PluginInfo pluginInfo)
                                             throws XmlBlasterException
Specified by:
getPluginClassLoader in interface ClassLoaderFactory
Throws:
XmlBlasterException

getXmlBlasterClassLoader

public java.net.URLClassLoader getXmlBlasterClassLoader()
                                                 throws XmlBlasterException
Specified by:
getXmlBlasterClassLoader in interface ClassLoaderFactory
Throws:
XmlBlasterException

xmlBlaster 2.2.0 client API

Copyright © 1999-2014 The xmlBlaster.org contributers.