org.jboss.weld.environment.se.discovery.url
Class WeldSEResourceLoader
java.lang.Object
org.jboss.weld.environment.se.discovery.url.WeldSEResourceLoader
- All Implemented Interfaces:
- org.jboss.weld.bootstrap.api.Service, org.jboss.weld.resources.spi.ResourceLoader
public class WeldSEResourceLoader
- extends Object
- implements org.jboss.weld.resources.spi.ResourceLoader
A simple resource loader.
Uses WeldSEResourceLoader
's classloader if the Thread Context
Classloader isn't available
- Author:
- Pete Muir
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 |
WeldSEResourceLoader
public WeldSEResourceLoader()
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
getClassLoader
public static ClassLoader getClassLoader()
Copyright © 2013 Seam Framework. All Rights Reserved.