public interface Plugin
| Modifier and Type | Method and Description |
|---|---|
String |
getChainName() |
com.indexdata.masterkey.config.ModuleConfiguration |
getConfig()
Poorman's dependency injection mechanism: get configuration for this plugin.
|
String |
getName() |
void |
serve(ServiceRequest request,
ServiceResponse response,
ChainControl chain)
This method gets called during the chain processing by the container.
|
void |
setChainName(String chainName) |
void |
setConfig(com.indexdata.masterkey.config.ModuleConfiguration pluginConfig)
Poorman's dependency injection mechanism: set configuration for this plugin.
|
void |
setName(String name) |
void setConfig(com.indexdata.masterkey.config.ModuleConfiguration pluginConfig)
config - configurationvoid setChainName(String chainName)
String getChainName()
String getName()
void setName(String name)
com.indexdata.masterkey.config.ModuleConfiguration getConfig()
void serve(ServiceRequest request, ServiceResponse response, ChainControl chain) throws ServiceException, IOException
request - service requestresponse - service responsechain - chain-control utilityStandardServiceException - plugin-runtime exceptionIOException - of any kindServiceExceptionCopyright © 2008-2015 Index Data. All Rights Reserved.