class WMSLayerProvider {

    public List<WMSLayer> getLayers()
    {
        DataModelCategory category = new DataModelCategory(null, WMSLayer.class.getName(), null);
        PropertyDescriptor<WMSLayer> property = new PropertyDescriptor<>("value", WMSLayer.class);

        SimpleQuery<WMSLayer> query = new SimpleQuery<>(category, property);

        myDataRegistry.performLocalQuery(query);

        return query.getResults();
    }

    public  WMSLayerProvider(DataRegistry registry);

}