@Override
    public Object getValue(final RegisteredService service, final QueryOptions queryOptions) {
        val registeredServiceWrapper = new BeanWrapperImpl(serviceClass);
        registeredServiceWrapper.setBeanInstance(service);
        if ("@class".equalsIgnoreCase(getAttributeName())) {
            return service.getClass();
        }
        return registeredServiceWrapper.isReadableProperty(getAttributeName())
            ? registeredServiceWrapper.getPropertyValue(getAttributeName())
            : StringUtils.EMPTY;
    }
Return the real query.

@return the query
core/cas-server-core-services-registry/src/main/java/org/apereo/cas/services/query/RegisteredServiceQueryAttribute.java