add basic support for O3A to Java wrapper