public Object invoke(InvocationRequest request) throws Throwable
{
this.lock.lock();
try
{
RequestMap rm = (RequestMap)request.getRequestPayload();
String requestPath = (String)rm.get(HTTPMetadataConstants.PATH);
boolean handlerExists = false;
for (RMCallbackHandler handler : this.callbacks)
{
if (handler.getHandledPath().equals(requestPath))
{