public static interface ServletContainerContext.Registration
org.jboss.portal.web.ServletContainer singleton.| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel the registration against the servlet container.
|
boolean |
registerWebApp(WebAppContext webAppContext)
Registers a web application.
|
boolean |
unregisterWebApp(String contextPath)
Unregister a web application.
|
boolean registerWebApp(WebAppContext webAppContext) throws IllegalStateException, IllegalArgumentException
webAppContext - the web application contextIllegalArgumentException - if the argument is nullIllegalStateException - if the registration is cancelledboolean unregisterWebApp(String contextPath) throws IllegalStateException, IllegalArgumentException
contextPath - the web application idIllegalArgumentException - if the argument is nullIllegalStateException - if the registration is cancelledvoid cancel()
throws IllegalStateException
IllegalStateException - if the registration is cancelledCopyright © 2018 JBoss by Red Hat. All Rights Reserved.