class TransformFeatureSource implements SimpleFeatureSource {

    @Override
    public Set<Key> getSupportedHints() {
        // set up hints
        Set<Key> hints = new HashSet<Key>();
        hints.addAll(source.getSupportedHints());
        hints.add(Hints.FEATURE_DETACHED);

        return hints;
    }

    public  TransformFeatureSource(SimpleFeatureSource source, Name name, List<Definition> definitions);

}