Implementors receive notification as the system is entering sleep, and after
the system wakes.
This notification is useful for disconnecting from network services prior to
sleep, or re-establishing a connection if the network configuration has
changed during sleep.
All Methods Instance Methods Abstract Methods
Called when the system is about to sleep. Note: This message may not be
delivered prior to the actual system sleep, and may be processed after
the corresponding wake has occurred.
e - the system sleep event
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2019, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms and the documentation redistribution policy.