Apache Commons BeanUtils
Apache Commons BeanUtils is a Java-based utility to provide component based architecture.
Apache Commons BeanUtils is a Java-based utility to provide component based architecture. /** Example displaying the new default behaviour such that it is not possible to access class level properties utilizing the BeanUtilsBean, which in turn utilizes the PropertyUtilsBean. / public void testSuppressClassPropertyByDefault() throws Exception { final BeanUtilsBean bub = new BeanUtilsBean(); final AlphaBean bean = new AlphaBean(); try { bub.getProperty(bean, "class"); fail("Could access class property!"); } catch (final NoSuchMethodException ex) { // Ok } } /** Example showing how by which one would use to revert to the behaviour prior to the 1.9.4 release where class level properties were accessible by the BeanUtilsBean and the PropertyUtilsBean. / public void testAllowAccessToClassProperty() throws Exception { final BeanUtilsBean bub = new BeanUtilsBean(); bub.getPropertyUtils().removeBeanIntrospector(SuppressPropertiesBeanIntrospector.SUPPRESS_CLASS); final AlphaBean bean = new AlphaBean(); String result = bub.getProperty(bean, "class"); assertEquals("Class property should have been accessed", "class org.apache.commons.beanutils2.AlphaBean", result); }
References
- Berglund, Tim; McCullough, Matthew (2011-07-13). Building and Testing with Gradle . O'Reilly Media, Inc. p. 57. ISBN 9781449304638 . Wikipedia revision 1341101585, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1341101585
Cite this reference
MLA "Berglund, Tim; McCullough, Matthew (2011-07-13). Building and Testing with Gradle . O'Reilly Media, Inc. p. 57. ISBN 9781449304638 . Wikipedia revision 1341101585, retrieved 2026-11-19." Berglund, Tim; McCullough, Matthew (2011-07-13). 2026-11-18. https://books.google.com/books?id=g2K2zBZWf0wC. Accessed 24 November 2026.
Chicago "Berglund, Tim; McCullough, Matthew (2011-07-13). Building and Testing with Gradle . O'Reilly Media, Inc. p. 57. ISBN 9781449304638 . Wikipedia revision 1341101585, retrieved 2026-11-19." Berglund, Tim; McCullough, Matthew (2011-07-13). 2026-11-18. https://books.google.com/books?id=g2K2zBZWf0wC.
APA Berglund, Tim; McCullough, Matthew (2011-07-13). (2026). Berglund, Tim; McCullough, Matthew (2011-07-13). Building and Testing with Gradle . O'Reilly Media, Inc. p. 57. ISBN 9781449304638 . Wikipedia revision 1341101585, retrieved 2026-11-19. Retrieved November 24, 2026, from https://books.google.com/books?id=g2K2zBZWf0wC
- Company, Sonatype (2008-09-24). Maven: The Definitive Guide: The Definitive Guide . O'Reilly Media, Inc. p. 136. ISBN 9780596551780 . {{ cite book }} : |last= has generic name ( help ) Wikipedia revision 1341101585, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1341101585
Cite this reference
MLA "Company, Sonatype (2008-09-24). Maven: The Definitive Guide: The Definitive Guide . O'Reilly Media, Inc. p. 136. ISBN 9780596551780 . {{ cite book }} : |last= has generic name ( help ) Wikipedia revision 1341101585, retrieved 2026-11-19." Company, Sonatype (2008-09-24). 2026-11-18. https://books.google.com/books?id=cBvZ4s72Z0gC. Accessed 24 November 2026.
Chicago "Company, Sonatype (2008-09-24). Maven: The Definitive Guide: The Definitive Guide . O'Reilly Media, Inc. p. 136. ISBN 9780596551780 . {{ cite book }} : |last= has generic name ( help ) Wikipedia revision 1341101585, retrieved 2026-11-19." Company, Sonatype (2008-09-24). 2026-11-18. https://books.google.com/books?id=cBvZ4s72Z0gC.
APA Company, Sonatype (2008-09-24). (2026). Company, Sonatype (2008-09-24). Maven: The Definitive Guide: The Definitive Guide . O'Reilly Media, Inc. p. 136. ISBN 9780596551780 . {{ cite book }} : |last= has generic name ( help ) Wikipedia revision 1341101585, retrieved 2026-11-19. Retrieved November 24, 2026, from https://books.google.com/books?id=cBvZ4s72Z0gC
- BeanUtils – Commons · retrieved 2019-08-19 · rev 1341101585
Cite this reference
MLA "BeanUtils – Commons." a b c "BeanUtils – Commons". 2019-08-19. https://commons.apache.org/proper/commons-beanutils/index.html. Accessed 24 November 2026.
Chicago "BeanUtils – Commons." a b c "BeanUtils – Commons". 2019-08-19. https://commons.apache.org/proper/commons-beanutils/index.html.
APA a b c "BeanUtils – Commons". (2019). BeanUtils – Commons. Retrieved November 24, 2026, from https://commons.apache.org/proper/commons-beanutils/index.html
Cite this article
MLA
"Apache Commons BeanUtils." encyclopegia.org, 2026, https://encyclopegia.org/wiki/apache-commons-beanutils. Accessed 24 November 2026.
Chicago
"Apache Commons BeanUtils." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/apache-commons-beanutils.
APA
encyclopegia.org. (2026). Apache Commons BeanUtils. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/apache-commons-beanutils
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON