Added demo about JavaConfig.