public class SpringMetadataProviderImpl extends MetadataProviderBase
The bean locations are listed as part of the metadata provider service definition. The beans in this provider are loaded into a separate context from all other beans in Rice.
Modifier and Type | Field and Description |
---|---|
protected org.springframework.beans.factory.support.DefaultListableBeanFactory |
beanFactory
The default bean factory to use.
|
protected org.springframework.core.io.DefaultResourceLoader |
resourceLoader
The default resource loader to use.
|
protected List<String> |
resourceLocations
The locations of the bean resources.
|
masterMetadataMap
Constructor and Description |
---|
SpringMetadataProviderImpl()
Creates a metadata provider which can be configured via the standard spring mechanisms.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getResourceLocations()
Gets the locations of the bean resources.
|
void |
initializeMetadata(Collection<Class<?>> types)
Performs the initialization of the provider with the given set of types.
|
void |
setResourceLocations(List<String> resourceLocations)
Setter for the resource locations.
|
String |
toString() |
getMetadataForType, getSupportedTypes, handles, isClassPersistable, provideMetadata, provideMetadataForTypes, requiresListOfExistingTypes
protected List<String> resourceLocations
protected org.springframework.core.io.DefaultResourceLoader resourceLoader
protected org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory
public SpringMetadataProviderImpl()
public void initializeMetadata(Collection<Class<?>> types)
If the list is null or empty, the provider is expected to discover the types via other means, or do nothing if the types cannot be discovered.
initializeMetadata
in class MetadataProviderBase
public List<String> getResourceLocations()
public void setResourceLocations(List<String> resourceLocations)
resourceLocations
- the resource locations to set.Copyright © 2005–2015 The Kuali Foundation. All rights reserved.