picover

A PicoContainer that makes it possible to use Spring managed beans.

License

License

GroupId

GroupId

com.github.stefanbirkner
ArtifactId

ArtifactId

picover
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

picover
A PicoContainer that makes it possible to use Spring managed beans.
Source Code Management

Source Code Management

https://github.com/stefanbirkner/picover/

Download picover

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.stefanbirkner/picover/ -->
<dependency>
    <groupId>com.github.stefanbirkner</groupId>
    <artifactId>picover</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.stefanbirkner/picover/
implementation 'com.github.stefanbirkner:picover:1.0.0'
// https://jarcasting.com/artifacts/com.github.stefanbirkner/picover/
implementation ("com.github.stefanbirkner:picover:1.0.0")
'com.github.stefanbirkner:picover:jar:1.0.0'
<dependency org="com.github.stefanbirkner" name="picover" rev="1.0.0">
  <artifact name="picover" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.stefanbirkner', module='picover', version='1.0.0')
)
libraryDependencies += "com.github.stefanbirkner" % "picover" % "1.0.0"
[com.github.stefanbirkner/picover "1.0.0"]

Dependencies

compile (2)

Group / Artifact Type Version
org.picocontainer : picocontainer jar 2.14.3
org.springframework : spring-context jar 4.0.4.RELEASE

test (3)

Group / Artifact Type Version
junit : junit jar 4.11
org.hamcrest : hamcrest-core jar 1.3
org.hamcrest : hamcrest-library jar 1.3

Project Modules

There are no modules declared in this project.

Picover

Build Status

Picover brings a Pico container for a smooth migration from PicoContainer DI to Spring DI. With this container you can migrate your components one by one. The application is kept in a runnable state during the whole migration.

Picover is published under the MIT license.

SpringPicoContainer

Picover provides SpringPicoContainer. This container doesn't manage components by itself but uses a BeanFactory that provides the components. It is intended to be used as a parent container.

BeanFactory beanFactory = getBeanFactory(); //e.g. the application context
SpringPicoContainer springPicoContainer = new SpringPicoContainer(beanFactory);
MutablePicoContainer pico = new DefaultPicoContainer(springPicoContainer);

Get Picover

Picover is available from Maven Central.

<dependency>
  <groupId>com.github.stefanbirkner</groupId>
  <artifactId>picover</artifactId>
  <version>1.0.0</version>
</dependency>

Versions

Version
1.0.0