{"id":54116,"library":"spring-beans","title":"Spring Beans","description":"Spring Beans provides the core bean container and factory infrastructure for the Spring Framework.","status":"active","version":"7.0.8","language":"java","source_language":null,"source_url":"https://github.com/spring-projects/spring-framework","tags":["spring","beans","container","ioc"],"install":[{"cmd":"<dependency>\n  <groupId>org.springframework</groupId>\n  <artifactId>spring-beans</artifactId>\n  <version>7.0.8</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.springframework:spring-beans:7.0.8'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"BeanFactory","correct":"org.springframework.beans.factory.BeanFactory"}],"quickstart":{"code":"import org.springframework.beans.factory.BeanFactory;\nimport org.springframework.beans.factory.support.DefaultListableBeanFactory;\n\npublic class Example {\n    public static void main(String[] args) {\n        BeanFactory factory = new DefaultListableBeanFactory();\n        System.out.println(factory);\n    }\n}","lang":"java","description":"Create a DefaultListableBeanFactory instance implementing BeanFactory."},"warnings":[{"fix":"Ensure your project uses Java 17 or later and review migration guides for Spring 6 to 7.","message":"Spring Beans 7.x requires Java 17+ and may have breaking changes from earlier versions.","severity":"breaking","affected_versions":">=7.0.0"}],"env_vars":null,"search_vec":"'bean':2,4,8,18 'contain':9,19 'core':7 'factori':11 'framework':16 'infrastructur':12 'ioc':20 'provid':5 'spring':1,3,15,17","created_at":"2026-06-15T08:47:35.942282+00:00","updated_at":"2026-06-15T08:47:35.942282+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/spring-projects/spring-framework","github":"https://github.com/spring-projects/spring-framework","docs":"https://appdoc.app/artifact/org.springframework/spring-beans/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["dependency-injection"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}