public interface ResourceRegistrationListener
resourceRegistered(String, Page)
will be called.
When the suspended connection is terminated (by a page unload, session termination or a closed
connection), resourceUnregistered(String)
is invoked.Modifier and Type | Method and Description |
---|---|
void |
resourceRegistered(String uuid,
Page page)
Invoked when a new suspended connection is setup and registered for a page.
|
void |
resourceUnregistered(String uuid)
Invoked when a suspended connection is terminated and unregistered.
|
void resourceRegistered(String uuid, Page page)
RequestCycle
and Session
are available. The Page
is attached and it is safe to call methods on it. However,
you should never keep a reference to the page. Not only will this create memory leaks, but
can only be accessed from the context of a Wicket request on that page.uuid
- page
- void resourceUnregistered(String uuid)
uuid
- Copyright © 2006–2021 Apache Software Foundation. All rights reserved.