public class ResourceFactoryRegistryImpl extends Object implements ResourceFactoryRegistry
Constructor and Description |
---|
ResourceFactoryRegistryImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addFactory(ResourceFactory factory) |
void |
clearFactories() |
Resource |
createResource(ResourceProperties properties) |
void |
discoverFromClasspath() |
static ResourceFactoryRegistry |
getDefaultInstance() |
Collection<ResourceFactory> |
getFactories() |
public static ResourceFactoryRegistry getDefaultInstance()
public void addFactory(ResourceFactory factory)
addFactory
in interface ResourceFactoryRegistry
public void clearFactories()
clearFactories
in interface ResourceFactoryRegistry
public Collection<ResourceFactory> getFactories()
getFactories
in interface ResourceFactoryRegistry
public Resource createResource(ResourceProperties properties)
createResource
in interface ResourceFactoryRegistry
public void discoverFromClasspath()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.