Class MethodsMetadataReaderFactory
java.lang.Object
org.springframework.core.type.classreading.SimpleMetadataReaderFactory
org.springframework.data.type.classreading.MethodsMetadataReaderFactory
- All Implemented Interfaces:
MetadataReaderFactory
Deprecated.
Extension of
SimpleMetadataReaderFactory
that reads MethodsMetadata
, creating a new ASM
MethodsMetadataReader
for every request.- Since:
- 2.1
- Author:
- Mark Paluch
-
Constructor Summary
ConstructorDescriptionDeprecated.Create a newMethodsMetadataReaderFactory
for the default class loader.MethodsMetadataReaderFactory
(ClassLoader classLoader) Deprecated.Create a newMethodsMetadataReaderFactory
for the givenClassLoader
.MethodsMetadataReaderFactory
(ResourceLoader resourceLoader) Deprecated.Create a newMethodsMetadataReaderFactory
for the givenResourceLoader
. -
Method Summary
Modifier and TypeMethodDescriptiongetMetadataReader
(String className) Deprecated.getMetadataReader
(Resource resource) Deprecated.Methods inherited from class org.springframework.core.type.classreading.SimpleMetadataReaderFactory
getResourceLoader
-
Constructor Details
-
MethodsMetadataReaderFactory
public MethodsMetadataReaderFactory()Deprecated.Create a newMethodsMetadataReaderFactory
for the default class loader. -
MethodsMetadataReaderFactory
Deprecated.Create a newMethodsMetadataReaderFactory
for the givenResourceLoader
.- Parameters:
resourceLoader
- the SpringResourceLoader
to use (also determines theClassLoader
to use).
-
MethodsMetadataReaderFactory
Deprecated.Create a newMethodsMetadataReaderFactory
for the givenClassLoader
.- Parameters:
classLoader
- the class loader to use.
-
-
Method Details
-
getMetadataReader
Deprecated.- Specified by:
getMetadataReader
in interfaceMetadataReaderFactory
- Overrides:
getMetadataReader
in classSimpleMetadataReaderFactory
- Throws:
IOException
-
getMetadataReader
Deprecated.- Specified by:
getMetadataReader
in interfaceMetadataReaderFactory
- Overrides:
getMetadataReader
in classSimpleMetadataReaderFactory
- Throws:
IOException
-
SimpleMetadataReaderFactory
directly.