org.apache.struts2.osgi
Class BundleClassLoaderInterface
java.lang.Object
org.apache.struts2.osgi.BundleClassLoaderInterface
- All Implemented Interfaces:
- com.opensymphony.xwork2.util.finder.ClassLoaderInterface
public class BundleClassLoaderInterface
- extends java.lang.Object
- implements com.opensymphony.xwork2.util.finder.ClassLoaderInterface
ClassLoaderInterface instance that delegates to the singleton of DefaultBundleAccessor
Fields inherited from interface com.opensymphony.xwork2.util.finder.ClassLoaderInterface |
CLASS_LOADER_INTERFACE |
Method Summary |
com.opensymphony.xwork2.util.finder.ClassLoaderInterface |
getParent()
|
java.net.URL |
getResource(java.lang.String name)
|
java.io.InputStream |
getResourceAsStream(java.lang.String name)
|
java.util.Enumeration<java.net.URL> |
getResources(java.lang.String name)
|
java.lang.Class<?> |
loadClass(java.lang.String name)
|
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 com.opensymphony.xwork2.util.finder.ClassLoaderInterface
- Throws:
java.lang.ClassNotFoundException
getResource
public java.net.URL getResource(java.lang.String name)
- Specified by:
getResource
in interface com.opensymphony.xwork2.util.finder.ClassLoaderInterface
getResources
public java.util.Enumeration<java.net.URL> getResources(java.lang.String name)
throws java.io.IOException
- Specified by:
getResources
in interface com.opensymphony.xwork2.util.finder.ClassLoaderInterface
- Throws:
java.io.IOException
getResourceAsStream
public java.io.InputStream getResourceAsStream(java.lang.String name)
throws java.io.IOException
- Specified by:
getResourceAsStream
in interface com.opensymphony.xwork2.util.finder.ClassLoaderInterface
- Throws:
java.io.IOException
getParent
public com.opensymphony.xwork2.util.finder.ClassLoaderInterface getParent()
- Specified by:
getParent
in interface com.opensymphony.xwork2.util.finder.ClassLoaderInterface
Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.