org.jboss.wsf.common
Class URLLoaderAdapter
java.lang.Object
org.jboss.wsf.common.URLLoaderAdapter
- All Implemented Interfaces:
- java.io.Serializable, org.jboss.wsf.spi.deployment.UnifiedVirtualFile
public class URLLoaderAdapter
- extends java.lang.Object
- implements org.jboss.wsf.spi.deployment.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
Method Summary |
org.jboss.wsf.spi.deployment.UnifiedVirtualFile |
findChild(java.lang.String resourcePath)
|
java.util.List<org.jboss.wsf.spi.deployment.UnifiedVirtualFile> |
getChildren()
|
java.lang.String |
getName()
|
java.net.URL |
toURL()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLLoaderAdapter
public URLLoaderAdapter(java.net.URL rootURL)
findChild
public org.jboss.wsf.spi.deployment.UnifiedVirtualFile findChild(java.lang.String resourcePath)
throws java.io.IOException
- Specified by:
findChild
in interface org.jboss.wsf.spi.deployment.UnifiedVirtualFile
- Throws:
java.io.IOException
toURL
public java.net.URL toURL()
- Specified by:
toURL
in interface org.jboss.wsf.spi.deployment.UnifiedVirtualFile
getChildren
public java.util.List<org.jboss.wsf.spi.deployment.UnifiedVirtualFile> getChildren()
throws java.io.IOException
- Specified by:
getChildren
in interface org.jboss.wsf.spi.deployment.UnifiedVirtualFile
- Throws:
java.io.IOException
getName
public java.lang.String getName()
- Specified by:
getName
in interface org.jboss.wsf.spi.deployment.UnifiedVirtualFile
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.