Converted Connection to OSGi format