public interface InternalDestroyable
Implementations are registered as named beans in struts-beans.xml
(or plugin descriptors) with type InternalDestroyable. During
Dispatcher.cleanup(), all registered implementations are discovered
via Container.getInstanceNames(InternalDestroyable.class) and
invoked automatically.
The order in which implementations are invoked is not guaranteed.
Implementations must not depend on other InternalDestroyable
beans having been (or not yet been) destroyed. Ordering can be
influenced via the order attribute in bean registration.
This is not part of the public user API. For user/plugin lifecycle
callbacks, use DispatcherListener instead.
Dispatcher.cleanup()| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Releases static state held by this component.
|
void destroy()
Dispatcher.cleanup().Copyright © 2000–2026 Apache Software Foundation. All rights reserved.