org.apache.jdo.impl.fostore
Interface RequestHandler.HandlerFactory

Enclosing interface:
RequestHandler

static interface RequestHandler.HandlerFactory

Means by which subclasses are created. Each RequestHandler subclass should have a static inner class that implements this interface.


Method Summary
 RequestHandler getHandler(Reply reply, int length, FOStoreServerConnection con)
           
 

Method Detail

getHandler

public RequestHandler getHandler(Reply reply,
                                 int length,
                                 FOStoreServerConnection con)
Parameters:
reply - Reply instance into which the returned handler may write request/reply - specific information.
length - Length in bytes of the request data.
con - Connection from which the request was made.
Returns:
A RequestHandler instance for a specific subclass of RequestHandler.