generalising JSR45PositionManager