Generify getAdapter methods/calls. Change-Id: I66b7b425e7910a690e1fc500bfc3be92b1b46d68 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>