Class ProxyCleanupFilter

  • All Implemented Interfaces:
    ome.util.Filter

    public class ProxyCleanupFilter
    extends ome.util.ContextFilter
    removes all proxies from a return graph to prevent ClassCastExceptions and Session Closed exceptions. You need to be careful with printing. Calling toString() on an unitialized object will break before filtering is complete. Note: we aren't setting the filtered collections here because it's "either null/unloaded or filtered". We will definitiely filter here, so it would just increase bandwidth. As of 4.4.0, this class is also responsible for various security-based modifications to returned Details objects.
    Since:
    1.0
    See Also:
    Trac ticket #8277