I am looking through the processAPI and trying to figure out if there is a api call which takes a bar file or a path to read and deploy a bar file after reading its resources.