public void read(PortableReader reader) throws IOException {
name = reader.readUTF("n");
submitToKey = reader.readBoolean("s");
final ObjectDataInput in = reader.getRawDataInput();
key = in.readData();
processor = in.readObject();
}
public Permission getRequiredPermission() {
return new MapPermission(name, ActionConstants.ACTION_PUT, ActionConstants.ACTION_REMOVE);
}