JndiRequest request = reqCtx.getRequest();
if (request instanceof LookupRequest) {
Object obj = lookup((LookupRequest)request);
if (obj != null) {
ObjectRecord or = (ObjectRecord)obj;
return new LookupReply(or.getObject());
}
// This is a context record
return new JndiReply();
} else if (request instanceof ListBindingsRequest) {
Object obj = listBindings((ListBindingsRequest)request);