ObjectPortal

darkware.org Java, Projects ObjectPortal
ObjectPortal

Java Projects

ObjectPortal

Posted By darkware

ObjectPortal is a modular dependency injection and context management library. It’s designed to be easily extensible and simply to use while still supporting reasonable testability.

  • Dependency injection via standardized @Inject annotations and most of the assumed usages developers expect from its use.
  • Support for multiple injection methods
    • Automatic injection via factory methods: ObjectPortal.newInstance(Example.class)
    • On-demand injection via facade method: ObjectPortal.autoInject(this)
    • Manual initialization via object retrieval: Example e = ObjectPortal.take(Example.class)
  • Support for generic object storage and retrieval
  • Support for retrieval or injection against multiple distinct contexts, including linking contexts to families of threads.

Tagged , ,

Written by darkware