do not use method overloading for method using osgi classes