it.list.jft.event
Interface Listener

All Known Subinterfaces:
ConnectionListener, EntityClassQueryListener, FilterListener, MulticastConnectionListener, QueryListener, SubscriptionListener, TransactionListener

public interface Listener

Super-interface common to all listener interfaces.

Listener interfaces must be implemented in order to handle the lifecycle of the various CommunicationLifeCycle objects (Connection, Filter, Query, Subscription, Transaction).

These subinterfaces are bound to the communication objects creation (through the various makeSomething methods in Context) and then they may be retrieved by CommunicationLifeCycle.getListener().

If an exception is thrown and not catch inside a Listener method then the behavior of the application is controlled by JFT.setExitOnListenerException(boolean) method.




Submit a bug or feature to FT\API Programming Support<\font>