Comments (2)
Please stop using ancient versions of dbus-java or Java!
dbus-java 3.x is EOL since 09/2022, probably has several bugs and will no longer be supported by any means.
Also using Java versions which are EOL since 03/2022 (only commerical "support" still available) is a bad idea due to missing security fixes etc.
Anyway, to publish a property on the bus, you may take a look at DBusProperty annotation. See javadoc in the class on how to use it.
I can only highly endorse the use of dbus-java 5.x (no release yet, but snaphots are available), which greatly improves the way to use or provide properties on DBus (see #235) and uses a lot of the features Java 17 provides for about 2 years. It also fixes a lot of bugs, concurrency issues, removes the use of unsupported/unmaintained libmatthew and so on.
from dbus-java.
Thanks for your support, hypfvieh.
That’s really a good choice to use new version,
and the annotations looks very friendly.
from dbus-java.
Related Issues (20)
- EmbeddedDBusDaemon thread never ends. HOT 4
- SASL `AUTH_ANON` failing in 4.3.1 and embedded daemon. HOT 6
- [Support] Screen recording on Linux (Wayland) using GStreamer and Pipewire... DBUS is really important here... HOT 3
- Embedded Daemon many repeating`Connection to null broken` messages HOT 6
- (ub) Type help
- Structs in Properties, is it possible? HOT 3
- dbus-java's Maven site is difficult to discover
- Emit meaningful error message instead of IndexOutOfBoundsException when demarshalling FileDescriptor without prerequisites satisfied HOT 5
- DBusSignal constructor is package private HOT 1
- Kotlin Interface does not work HOT 3
- NPE in org.freedesktop.dbus.connections.AbstractConnection.internalDisconnect(IOException) prevents JVM shutdown HOT 4
- Documentation example does not work correctly. HOT 1
- In version 5, `withAutoConnect(false)` appears broken. HOT 2
- Cleanup AbstractConnection
- `default` interface methods. Or not. HOT 7
- problem to execute DBusViewer HOT 3
- Properties Get method endless waiting HOT 1
- Cannot connect to DBUS HOT 11
- Sending signal with byte[] fails with verbose logging HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbus-java.