Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A tiny utility for Lifegycle to use standard annotations from the javax.annotation package
Java
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src
.gitignore
README
pom.xml

README

Lifegycle adds nifty lifecycle management to Guice. Learn more about Lifegycle here: http://99soft.github.com/lifegycle/index.html

Lifegycle-JX provides a utility class to use the standard @PostConstruct and @PreDestroy annotations rather than Lifegycle's custom ones.

The static methods on LifegycleJxModules provide configured instances of AfterInjectionModule and DisposeModule. For example:

Guice.createInjector(LifegycleJxModules.afterInjectionModule());

Both modules can be added simultaneously, along with static imports:

Guice.createInjector(afterInjectionModule(), disposeModule());

Lifegycle-jx is licensed under the Apache v2 License.
Something went wrong with that request. Please try again.