|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.indexdata.serviceproxy.AbstractPlugin
public abstract class AbstractPlugin
Provides base implementation for every service proxy plugin.
| Constructor Summary | |
|---|---|
AbstractPlugin()
|
|
| Method Summary | |
|---|---|
String |
getChainName()
|
com.indexdata.masterkey.config.ModuleConfiguration |
getConfig()
Poorman's dependency injection mechanism: get configuration for this plugin. |
String |
getName()
|
NodeList |
getNodeList(Object startingPoint,
String xPathString)
|
String |
getXmlString(Document dom)
|
abstract 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 config)
Poorman's dependency injection mechanism: set configuration for this plugin. |
void |
setName(String name)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractPlugin()
| Method Detail |
|---|
public void setConfig(com.indexdata.masterkey.config.ModuleConfiguration config)
Plugin
setConfig in interface Pluginpublic com.indexdata.masterkey.config.ModuleConfiguration getConfig()
Plugin
getConfig in interface Pluginpublic void setChainName(String chainName)
setChainName in interface Pluginpublic String getChainName()
getChainName in interface Pluginpublic String getName()
getName in interface Pluginpublic void setName(String name)
setName in interface Pluginpublic String getXmlString(Document dom)
public NodeList getNodeList(Object startingPoint,
String xPathString)
throws StandardServiceException
StandardServiceException
public abstract void serve(ServiceRequest request,
ServiceResponse response,
ChainControl chain)
throws ServiceException,
IOException
Plugin
serve in interface Pluginrequest - service requestresponse - service responsechain - chain-control utility
IOException - of any kind
ServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||