{"id":43406366,"url":"https://github.com/aditosoftware/picoservice","last_synced_at":"2026-02-02T15:59:45.325Z","repository":{"id":29323535,"uuid":"32857079","full_name":"aditosoftware/picoservice","owner":"aditosoftware","description":"A minimalist registry for java services using serviceloader","archived":false,"fork":false,"pushed_at":"2022-08-16T15:37:32.000Z","size":35,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-08-27T00:40:48.767Z","etag":null,"topics":["service-discovery","serviceloader"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aditosoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-25T10:12:55.000Z","updated_at":"2022-08-16T15:31:55.000Z","dependencies_parsed_at":"2022-09-06T15:03:15.720Z","dependency_job_id":null,"html_url":"https://github.com/aditosoftware/picoservice","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/aditosoftware/picoservice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aditosoftware%2Fpicoservice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aditosoftware%2Fpicoservice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aditosoftware%2Fpicoservice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aditosoftware%2Fpicoservice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aditosoftware","download_url":"https://codeload.github.com/aditosoftware/picoservice/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aditosoftware%2Fpicoservice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29015061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T14:58:54.169Z","status":"ssl_error","status_checked_at":"2026-02-02T14:58:51.285Z","response_time":58,"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":["service-discovery","serviceloader"],"created_at":"2026-02-02T15:59:44.563Z","updated_at":"2026-02-02T15:59:45.319Z","avatar_url":"https://github.com/aditosoftware.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# picoservice\n\nPicoservice is a java library for service registration and service lookup. With it, you can find classes that have special meaning in your project. Internally it uses java's `ServiceLoader` so it integrates nicely with you build tools. Nothing magical is happening here.\n\nPicoservice is focused on its main purpose: registration and lookup. For registration, you have to annotate a custom annotation with `@PicoService`. Each class annotated with that custom annotation can afterwards be found by using `IPicoRegistry.INSTANCE.find(Class\u003cC\u003e pSearchedType, Class\u003cA\u003e pAnnotationClass)`.\n\nGet started\n------------\nThe easiest way to get started with picoservice is using the following snippet in your pom.xml.\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ede.adito.picoservice\u003c/groupId\u003e\n  \u003cartifactId\u003epicoservice\u003c/artifactId\u003e\n  \u003cversion\u003e1.1.7\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nExample of usage\n----------------\n\nCustom annotation which is put on classes for registration:\n```java\n@Retention(RetentionPolicy.RUNTIME)\n@Target(ElementType.TYPE)\n@PicoService\npublic @interface TestAnno\n{\n  int value();\n}\n```\n\nAnnotated class 1:\n```java\n@TestAnno(10)\npublic class TestAnnotated\n{\n}\n```\n\nAnnotated class 2:\n```java\n@TestAnno(20)\npublic class TestAnnotated2\n{\n}\n```\n\nFind those classes:\n```java\npublic class Test\n{\n  public static void main(String[] args)\n  {\n    Map\u003cClass\u003c?\u003e, TestAnno\u003e map = IPicoRegistry.INSTANCE.find(Object.class, TestAnno.class);\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faditosoftware%2Fpicoservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faditosoftware%2Fpicoservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faditosoftware%2Fpicoservice/lists"}