Moved java specific functionality to the Jdk APN interfaces