add the java iface impl