java.lang.Object | |
↳ | org.springframework.core.type.classreading.SimpleMetadataReaderFactory |
Known Direct Subclasses |
Simple implementation of the MetadataReaderFactory
interface,
creating a new ASM org.springframework.asm.ClassReader for every request.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new SimpleMetadataReaderFactory for the default class loader.
| |||||||||||
Create a new SimpleMetadataReaderFactory for the given resource loader.
| |||||||||||
Create a new SimpleMetadataReaderFactory for the given class loader.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Obtain a MetadataReader for the given resource.
| |||||||||||
Obtain a MetadataReader for the given class name.
| |||||||||||
Return the ResourceLoader that this MetadataReaderFactory has been
constructed with.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.core.type.classreading.MetadataReaderFactory
|
Create a new SimpleMetadataReaderFactory for the default class loader.
Create a new SimpleMetadataReaderFactory for the given resource loader.
resourceLoader | the Spring ResourceLoader to use (also determines the ClassLoader to use) |
---|
Create a new SimpleMetadataReaderFactory for the given class loader.
classLoader | the ClassLoader to use |
---|
Obtain a MetadataReader for the given resource.
resource | the resource (pointing to a ".class" file) |
---|
null
)IOException |
---|
Obtain a MetadataReader for the given class name.
className | the class name (to be resolved to a ".class" file) |
---|
null
)IOException |
---|
Return the ResourceLoader that this MetadataReaderFactory has been constructed with.