@Override
    public Object invoke(Object o, Method method, Object[] os) throws Throwable {
        MethodInfo mi = getMethodInfo(method);
        if( mi == null ) {
            // Try to invoke locally
            return method.invoke(this, os);
        }
        return rmi.invokeRemote(channel, objectId, mi.getId(), mi.getCallType(), os);
    }
Used internally to remotely invoke methods on RMI shared objects.

 @author    Paul Speed
jme3-networking/src/main/java/com/jme3/network/service/rmi/RemoteObjectHandler.java