【问题标题】:What is the shortest Spring Framework class name (package included)? [closed]最短的 Spring Framework 类名(包括包)是什么? [关闭]
【发布时间】:2012-09-08 12:23:16
【问题描述】:

很多人在 org.springframework.aop.framework.AbstractSingletonProxyFactoryBean 的弃用中使用了 found humor

这让我想知道:最短的类名是什么,包括 Spring Framework 3.1.x 生态系统中的包(此处列出:http://www.springsource.org/projects)?

【问题讨论】:

  • 似乎这本质上是一个自动发现的单线,一旦你有目标罐子。 (嗯,1-10 行,取决于实现。但很短。)

标签: spring naming


【解决方案1】:

目测http://static.springsource.org/spring/docs/3.0.x/javadoc-api/这是主要的Spring Framework API,有几个4个字母的单词,包括Bean

但我不认为 AbstractSingletonProxyFactoryBean 是 Spring API 中最长的类名。以下是一些竞争对手:

AbstractSingletonProxyFactoryBean
SmartInstantiationAwareBeanPostProcessor 
SingletonMetadataAwareAspectInstanceFactory 
JodaDateTimeFormatAnnotationFormatterFactory
TransactionAwarePersistenceManagerFactoryProxy  
JdbcUpdateAffectedIncorrectNumberOfRowsException 

【讨论】:

猜你喜欢
  • 2018-08-09
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2012-12-03
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多