org.apache.struts2.osgi
Class BundleClassLoaderInterface
java.lang.Object
org.apache.struts2.osgi.BundleClassLoaderInterface
- All Implemented Interfaces:
- ClassLoaderInterface
public class BundleClassLoaderInterface
- extends java.lang.Object
- implements ClassLoaderInterface
ClassLoaderInterface instance that delegates to the singleton of DefaultBundleAccessor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BundleClassLoaderInterface
public BundleClassLoaderInterface()
loadClass
public java.lang.Class<?> loadClass(java.lang.String name)
throws java.lang.ClassNotFoundException
- Specified by:
loadClass
in interface ClassLoaderInterface
- Throws:
java.lang.ClassNotFoundException
getResource
public java.net.URL getResource(java.lang.String name)
- Specified by:
getResource
in interface ClassLoaderInterface
getResources
public java.util.Enumeration<java.net.URL> getResources(java.lang.String name)
throws java.io.IOException
- Specified by:
getResources
in interface ClassLoaderInterface
- Throws:
java.io.IOException
getResourceAsStream
public java.io.InputStream getResourceAsStream(java.lang.String name)
throws java.io.IOException
- Specified by:
getResourceAsStream
in interface ClassLoaderInterface
- Throws:
java.io.IOException
getParent
public ClassLoaderInterface getParent()
- Specified by:
getParent
in interface ClassLoaderInterface
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.