Add Java channel API