public interface EnvironmentSynchronizer extends Service
ManagedBeanRegistry)
will be ready to accept requests.| Modifier and Type | Method and Description |
|---|---|
void |
whenEnvironmentDestroying(Runnable runnable)
Run the given work just before the environment is
destroyed (exactly what "destroyed" means is
implementation-dependent).
|
void |
whenEnvironmentReady(Runnable runnable)
Run the given work as soon as the environment is
deemed "ready" (exactly what "ready" means is
implementation-dependent).
|
void whenEnvironmentReady(Runnable runnable)
If the environment is already "ready", run the work now, synchronously.
runnable - void whenEnvironmentDestroying(Runnable runnable)
If the environment is already "destroyed", run the work now, synchronously.
runnable - Copyright © 2019 JBoss by Red Hat. All rights reserved.