org.glassfish.weld
Class ResourceLoaderImpl
java.lang.Object
org.glassfish.weld.ResourceLoaderImpl
- All Implemented Interfaces:
- org.jboss.weld.bootstrap.api.Service, org.jboss.weld.resources.spi.ResourceLoader
@Service
public class ResourceLoaderImpl
- extends java.lang.Object
- implements org.jboss.weld.resources.spi.ResourceLoader
This is implementation of ResourceLoader interface. One instance of this class
is created for each bean deployment archive. This class ensures that resource
is loaded using class loader for that bean deployment archive.
This was needed to fix issue : http://java.net/jira/browse/GLASSFISH-17396
- Author:
- kshitiz
| 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 |
ResourceLoaderImpl
public ResourceLoaderImpl(java.lang.ClassLoader cl)
classForName
public java.lang.Class<?> classForName(java.lang.String name)
- Specified by:
classForName in interface org.jboss.weld.resources.spi.ResourceLoader
getResource
public java.net.URL getResource(java.lang.String name)
- Specified by:
getResource in interface org.jboss.weld.resources.spi.ResourceLoader
getResources
public java.util.Collection<java.net.URL> getResources(java.lang.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 © 2012 GlassFish Community. All Rights Reserved.