{
  "id": "enwiki-001341101585",
  "slug": "apache-commons-beanutils",
  "title": "Apache Commons BeanUtils",
  "qid": "",
  "lead": "Apache Commons BeanUtils is a Java-based utility to provide component based architecture.",
  "body": "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); }",
  "categories": [
    "10023174",
    "22928581",
    "24165216",
    "35755158",
    "50918329",
    "99618711"
  ],
  "license": "CC BY-SA 4.0",
  "source_uri": "https://en.wikipedia.org/w/index.php?oldid=1341101585",
  "content_hash": "",
  "created_at": null,
  "updated_at": 1772365119.0,
  "claims": [],
  "contradictions": [],
  "confidence": 0.6,
  "csl": {
    "id": "enwiki-001341101585",
    "type": "webpage",
    "title": "Apache Commons BeanUtils",
    "author": [
      {
        "family": "Anticloud FZ LLE",
        "literal": "Anticloud FZ LLE"
      }
    ],
    "container-title": "encyclopegia.org",
    "publisher": "Anticloud FZ LLE",
    "publisher-place": "Dubai, United Arab Emirates",
    "URL": "https://encyclopegia.org/a/apache-commons-beanutils",
    "issued": {
      "date-parts": [
        [
          2026,
          11,
          20
        ]
      ]
    },
    "accessed": {
      "date-parts": [
        [
          2026,
          11,
          20
        ]
      ]
    },
    "license": "CC BY-SA 4.0",
    "DOI": "eo1:enwiki-001341101585",
    "isBasedOn": "https://en.wikipedia.org/w/index.php?oldid=1341101585",
    "note": "Immutable snapshot enwiki-001341101585"
  }
}