public abstract class WebRequestHandler
extends org.exoplatform.container.component.BaseComponentPlugin
| Constructor and Description |
|---|
WebRequestHandler() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
execute(ControllerContext context)
Execute a service.
|
abstract String |
getHandlerName()
Returns the handler name.
|
protected abstract boolean |
getRequiresLifeCycle()
Flag if particular handler requires lifecycle.
|
void |
onDestroy(WebAppController controller)
Destroy callback.
|
void |
onInit(WebAppController controller,
javax.servlet.ServletConfig sConfig)
Init callback.
|
public void onInit(WebAppController controller, javax.servlet.ServletConfig sConfig) throws Exception
controller - the controllersConfig - the servlet configException - any exceptionpublic abstract String getHandlerName()
public abstract boolean execute(ControllerContext context) throws Exception
context - the controller contextException - any exceptionpublic void onDestroy(WebAppController controller)
controller - the controllerprotected abstract boolean getRequiresLifeCycle()
RequestLifeCycle block.Copyright © 2017 JBoss by Red Hat. All Rights Reserved.