Skip to content

Vladislav-Zolotaryov/Singlio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Singlio

Singleton container for Java!

Build Status codecov.io

Usage:

  1. Annotate your class with a @Singleton annotatinon (note: it takes a boolean parameter 'lazy' that indicates how to load the singleton)

  2. Create and initialize Singlio object "Singlio singlio = new Singlio().initialize();"

  3. Use it as you will "SimpleClass simpleClass = singlio.get(SimpleClass.class);"

Releases

No releases published

Packages

No packages published

Languages