changed method call to OSGi r4.2 compliance

Signed-off-by: Kai Kreuzer <k.kreuzer@telekom.de>