Abstraction for java native code access.