public class MethodsMetadataReaderFactory
extends org.springframework.core.type.classreading.SimpleMetadataReaderFactory
SimpleMetadataReaderFactory that reads MethodsMetadata, creating a new ASM
MethodsMetadataReader for every request.| Constructor and Description |
|---|
MethodsMetadataReaderFactory()
Create a new
MethodsMetadataReaderFactory for the default class loader. |
MethodsMetadataReaderFactory(ClassLoader classLoader)
Create a new
MethodsMetadataReaderFactory for the given ClassLoader. |
MethodsMetadataReaderFactory(org.springframework.core.io.ResourceLoader resourceLoader)
Create a new
MethodsMetadataReaderFactory for the given ResourceLoader. |
| Modifier and Type | Method and Description |
|---|---|
MethodsMetadataReader |
getMetadataReader(org.springframework.core.io.Resource resource) |
MethodsMetadataReader |
getMetadataReader(String className) |
public MethodsMetadataReaderFactory()
MethodsMetadataReaderFactory for the default class loader.public MethodsMetadataReaderFactory(@Nullable
org.springframework.core.io.ResourceLoader resourceLoader)
MethodsMetadataReaderFactory for the given ResourceLoader.resourceLoader - the Spring ResourceLoader to use (also determines the ClassLoader to use).public MethodsMetadataReaderFactory(@Nullable
ClassLoader classLoader)
MethodsMetadataReaderFactory for the given ClassLoader.classLoader - the class loader to use.public MethodsMetadataReader getMetadataReader(String className) throws IOException
getMetadataReader in interface org.springframework.core.type.classreading.MetadataReaderFactorygetMetadataReader in class org.springframework.core.type.classreading.SimpleMetadataReaderFactoryIOExceptionpublic MethodsMetadataReader getMetadataReader(org.springframework.core.io.Resource resource) throws IOException
getMetadataReader in interface org.springframework.core.type.classreading.MetadataReaderFactorygetMetadataReader in class org.springframework.core.type.classreading.SimpleMetadataReaderFactoryIOExceptionCopyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.