接口的使用
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.factorypackage.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.annotationpackage.org.springframework.aop.aspectj中ParameterNameDiscoverer的使用
实现ParameterNameDiscoverer的org.springframework.aop.aspectj中的类 修饰符和类型 类 说明 classAspectJAdviceParameterNameDiscovererParameterNameDiscovererimplementation that tries to deduce parameter names for an advice method from the pointcut expression, returning, and throwing clauses.返回ParameterNameDiscoverer的org.springframework.aop.aspectj中的方法 修饰符和类型 方法 说明 protected ParameterNameDiscovererAbstractAspectJAdvice. createParameterNameDiscoverer()Create a ParameterNameDiscoverer to be used for argument binding.org.springframework.aop.aspectj.annotation中ParameterNameDiscoverer的使用
声明为ParameterNameDiscoverer的org.springframework.aop.aspectj.annotation中的字段 修饰符和类型 字段 说明 protected ParameterNameDiscovererAbstractAspectJAdvisorFactory. parameterNameDiscovererorg.springframework.beans.factory.config中ParameterNameDiscoverer的使用
参数类型为ParameterNameDiscoverer的org.springframework.beans.factory.config中的方法 修饰符和类型 方法 说明 voidDependencyDescriptor. 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 ParameterNameDiscovererAbstractAutowireCapableBeanFactory. getParameterNameDiscoverer()Return the ParameterNameDiscoverer to use for resolving method parameter names if needed.参数类型为ParameterNameDiscoverer的org.springframework.beans.factory.support中的方法 修饰符和类型 方法 说明 voidAbstractAutowireCapableBeanFactory. 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 ParameterNameDiscovererCachedExpressionEvaluator. 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中的类 修饰符和类型 类 说明 classDefaultParameterNameDiscovererDefault implementation of theParameterNameDiscovererstrategy interface, using the Java 8 standard reflection mechanism (if available), and falling back to the ASM-basedLocalVariableTableParameterNameDiscovererfor checking debug information in the class file.classKotlinReflectionParameterNameDiscovererParameterNameDiscovererimplementation which uses Kotlin's reflection facilities for introspecting parameter names.classLocalVariableTableParameterNameDiscovererImplementation ofParameterNameDiscovererthat uses the LocalVariableTable information in the method attributes to discover parameter names.classPrioritizedParameterNameDiscovererParameterNameDiscovererimplementation that tries several discoverer delegates in succession.classStandardReflectionParameterNameDiscovererParameterNameDiscovererimplementation which uses JDK 8's reflection facilities for introspecting parameter names (based on the "-parameters" compiler flag).参数类型为ParameterNameDiscoverer的org.springframework.core中的方法 修饰符和类型 方法 说明 voidPrioritizedParameterNameDiscoverer. addDiscoverer(ParameterNameDiscoverer pnd)Add a furtherParameterNameDiscovererdelegate to the list of discoverers that thisPrioritizedParameterNameDiscovererchecks.voidMethodParameter. initParameterNameDiscovery(ParameterNameDiscoverer parameterNameDiscoverer)Initialize parameter name discovery for this method parameter.org.springframework.jmx.export.assembler中ParameterNameDiscoverer的使用
返回ParameterNameDiscoverer的org.springframework.jmx.export.assembler中的方法 修饰符和类型 方法 说明 protected ParameterNameDiscovererAbstractReflectiveMBeanInfoAssembler. getParameterNameDiscoverer()Return the ParameterNameDiscoverer to use for resolving method parameter names if needed (may benullin order to skip parameter detection).参数类型为ParameterNameDiscoverer的org.springframework.jmx.export.assembler中的方法 修饰符和类型 方法 说明 voidAbstractReflectiveMBeanInfoAssembler. 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中的方法 修饰符和类型 方法 说明 voidInvocableHandlerMethod. 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中的方法 修饰符和类型 方法 说明 ParameterNameDiscovererInvocableHandlerMethod. getParameterNameDiscoverer()Return the configured parameter name discoverer.参数类型为ParameterNameDiscoverer的org.springframework.messaging.handler.invocation.reactive中的方法 修饰符和类型 方法 说明 voidInvocableHandlerMethod. 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中的方法 修饰符和类型 方法 说明 voidLocalValidatorFactoryBean. 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中的方法 修饰符和类型 方法 说明 voidInvocableHandlerMethod. 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中的方法 修饰符和类型 方法 说明 ParameterNameDiscovererInvocableHandlerMethod. getParameterNameDiscoverer()Return the configured parameter name discoverer.ParameterNameDiscovererSyncInvocableHandlerMethod. getParameterNameDiscoverer()Return the configured parameter name discoverer.参数类型为ParameterNameDiscoverer的org.springframework.web.reactive.result.method中的方法 修饰符和类型 方法 说明 voidInvocableHandlerMethod. setParameterNameDiscoverer(ParameterNameDiscoverer nameDiscoverer)Set the ParameterNameDiscoverer for resolving parameter names when needed (e.g. default request attribute name).voidSyncInvocableHandlerMethod. 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中的方法 修饰符和类型 方法 说明 voidRequestMappingHandlerAdapter. setParameterNameDiscoverer(ParameterNameDiscoverer parameterNameDiscoverer)Set the ParameterNameDiscoverer to use for resolving method parameter names if needed (e.g. for default attribute names).