String name = (String) args[0];
while (name.startsWith("/"))
name = name.substring(1);
EjbProtocolManager container = _protocol.getProtocolManager();
AbstractEjbBeanManager server;
server = container.getServerByServerId(name);
if (server == null)
server = container.getServerByEJBName(name);
if (server != null) {
/*
EJBHome home = server.getEJBHome();
out.startReply();
if (home != null)
out.writeObject(home);
else // if (server instanceof
out.writeObject(server.getRemoteObject(server.getRemoteHomeClass(), "hessian"));
out.completeReply();
*/
throw new UnsupportedOperationException(getClass().getName());
}
else if (container.getRemoteChildren(name) != null) {
out.startReply();
String serverId;
if (_prefix.endsWith("/") || name.startsWith("/"))