2012-09-08 35 views
9

很多人在org.springframework.aop.framework.AbstractSingletonProxyFactoryBean的棄用中有foundhumor什麼是最短的Spring Framework類名(包括包)?

這讓我很想知道:什麼是最短的類名,包括Spring Framework 3.1.x生態系統中的包(這裏列出的是:http://www.springsource.org/projects)?

+0

似乎這是本質上是一個單線程發現自動,一旦你有目標的罐子。 (好吧,1-10行,取決於實現,但是很短)。 –

回答

10

目測http://static.springsource.org/spring/docs/3.0.x/javadoc-api/這是主要的Spring框架API,有幾個4字母的單詞包括Bean

但我不認爲AbstractSingletonProxyFactoryBean是Spring API中最長的類名。這裏有一些競爭對手:

AbstractSingletonProxyFactoryBean 
SmartInstantiationAwareBeanPostProcessor 
SingletonMetadataAwareAspectInstanceFactory 
JodaDateTimeFormatAnnotationFormatterFactory 
TransactionAwarePersistenceManagerFactoryProxy 
JdbcUpdateAffectedIncorrectNumberOfRowsException 
+12

而且,它們都是[HasThisTypePatternTriedToSneakInSomeGenericOrParameterizedTypePatternMatchingStuffAnywhereVisitor](http://grepcode.com/file/repository.springsource.com/org.aspectj/com .springsource.org.aspectj.weaver/1.6.3 /組織/ AspectJ的/韋弗/圖案/ HasThisTypePatternTriedToSneakInSomeGenericOrParameterizedTypePatternMatchingStuffAnywhereVisitor.java) – namero999