|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CustomRequestHandler
An extension to the regular request-handler interface that allows life-cycle control by the job agent. Custom request handlers are typically defined in the job.properties configuration file. They will automatically be create when the agent is started and closed when the agent is stopped.
Implementations must be thread-safe and be able to handle multiple requests at the same time.
Method Summary | |
---|---|
void |
close()
This method is called at when the agent is stopped. |
void |
init(Agent agent)
Initialize the request handler. |
Methods inherited from interface net.sf.basedb.util.jobagent.RequestHandler |
---|
handleCmd |
Method Detail |
---|
void init(Agent agent)
agent
- The agentvoid close()
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |