added resource class to cdi unit descriptor