DBus interfaces have name clashes with interfaces
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dbus-java (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
I'm writing a java for packagekit dbus deamon (http://
The daemon exports tow interfaces:
1- src/org.
2 - src/org.
The first, using the CreateInterface tool, instantiates an interface classes, see attach code
3.1 - First file creates interface PackageKit in package org.freedesktop.
3.2 - Second file creates in package interface Transaction in package org.freedesktop
3.2.1 - In interface Transaction, a Transaction static inner class is created, which also has a clash with the outer class.
Any suggestion on how to solve this !?
It seems that, the specification of the DBus protocol, are not completely compatible with the port to Java.
It may seem to work fine when defining and exporting objects from java clean code, to interoperate with other applications in other languages (C/C++/Python ... etc), but is does not have mechanisms implemented to deal with conflicts in DBus identifiers, and the language representation.
My guess is that there should be a mapping layer do deal with these mismatches ...
Any help is appreciated, hopefully used to improve the dbus-java interface...
Thanks,
mc