{"id":18185156,"url":"https://github.com/baratharivazhagan/spring-programmatically-register-beans","last_synced_at":"2026-04-13T18:02:00.779Z","repository":{"id":121546292,"uuid":"115280407","full_name":"BarathArivazhagan/spring-programmatically-register-beans","owner":"BarathArivazhagan","description":null,"archived":false,"fork":false,"pushed_at":"2017-12-24T18:39:39.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-04T22:42:19.712Z","etag":null,"topics":["spring","spring-boot"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BarathArivazhagan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-24T18:22:54.000Z","updated_at":"2017-12-24T18:25:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"f87287e9-58fc-423c-8764-2a67b04b4e4d","html_url":"https://github.com/BarathArivazhagan/spring-programmatically-register-beans","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BarathArivazhagan/spring-programmatically-register-beans","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BarathArivazhagan%2Fspring-programmatically-register-beans","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BarathArivazhagan%2Fspring-programmatically-register-beans/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BarathArivazhagan%2Fspring-programmatically-register-beans/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BarathArivazhagan%2Fspring-programmatically-register-beans/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BarathArivazhagan","download_url":"https://codeload.github.com/BarathArivazhagan/spring-programmatically-register-beans/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BarathArivazhagan%2Fspring-programmatically-register-beans/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31764317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["spring","spring-boot"],"created_at":"2024-11-02T22:41:47.419Z","updated_at":"2026-04-13T18:02:00.765Z","avatar_url":"https://github.com/BarathArivazhagan.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spring-programmatically-register-beans\n\nSpring boot application demonstrates how to use Configurable Application context to register beans programmatically.\n\n\n### How to register a bean programmatically in spring application context ?\n\n```\nConfigurableApplicationContext applicationContext=SpringApplication.run(Application.class, args);\t\nConfigurableBeanFactory beanFactory=applicationContext.getBeanFactory();\nbeanFactory.registerSingleton(\"testBean\", new Object());\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaratharivazhagan%2Fspring-programmatically-register-beans","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaratharivazhagan%2Fspring-programmatically-register-beans","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaratharivazhagan%2Fspring-programmatically-register-beans/lists"}