added destroy class method and reload to java_obj on edge persistence