private Long fetchServiceId(ServiceReference serviceReference) {
        return (Long) serviceReference.getProperty(org.osgi.framework.Constants.SERVICE_ID);
    }
private Long fetchServiceId ( ServiceReference serviceReference ) { return ( Long ) serviceReference . getProperty ( org . osgi . framework . Constants . SERVICE_ID ) ; }
Returns the service id with the propertype.

@param serviceReference
@return long value for the service id