Package com.ibm.wsspi.http
Interface VirtualHostListener
- 
 public interface VirtualHostListenerAn implementer of the VirtualHostListener interface registers as a service in the service registry, and is then notified when context roots are added and removed from a virtual host.Note that nested context roots are allowed. Both {code}/a{code} and {code}/a/b{code} can be separately registered. 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcontextRootAdded(java.lang.String contextRoot, VirtualHost virtualHost)Called when a new context root is registered with a given virtual host.voidcontextRootRemoved(java.lang.String contextRoot, VirtualHost virtualHost)Called when a context root is removed from a given virtual host.
 
- 
- 
- 
Method Detail- 
contextRootAddedvoid contextRootAdded(java.lang.String contextRoot, VirtualHost virtualHost)Called when a new context root is registered with a given virtual host.- Parameters:
- contextRoot- The new context root.
- virtualHost- The target virtual host.
 
 - 
contextRootRemovedvoid contextRootRemoved(java.lang.String contextRoot, VirtualHost virtualHost)Called when a context root is removed from a given virtual host.- Parameters:
- contextRoot- The removed context root.
- virtualHost- The target virtual host.
 
 
- 
 
-