public interface VirtualHostListener
Note that nested context roots are allowed. Both {code}/a{code} and {code}/a/b{code} can be separately registered.
| Modifier and Type | Method and Description |
|---|---|
void |
contextRootAdded(java.lang.String contextRoot,
VirtualHost virtualHost)
Called when a new context root is registered with a given virtual host.
|
void |
contextRootRemoved(java.lang.String contextRoot,
VirtualHost virtualHost)
Called when a context root is removed from a given virtual host.
|
void contextRootAdded(java.lang.String contextRoot,
VirtualHost virtualHost)
contextRoot - The new context root.virtualHost - The target virtual host.void contextRootRemoved(java.lang.String contextRoot,
VirtualHost virtualHost)
contextRoot - The removed context root.virtualHost - The target virtual host.