接口的使用
org.springframework.core.ParameterNameDiscoverer
使用ParameterNameDiscoverer的程序包 程序包 说明 org.springframework.aop.aspectj AspectJ integration package.org.springframework.aop.aspectj.annotation Classes enabling AspectJ 5 @Annotated classes to be used in Spring AOP.org.springframework.beans.factory.config SPI interfaces and configuration-related convenience classes for bean factories.org.springframework.beans.factory.support Classes supporting theorg.springframework.beans.factory
package.org.springframework.context.expression Expression parsing support within a Spring application context.org.springframework.core Provides basic classes for exception handling and version detection, and other core helpers that are not specific to any part of the framework.org.springframework.jmx.export.assembler Provides a strategy for MBeanInfo assembly.org.springframework.messaging.handler.invocation Common infrastructure for invoking message handler methods.org.springframework.messaging.handler.invocation.reactive Common infrastructure for invoking message handler methods with non-blocking, and reactive contracts.org.springframework.validation.beanvalidation Support classes for integrating a JSR-303 Bean Validation provider (such as Hibernate Validator) into a Spring ApplicationContext and in particular with Spring's data binding and validation APIs.org.springframework.web.method.support Generic support classes for handler method processing.org.springframework.web.reactive.result.method Infrastructure for handler method processing.org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotation
package.org.springframework.aop.aspectj中ParameterNameDiscoverer的使用
实现ParameterNameDiscoverer的org.springframework.aop.aspectj中的类 修饰符和类型 类 说明 class
AspectJAdviceParameterNameDiscoverer
ParameterNameDiscoverer
implementation that tries to deduce parameter names for an advice method from the pointcut expression, returning, and throwing clauses.返回ParameterNameDiscoverer的org.springframework.aop.aspectj中的方法 修饰符和类型 方法 说明 protected ParameterNameDiscoverer
AbstractAspectJAdvice. createParameterNameDiscoverer()
Create a ParameterNameDiscoverer to be used for argument binding.org.springframework.aop.aspectj.annotation中ParameterNameDiscoverer的使用
声明为ParameterNameDiscoverer的org.springframework.aop.aspectj.annotation中的字段 修饰符和类型 字段 说明 protected ParameterNameDiscoverer
AbstractAspectJAdvisorFactory. parameterNameDiscoverer
org.springframework.beans.factory.config中ParameterNameDiscoverer的使用
参数类型为ParameterNameDiscoverer的org.springframework.beans.factory.config中的方法 修饰符和类型 方法 说明 void
DependencyDescriptor. initParameterNameDiscovery(ParameterNameDiscoverer parameterNameDiscoverer)
Initialize parameter name discovery for the underlying method parameter, if any.org.springframework.beans.factory.support中ParameterNameDiscoverer的使用
返回ParameterNameDiscoverer的org.springframework.beans.factory.support中的方法 修饰符和类型 方法 说明 protected ParameterNameDiscoverer
AbstractAutowireCapableBeanFactory. getParameterNameDiscoverer()
Return the ParameterNameDiscoverer to use for resolving method parameter names if needed.参数类型为ParameterNameDiscoverer的org.springframework.beans.factory.support中的方法 修饰符和类型 方法 说明 void
AbstractAutowireCapableBeanFactory. setParameterNameDiscoverer(ParameterNameDiscoverer parameterNameDiscoverer)
Set the ParameterNameDiscoverer to use for resolving method parameter names if needed (e.g. for constructor names).org.springframework.context.expression中ParameterNameDiscoverer的使用
返回ParameterNameDiscoverer的org.springframework.context.expression中的方法 修饰符和类型 方法 说明 protected ParameterNameDiscoverer
CachedExpressionEvaluator. getParameterNameDiscoverer()
Return a shared parameter name discoverer which caches data internally.参数类型为ParameterNameDiscoverer的org.springframework.context.expression中的构造器 构造器 说明 MethodBasedEvaluationContext(Object rootObject, Method method, Object[] arguments, ParameterNameDiscoverer parameterNameDiscoverer)
org.springframework.core中ParameterNameDiscoverer的使用
实现ParameterNameDiscoverer的org.springframework.core中的类 修饰符和类型 类 说明 class
DefaultParameterNameDiscoverer
Default implementation of theParameterNameDiscoverer
strategy interface, using the Java 8 standard reflection mechanism (if available), and falling back to the ASM-basedLocalVariableTableParameterNameDiscoverer
for checking debug information in the class file.class
KotlinReflectionParameterNameDiscoverer
ParameterNameDiscoverer
implementation which uses Kotlin's reflection facilities for introspecting parameter names.class
LocalVariableTableParameterNameDiscoverer
Implementation ofParameterNameDiscoverer
that uses the LocalVariableTable information in the method attributes to discover parameter names.class
PrioritizedParameterNameDiscoverer
ParameterNameDiscoverer
implementation that tries several discoverer delegates in succession.class
StandardReflectionParameterNameDiscoverer
ParameterNameDiscoverer
implementation which uses JDK 8's reflection facilities for introspecting parameter names (based on the "-parameters" compiler flag).参数类型为ParameterNameDiscoverer的org.springframework.core中的方法 修饰符和类型 方法 说明 void
PrioritizedParameterNameDiscoverer. addDiscoverer(ParameterNameDiscoverer pnd)
Add a furtherParameterNameDiscoverer
delegate to the list of discoverers that thisPrioritizedParameterNameDiscoverer
checks.void
MethodParameter. initParameterNameDiscovery(ParameterNameDiscoverer parameterNameDiscoverer)
Initialize parameter name discovery for this method parameter.org.springframework.jmx.export.assembler中ParameterNameDiscoverer的使用
返回ParameterNameDiscoverer的org.springframework.jmx.export.assembler中的方法 修饰符和类型 方法 说明 protected ParameterNameDiscoverer
AbstractReflectiveMBeanInfoAssembler. getParameterNameDiscoverer()
Return the ParameterNameDiscoverer to use for resolving method parameter names if needed (may benull
in order to skip parameter detection).参数类型为ParameterNameDiscoverer的org.springframework.jmx.export.assembler中的方法 修饰符和类型 方法 说明 void
AbstractReflectiveMBeanInfoAssembler. setParameterNameDiscoverer(ParameterNameDiscoverer parameterNameDiscoverer)
Set the ParameterNameDiscoverer to use for resolving method parameter names if needed (e.g. for parameter names of MBean operation methods).org.springframework.messaging.handler.invocation中ParameterNameDiscoverer的使用
参数类型为ParameterNameDiscoverer的org.springframework.messaging.handler.invocation中的方法 修饰符和类型 方法 说明 void
InvocableHandlerMethod. setParameterNameDiscoverer(ParameterNameDiscoverer parameterNameDiscoverer)
Set the ParameterNameDiscoverer for resolving parameter names when needed (e.g. default request attribute name).org.springframework.messaging.handler.invocation.reactive中ParameterNameDiscoverer的使用
返回ParameterNameDiscoverer的org.springframework.messaging.handler.invocation.reactive中的方法 修饰符和类型 方法 说明 ParameterNameDiscoverer
InvocableHandlerMethod. getParameterNameDiscoverer()
Return the configured parameter name discoverer.参数类型为ParameterNameDiscoverer的org.springframework.messaging.handler.invocation.reactive中的方法 修饰符和类型 方法 说明 void
InvocableHandlerMethod. setParameterNameDiscoverer(ParameterNameDiscoverer nameDiscoverer)
Set the ParameterNameDiscoverer for resolving parameter names when needed (e.g. default request attribute name).org.springframework.validation.beanvalidation中ParameterNameDiscoverer的使用
参数类型为ParameterNameDiscoverer的org.springframework.validation.beanvalidation中的方法 修饰符和类型 方法 说明 void
LocalValidatorFactoryBean. setParameterNameDiscoverer(ParameterNameDiscoverer parameterNameDiscoverer)
Set the ParameterNameDiscoverer to use for resolving method and constructor parameter names if needed for message interpolation.org.springframework.web.method.support中ParameterNameDiscoverer的使用
参数类型为ParameterNameDiscoverer的org.springframework.web.method.support中的方法 修饰符和类型 方法 说明 void
InvocableHandlerMethod. setParameterNameDiscoverer(ParameterNameDiscoverer parameterNameDiscoverer)
Set the ParameterNameDiscoverer for resolving parameter names when needed (e.g. default request attribute name).org.springframework.web.reactive.result.method中ParameterNameDiscoverer的使用
返回ParameterNameDiscoverer的org.springframework.web.reactive.result.method中的方法 修饰符和类型 方法 说明 ParameterNameDiscoverer
InvocableHandlerMethod. getParameterNameDiscoverer()
Return the configured parameter name discoverer.ParameterNameDiscoverer
SyncInvocableHandlerMethod. getParameterNameDiscoverer()
Return the configured parameter name discoverer.参数类型为ParameterNameDiscoverer的org.springframework.web.reactive.result.method中的方法 修饰符和类型 方法 说明 void
InvocableHandlerMethod. setParameterNameDiscoverer(ParameterNameDiscoverer nameDiscoverer)
Set the ParameterNameDiscoverer for resolving parameter names when needed (e.g. default request attribute name).void
SyncInvocableHandlerMethod. setParameterNameDiscoverer(ParameterNameDiscoverer nameDiscoverer)
Set the ParameterNameDiscoverer for resolving parameter names when needed (e.g. default request attribute name).org.springframework.web.servlet.mvc.method.annotation中ParameterNameDiscoverer的使用
参数类型为ParameterNameDiscoverer的org.springframework.web.servlet.mvc.method.annotation中的方法 修饰符和类型 方法 说明 void
RequestMappingHandlerAdapter. setParameterNameDiscoverer(ParameterNameDiscoverer parameterNameDiscoverer)
Set the ParameterNameDiscoverer to use for resolving method parameter names if needed (e.g. for default attribute names).