Skip to content
This repository has been archived by the owner on Oct 8, 2022. It is now read-only.
/ atbash-utils Public archive

Utility classes for Java SE, CDI, CDI-test, ...

License

Notifications You must be signed in to change notification settings

atbashEE/atbash-utils

Repository files navigation

License Build Status

utils-se : Maven Central
utils-cdi : Maven Central
utils-jsf : Maven Central

NOTE : Repository is archived and split up into the following repositories https://github.com/atbashEE/atbash-utils-se, https://github.com/atbashEE/atbash-utils-cdi, and https://github.com/atbashEE/atbash-utils-jsf

atbash-utils

Utility classes for Java SE, CDI, CDI-test, ...

  • Java SE 8 based!
  • Automatic module name defined for Java 9+
  • Runs on Java 8 and 11 Classpath.

For Java 7 support, you can use version 0.9.3.2.

Release of version 1.2.0 contains only utils SE module. The code repository will be split up soon since utils SE change rate is much higher than the CDI and JSF one and no need to release them all the time without any real changes.

utils SE

  • String Utils
  • Collection Utils
  • Top level RuntimeException and Exception for unexpected conditions
  • Proxy Utils
  • Class Utils
  • HEX encoding
  • Reading Version from MANIFEST.MF
  • Check if running within CDI container.
  • Resource API

utils CDI

Requires CDI 1.1

  • Programmatic retrieval of CDI instances.
  • Producer for SLF4J logger.
  • Manual retrieval of generic types CDI beans generated by Producer methods.
  • Fake Bean manager for testing (no need for full CDI container)

There is also a version for CDI 3.0 (Jakarta EE 9 namespace), see here.

utils JSF

Requires JSF 2.x

  • Some general useful utility methods related to JSF.
  • Fake FacesContext for unit testing

There is also a version for JSF 3.0 (Jakarta EE 9 namespace), see here.