Package org.jboss.as.subsystem.test

Examples of org.jboss.as.subsystem.test.KernelServicesBuilder.parseXml()


                mainServices,
                modelVersion,
                //Here we should really use the main subsystem xml, but since the operation transformers read from the model,
                //to create the composite add the framework needs beefing up to be able to correct the model as part of try/fail loop
                //TODO use a custom RejectExpressionsConfig for that?
                builder.parseXml(readResource("securitysubsystemv12.xml")),
                getConfig_1_1_0(mainServices)
        );

    }
View Full Code Here


        String subsystemXml = readResource("subsystem.xml");
        ModelVersion modelVersion = ModelVersion.create(1, 0, 0);
        //Use the non-runtime version of the extension which will happen on the HC
        KernelServicesBuilder builder = createKernelServicesBuilder(AdditionalInitialization.MANAGEMENT);

        List<ModelNode> xmlOps = builder.parseXml(subsystemXml);

        // Add legacy subsystems
        builder.createLegacyKernelServicesBuilder(null, controllerVersion, modelVersion)
                .addMavenResourceURL("org.jboss.as:jboss-as-ee:" + controllerVersion.getMavenGavVersion());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.