Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [osgi-technology-dev] slf4j-osgi and slf4j 2.0

I concur. I don’t see any reason to delay this.

 

logo-blue (version 2 cut out)Fr Jeremy Krieg

Chief Executive Officer

 

Greek Welfare Centre SA

St Philothei

Greek Orthodox Archdiocese of Australia

 

213 Henley Beach Road

TORRENSVILLE SA 5031

Phone: (08) 8212 5100

manager@xxxxxxxxxxxxxxxxxxxxx

www.greekwelfaresa.org.au

 

From: osgi-technology-dev [mailto:osgi-technology-dev-bounces@xxxxxxxxxxx] On Behalf Of BJ Hargrave
Sent: Wednesday, 31 August 2022 9:14 AM
To: osgi-technology-dev@xxxxxxxxxxx
Subject: [osgi-technology-dev] slf4j-osgi and slf4j 2.0

 

slf4j 2.0 has been released to maven central. For 2.0, they change to use ServiceLoader to locate the binding instead of the binding being a specific class name loaded from the class path.

 

I have updated the slf4j-osgi code to work with slf4j 2.0. The slf4j.api 2.0 bundle uses Service Loader Mediator to connect to implementations. The slf4j.osgi 2.0 bundle now also uses Service Loader Mediator to provide the implementation. Spi-Fly is used in the test to connect the provider and consumer.

 

Since slf4j 2.0 is now in the wild and dependabot is encouraging people to update, I think we should make a release of this new 2.0 version of slf4j-osgi to maven central. Any concerns?

 

-- 

BJ Hargrave
Senior Technical Staff Member, IBM // office: +1 386 848 1781
OSGi Fellow and OSGi Specification Project lead // mobile: +1 386 848 3788
hargrave@xxxxxxxxxx

 

GIF image


Back to the top