add jchannel factory code