use of org.jboss.as.controller.RunningModeControl in project wildfly by wildfly.
the class JSSEParsingUnitTestCase method initializeParser.
@Before
public void initializeParser() throws Exception {
//Initialize the parser
xmlMapper = XMLMapper.Factory.create();
extensionParsingRegistry = new ExtensionRegistry(ProcessType.EMBEDDED_SERVER, new RunningModeControl(RunningMode.NORMAL), null, null, null, null);
testParser = new TestParser(mainSubsystemName, extensionParsingRegistry);
xmlMapper.registerRootElement(new QName(TEST_NAMESPACE, "test"), testParser);
mainExtension.initializeParsers(extensionParsingRegistry.getExtensionParsingContext("Test", xmlMapper));
}
Aggregations