Java Code Examples for org.jboss.as.controller.parsing.ExtensionParsingContext#setSubsystemXmlMapping()
The following examples show how to use
org.jboss.as.controller.parsing.ExtensionParsingContext#setSubsystemXmlMapping() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DeploymentScannerExtension.java From wildfly-core with GNU Lesser General Public License v2.1 | 5 votes |
/** * {@inheritDoc} */ @Override public void initializeParsers(ExtensionParsingContext context) { context.setSubsystemXmlMapping(SUBSYSTEM_NAME, Namespace.DEPLOYMENT_SCANNER_1_0.getUriString(), DeploymentScannerParser_1_0::new); context.setSubsystemXmlMapping(SUBSYSTEM_NAME, Namespace.DEPLOYMENT_SCANNER_1_1.getUriString(), DeploymentScannerParser_1_1::new); context.setSubsystemXmlMapping(SUBSYSTEM_NAME, Namespace.DEPLOYMENT_SCANNER_2_0.getUriString(), DeploymentScannerParser_2_0::new); }
Example 2
Source File: JMXExtension.java From wildfly-core with GNU Lesser General Public License v2.1 | 5 votes |
/** * {@inheritDoc} */ @Override public void initializeParsers(ExtensionParsingContext context) { context.setSubsystemXmlMapping(SUBSYSTEM_NAME, Namespace.JMX_1_0.getUriString(), JMXSubsystemParser_1_0::new); context.setSubsystemXmlMapping(SUBSYSTEM_NAME, Namespace.JMX_1_1.getUriString(), JMXSubsystemParser_1_1::new); context.setSubsystemXmlMapping(SUBSYSTEM_NAME, Namespace.JMX_1_2.getUriString(), JMXSubsystemParser_1_2::new); context.setSubsystemXmlMapping(SUBSYSTEM_NAME, Namespace.JMX_1_3.getUriString(), JMXSubsystemParser_1_3::new); }
Example 3
Source File: SecurityManagerExtension.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
@Override public void initializeParsers(final ExtensionParsingContext context) { // For the current version we don't use a Supplier as we want its description initialized // TODO if any new xsd versions are added, use a Supplier for the old version context.setSubsystemXmlMapping(Constants.SUBSYSTEM_NAME, Namespace.SECURITY_MANAGER_1_0.getUriString(), new SecurityManagerSubsystemParser_1_0()); }
Example 4
Source File: TestHostCapableExtension.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
@Override public void initializeParsers(ExtensionParsingContext context) { context.setSubsystemXmlMapping(SUBSYSTEM_NAME, parser.getNamespace(), parser); }
Example 5
Source File: ProfileIncludesExtension.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
@Override public void initializeParsers(ExtensionParsingContext context) { context.setSubsystemXmlMapping("one", PARSER1.getNamespace(), PARSER1); context.setSubsystemXmlMapping("two", PARSER2.getNamespace(), PARSER2); context.setSubsystemXmlMapping("three", PARSER3.getNamespace(), PARSER3); }
Example 6
Source File: ValidateSubsystemExtension.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
@Override public void initializeParsers(ExtensionParsingContext context) { context.setSubsystemXmlMapping(SUBSYSTEM_NAME, NAMESPACE, parser); }
Example 7
Source File: BpmPlatformExtension.java From camunda-bpm-platform with Apache License 2.0 | 4 votes |
@Override public void initializeParsers(ExtensionParsingContext context) { context.setSubsystemXmlMapping(ModelConstants.SUBSYSTEM_NAME, Namespace.CAMUNDA_BPM_PLATFORM_1_1.getUriString(), parser); }
Example 8
Source File: TestExtension.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
@Override public void initializeParsers(ExtensionParsingContext context) { context.setSubsystemXmlMapping("1", parserOne.getNamespace(), parserOne); context.setSubsystemXmlMapping("2", parserTwo.getNamespace(), parserTwo); }
Example 9
Source File: SimpleSubsystemExtension.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
@Override public void initializeParsers(ExtensionParsingContext context) { context.setSubsystemXmlMapping(SUBSYSTEM_NAME, NAMESPACE, parser); }
Example 10
Source File: ThreadsExtension.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
@Override protected void initializeLegacyParsers(ExtensionParsingContext context) { context.setSubsystemXmlMapping(SUBSYSTEM_NAME, Namespace.CURRENT.getUriString(), ThreadsParser2_0::new); context.setSubsystemXmlMapping(SUBSYSTEM_NAME, Namespace.THREADS_1_1.getUriString(), ThreadsParser::new); context.setSubsystemXmlMapping(SUBSYSTEM_NAME, Namespace.THREADS_1_0.getUriString(), ThreadsParser::new); }
Example 11
Source File: DuplicateExtCommandsExtension.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
@Override public void initializeParsers(ExtensionParsingContext context) { //Don't need a parser, just register a dummy writer in the initialize() method context.setSubsystemXmlMapping(SUBSYSTEM_NAME, CliExtCommandsParser.NAMESPACE, new CliExtCommandsParser()); }
Example 12
Source File: VersionedExtensionCommon.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
@Override public void initializeParsers(ExtensionParsingContext context) { context.setSubsystemXmlMapping(SUBSYSTEM_NAME, EXTENSION_NAME, parser); }
Example 13
Source File: GmlcExtension.java From gmlc with GNU Affero General Public License v3.0 | 4 votes |
@Override public void initializeParsers(ExtensionParsingContext context) { context.setSubsystemXmlMapping(SUBSYSTEM_NAME, Namespace.CURRENT.getUriString(), GmlcSubsystemParser.getInstance()); }
Example 14
Source File: DependentExtension.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
@Override public void initializeParsers(ExtensionParsingContext context) { context.setSubsystemXmlMapping(SUBSYSTEM_NAME, NAMESPACE, SubsystemParser.INSTANCE); }
Example 15
Source File: MainSubsystemExtension.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
@Override public void initializeParsers(ExtensionParsingContext context) { context.setSubsystemXmlMapping(SUBSYSTEM_NAME, NAMESPACE, () -> parser); }
Example 16
Source File: ErrorExtension.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
@Override public void initializeParsers(ExtensionParsingContext context) { context.setSubsystemXmlMapping(SUBSYSTEM_NAME, PARSER.getNamespace(), () -> PARSER); }
Example 17
Source File: OpTypesExtension.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
@Override public void initializeParsers(ExtensionParsingContext context) { context.setSubsystemXmlMapping(SUBSYSTEM_NAME, PARSER.getNamespace(), PARSER); }
Example 18
Source File: NewExtension.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
@Override public void initializeParsers(ExtensionParsingContext context) { context.setSubsystemXmlMapping(SUBSYSTEM_NAME, EXTENSION_NAME, parser); }
Example 19
Source File: DiscoveryExtension.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
@Override public void initializeParsers(final ExtensionParsingContext context) { for (DiscoverySchema schema : EnumSet.allOf(DiscoverySchema.class)) { context.setSubsystemXmlMapping(SUBSYSTEM_NAME, schema.getNamespaceUri(), new DiscoverySubsystemParser(schema)); } }
Example 20
Source File: OldExtension.java From wildfly-core with GNU Lesser General Public License v2.1 | 4 votes |
@Override public void initializeParsers(ExtensionParsingContext context) { context.setSubsystemXmlMapping(SUBSYSTEM_NAME, EXTENSION_NAME, EmptyParser::new); }