@ PostConstruct public void init ( ) { findBeans ( ) ; SAXBuilder builder = new SAXBuilder ( ) ; Document doc = null ; try { doc = builder . build ( getSchema ( ) . getInputStream ( ) ) ; SchemaParserImpl schemaParser = new SchemaParserImpl ( ) ; schemaParser . parse ( doc ) ; ParserSource parserSource = new InputStreamParserSource ( getProcesses ( ) ) ; ProcessTextProvider textProvider = new ProcessTextProvider ( parserSource , schemaParser , this ) ; ParsePackage parsePackage = new ParsePackage ( ) ; parsePackage . parse ( textProvider ) ; } catch ( Exception e ) { throw new WorkflowException ( e ) ; } HashIdLogger . log ( this , "postconstruct" ) ; }
Scan resources for workflow files and message definitions