Skip navigation links

Pinject CDI Extension 1.1.5 API

CDI Extension Module

See: Description

Packages 
Package Description
org.soulwing.cdi.properties.converters
Built-in property converters
org.soulwing.cdi.properties.extension
CDI extension
org.soulwing.cdi.properties.resolvers
Built-in property resolvers

CDI Extension Module

Pinject is a CDI extension that injects property values into CDI-managed beans. By simply adding a @Property qualifier to your injection points and putting the corresponding property value in a properties file or system property that can be located by the extension, you can inject properties for strings, numbers, URLs, etc.

Pinject is extensible using the JDK's ServiceLoader mechanism. By providing your own property converters, the extension can inject property values of almost any type that has a well-defined string representation. Moreover, by providing your own custom resolver, you can resolve property values in practically any manner that suits the needs of your application.

Skip navigation links

Copyright © 2014–2016. All rights reserved.