net.northfuse.resources
Class ResourceGenerator
java.lang.Object
net.northfuse.resources.ResourceGenerator
- All Implemented Interfaces:
- org.springframework.context.ApplicationContextAware
public final class ResourceGenerator
- extends Object
- implements org.springframework.context.ApplicationContextAware
- Author:
- tylers2
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceGenerator
public ResourceGenerator()
- Creates a resource generator.
setResources
public void setResources(List<String> resources)
- Sets the resources.
- Parameters:
resources - The new resources to add
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
getAggregatedResource
public AggregatedResource getAggregatedResource()
- Builds the resource from all the given resources.
- Returns:
- The constructed resource
Copyright © 2011. All Rights Reserved.