org.jboss.deployers.structure.spi.helpers
Class EmptyResourceLoader

java.lang.Object
  extended by org.jboss.deployers.structure.spi.helpers.EmptyResourceLoader
All Implemented Interfaces:
DeploymentResourceLoader

public class EmptyResourceLoader
extends Object
implements DeploymentResourceLoader

EmptyResourceLoader.

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Field Summary
static DeploymentResourceLoader INSTANCE
          The singleton instance
 
Constructor Summary
EmptyResourceLoader()
           
 
Method Summary
 URL getResource(String name)
          Get a resource
 Enumeration<URL> getResources(String name)
          Get resources
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final DeploymentResourceLoader INSTANCE
The singleton instance

Constructor Detail

EmptyResourceLoader

public EmptyResourceLoader()
Method Detail

getResource

public URL getResource(String name)
Description copied from interface: DeploymentResourceLoader
Get a resource

Specified by:
getResource in interface DeploymentResourceLoader
Parameters:
name - the name of the resource
Returns:
the resource url

getResources

public Enumeration<URL> getResources(String name)
Description copied from interface: DeploymentResourceLoader
Get resources

Specified by:
getResources in interface DeploymentResourceLoader
Parameters:
name - the name of the resource
Returns:
the resource urls


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.