Skip to content

Fork of hypfvieh's improved dbus-java version, without logging

License

Notifications You must be signed in to change notification settings

AEimre/dbus-java

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dbus-java

Improved version of Java-DBus library provided by freedesktop.org with compatibility to Java 8.

Please note this version is not compatible with 2.7.x versions as classes have been moved in other packages or were completly removed. Most import issues should be easily fixable by using 'Organize Imports'. Using this version as replacement for 2.7.x however, will not work without changing your code as well.

Changes

Changes in 3.0
  • Requires Java 8
  • Refactored AbstractConnection and all classes depending on it
  • Use ThreadPoolExecutor instead of HashMap of Threads
  • Use ConcurrentHashMap and friends where possible
  • Removed lots of synchronized blocks (when not required)
  • Better encapsulation in AbstractConnection
  • Use BlockingQueue instead of home grown solution
  • Removed EfficientMap and EfficientList, as they are not really efficient or better than the JDK provided Maps/Lists
  • Merged UnixSocket stuff of libmatthew to this library, native library libunix-java.so is still compatible with older libmatthew; Main reason is, that the unix socket library of libmatthew is very DBUS specific (like providing special features for SASL/DBUS_COOKIE_SHA)

Older changes

  • Fixed lots of Java warnings (Generics, unclosed resources)
  • Removed broken 'Gettext' feature used for exception messages, english exception messages should be good enough
  • Renamed some classes/methods/variables to comply with Java naming scheme
  • Removed proprietary logger and replaced it with slf4j
  • Renamed/refactored some parts to be more 'Java' like (e.g. naming, shadowing)
  • Fixed problems with DbusConnection.getConnection(SESSION) when using display export (e.g. SSH X11 forward)
Changes by others:
  • Thanks to thjomnx for support of PropertiesChanged signal class
  • Thanks to RafalSumislawski for support of org.freedesktop.DBus.ObjectManager

About

Fork of hypfvieh's improved dbus-java version, without logging

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 89.7%
  • TeX 5.5%
  • Makefile 2.3%
  • C 1.7%
  • Other 0.8%