Annotation Interface DBusInterface


@Retention(RUNTIME) @Target(TYPE) public @interface DBusInterface
Marks a Java interface or class as a D-Bus interface.

This annotation is used to specify the D-Bus interface name that the annotated type represents. It's used by the introspection and property discovery mechanisms.

Example usage:


 @DBusInterface("com.example.MyService")
 public interface MyService {
     @DBusMethod
     String doSomething(String input);
 }
 
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The D-Bus interface name.
  • Element Details

    • value

      String value
      The D-Bus interface name.
      Returns:
      the interface name in D-Bus dotted notation (e.g., "com.example.Service")