Version: 1.1.1

org.inb.biomoby
Class MobyClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by org.inb.biomoby.MobyClassLoader

public class MobyClassLoader
extends ClassLoader

Custom classloader which is used to intercept JAXBContext loading. Allows to ignore the absence of generated datatype classes.

Author:
Dmitry Repchevsky

Constructor Summary
MobyClassLoader(ClassLoader classloader)
           
 
Method Summary
 URL getResource(String name)
           
 InputStream getResourceAsStream(String name)
           
 Class<?> loadClass(String name)
           
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, getParent, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MobyClassLoader

public MobyClassLoader(ClassLoader classloader)
Method Detail

loadClass

public Class<?> loadClass(String name)
                   throws ClassNotFoundException
Overrides:
loadClass in class ClassLoader
Throws:
ClassNotFoundException

getResource

public URL getResource(String name)
Overrides:
getResource in class ClassLoader

getResourceAsStream

public InputStream getResourceAsStream(String name)
Overrides:
getResourceAsStream in class ClassLoader

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010