BPMN files in Process application war file

Hi,
i thought so, and ProcessApplicationReference i can get like this?

Context.getCurrentProcessApplication()

Thanks for help