org.jboss.weld.resources
Class ClassLoaderResourceLoader
java.lang.Object
org.jboss.weld.resources.ClassLoaderResourceLoader
- All Implemented Interfaces:
- org.jboss.weld.bootstrap.api.Service, org.jboss.weld.resources.spi.ResourceLoader
public class ClassLoaderResourceLoader
- extends Object
- implements org.jboss.weld.resources.spi.ResourceLoader
A (@link ResourceLoader} implementation that uses a specific @{link ClassLoader}
- Author:
- Marius Bogoevici
Fields inherited from interface org.jboss.weld.resources.spi.ResourceLoader |
PROPERTY_NAME |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassLoaderResourceLoader
public ClassLoaderResourceLoader(ClassLoader classLoader)
classForName
public Class<?> classForName(String name)
- Specified by:
classForName
in interface org.jboss.weld.resources.spi.ResourceLoader
getResource
public URL getResource(String name)
- Specified by:
getResource
in interface org.jboss.weld.resources.spi.ResourceLoader
getResources
public Collection<URL> getResources(String name)
- Specified by:
getResources
in interface org.jboss.weld.resources.spi.ResourceLoader
cleanup
public void cleanup()
- Specified by:
cleanup
in interface org.jboss.weld.bootstrap.api.Service
Copyright © 2013 Seam Framework. All Rights Reserved.