3 ms·
Also, in the package com.sun.java.swing.plaf.nimbus, there lies the infamous class InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindow
by espinchi 14y ago
Also, in the package com.sun.java.swing.plaf.nimbus, there lies the infamous class InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState (http://codenav.org/code.html?project=/jdk/1.6.0_22&path=/Source%20Packages/com.sun.java.swing.plaf.nimbus/InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState.java http://codenav.org/code.html?project=/jdk/1.6.0_22&path=...). Quite a precise name for a class that has only 36 lines.
Talking about design patterns, the folks that develop the Spring framework apparently tried to put as many of them together as they could: there is a class named AbstractSingletonProxyFactoryBean (http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/aop/framework/AbstractSingletonProxyFactoryBean.html http://static.springsource.org/spring/docs/2.5.x/api/org/spr...) in the aop package. And, the class description is no less than "Convenient proxy factory bean superclass for proxy factory beans that create only singletons".
Take that, GoF.
- Aardwolf 14y agoI love how it says "convenient" :)
- RandallBrown 14y agoAbstractSingletonProxyFactoryBean has to be a joke right?
- chris_wot 14y agoNo. It's a convenient superclass that allows beans that are themselves factories to create proxy objects. It just so happens that these proxies are singletons. Basically it's been deprecated, but its used for AOP interceptors. It gets a lot of flack, but there was a reasonable reason for the Spring developers to have created this class. Oh, and the original documentation is pretty comical. But the latest documentation makes it very clear what it does: http://static.springsource.org/spring/docs/current/javadoc-api/org/springframework/aop/framework/AbstractSingletonProxyFactoryBean.html http://static.springsource.org/spring/docs/current/javadoc-a...