org.jboss.wsf.spi.util
Class URLLoaderAdapter
java.lang.Object
org.jboss.wsf.spi.util.URLLoaderAdapter
- All Implemented Interfaces:
- Serializable, UnifiedVirtualFile
public class URLLoaderAdapter
- extends Object
- implements UnifiedVirtualFile
Load resources through a URLClassLoader.
NOTE: The associated classloader doesn't do parent delegation.
- Since:
- 25.01.2007
- Author:
- Heiko.Braun@jboss.org, alessio.soldano@jboss.com
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLLoaderAdapter
public URLLoaderAdapter(URL rootURL)
findChild
public UnifiedVirtualFile findChild(String resourcePath)
throws IOException
- Specified by:
findChild in interface UnifiedVirtualFile
- Throws:
IOException
toURL
public URL toURL()
- Specified by:
toURL in interface UnifiedVirtualFile
getChildren
public List<UnifiedVirtualFile> getChildren()
throws IOException
- Specified by:
getChildren in interface UnifiedVirtualFile
- Throws:
IOException
getName
public String getName()
- Specified by:
getName in interface UnifiedVirtualFile
Copyright © 2012 JBoss, by Red Hat. All Rights Reserved.