Class AbstractCustomRequestHandler
java.lang.Object
net.sf.basedb.clients.jobagent.handlers.AbstractCustomRequestHandler
- All Implemented Interfaces:
CustomRequestHandler
,RequestHandler
Abstract base class for custom request handler implementations. This
class implements the init() and close() methods, leaving the handleCmd()
method for the actual subclass.
- Since:
- 2.16
- Author:
- Nicklas
- Last modified
- $Date: 2010-10-15 13:59:00 +0200 (fr, 15 okt 2010) $
-
Field Details
-
agent
-
-
Constructor Details
-
AbstractCustomRequestHandler
protected AbstractCustomRequestHandler()
-
-
Method Details
-
init
Description copied from interface:CustomRequestHandler
Initialize the request handler. This method is called once immediately after the object has been created.- Specified by:
init
in interfaceCustomRequestHandler
- Parameters:
agent
- The agent
-
close
public void close()Description copied from interface:CustomRequestHandler
This method is called at when the agent is stopped.- Specified by:
close
in interfaceCustomRequestHandler
-
getAgent
-