EventListener
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
EventListener
is a tagging interface, meaning it has no methods and serves primarily as a marker.
All event listener interfaces in Java must extend the EventListener
interface.
The primary purpose of EventListener
is to identify classes as event listeners for specific events.
Various Java APIs, such as those for database connectivity and beans, utilize event listeners extending EventListener
for event handling.
Known Indirect Subclasses
ConnectionEventListener
An object that registers to be notified of events generated by a
PooledConnection
object.
EventListenerProxy <T extends EventListener >
An abstract wrapper class for an EventListener
class
which associates a set of additional parameters with the listener.
HandshakeCompletedListener
This interface is implemented by any class which wants to receive
notifications about the completion of an SSL protocol handshake
on a given SSL connection.
PropertyChangeListener
A "PropertyChange" event gets fired whenever a bean changes a "bound"
property.
PropertyChangeListenerProxy
A class which extends the EventListenerProxy
specifically for adding a PropertyChangeListener
with a "bound" property.
RowSetListener
An interface that must be implemented by a
component that wants to be notified when a significant
event happens in the life of a RowSet
object.
SSLSessionBindingListener
This interface is implemented by objects which want to know when
they are being bound or unbound from a SSLSession.
StatementEventListener
An object that registers to be notified of events that occur on PreparedStatements
that are in the Statement pool.
A tagging interface that all event listener interfaces must extend.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[],[]]