Interface EntityListenerFactory

Deprecated.

since 4.0, as EntityResolver no longer loads listeners from its
DataMaps.

public interface EntityListenerFactory

A factory used to create entity listeners. By default listeners are created
using a noop constructor on the listener class, however if a user needs to
customize listener creation process (e.g. perform dependency injection,
etc.), a custom factory can be installed on the EntityResolver.
EntityListenerFactory also supports defining listener interfaces, not just
classes).