{"id":25976127,"url":"https://github.com/kh77/springboot-prototypeinjection","last_synced_at":"2026-04-28T09:35:41.498Z","repository":{"id":119364651,"uuid":"527038457","full_name":"kh77/springboot-prototypeinjection","owner":"kh77","description":"3 ways to call prototype class within Singleton class","archived":false,"fork":false,"pushed_at":"2022-08-20T20:58:51.000Z","size":15412,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-01T01:41:52.487Z","etag":null,"topics":["java","spring-boot","spring-injection"],"latest_commit_sha":null,"homepage":"","language":"Java","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/kh77.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,"zenodo":null}},"created_at":"2022-08-20T20:58:39.000Z","updated_at":"2022-08-25T09:50:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"d619cad9-4c79-46ac-84e2-04d69cb54208","html_url":"https://github.com/kh77/springboot-prototypeinjection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kh77/springboot-prototypeinjection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kh77%2Fspringboot-prototypeinjection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kh77%2Fspringboot-prototypeinjection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kh77%2Fspringboot-prototypeinjection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kh77%2Fspringboot-prototypeinjection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kh77","download_url":"https://codeload.github.com/kh77/springboot-prototypeinjection/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kh77%2Fspringboot-prototypeinjection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32375614,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T09:24:15.638Z","status":"ssl_error","status_checked_at":"2026-04-28T09:24:15.071Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["java","spring-boot","spring-injection"],"created_at":"2025-03-05T03:35:19.956Z","updated_at":"2026-04-28T09:35:41.492Z","avatar_url":"https://github.com/kh77.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot - Prototype injection \n\n\n    We have a scenario to get the prototype bean from singleton\n    class but when we get the prototype bean then it will be\n    treated as a singleton because it is injected in \n    another singleton class. To solve this problem\n\n    - ApplicationContext\n    - ObjectFactory\n    - LookUp (Best way) : @Lookup tells Spring to return an \n                instance of the method's return type when we invoke it.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkh77%2Fspringboot-prototypeinjection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkh77%2Fspringboot-prototypeinjection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkh77%2Fspringboot-prototypeinjection/lists"}