Exemplo n.º 1
0
 /** {@inheritDoc} */
 @Override
 public void initializeParsers(ExtensionParsingContext context) {
   context.setSubsystemXmlMapping(
       SUBSYSTEM_NAME, Namespace.EE_1_0.getUriString(), EESubsystemParser10.INSTANCE);
   context.setSubsystemXmlMapping(
       SUBSYSTEM_NAME, Namespace.EE_1_1.getUriString(), EESubsystemParser11.INSTANCE);
   context.setSubsystemXmlMapping(
       SUBSYSTEM_NAME, Namespace.EE_2_0.getUriString(), EESubsystemParser20.INSTANCE);
 }
Exemplo n.º 2
0
 /** {@inheritDoc} */
 @Override
 public void initializeParsers(ExtensionParsingContext context) {
   context.setSubsystemXmlMapping(
       SUBSYSTEM_NAME, Namespace.REMOTING_1_0.getUriString(), RemotingSubsystem10Parser.INSTANCE);
   context.setSubsystemXmlMapping(
       SUBSYSTEM_NAME, Namespace.REMOTING_1_1.getUriString(), RemotingSubsystem11Parser.INSTANCE);
   context.setSubsystemXmlMapping(
       SUBSYSTEM_NAME, Namespace.REMOTING_2_0.getUriString(), RemotingSubsystem20Parser.INSTANCE);
 }
 @Override
 public void initializeParsers(final ExtensionParsingContext context) {
   context.setSubsystemXmlMapping(
       Constants.SUBSYSTEM_NAME,
       Namespace.SECURITY_MANAGER_1_0.getUriString(),
       SecurityManagerSubsystemParser.INSTANCE);
 }
Exemplo n.º 4
0
 /**
  * {@inheritDoc}
  *
  * @see
  *     org.jboss.as.controller.Extension#initializeParsers(org.jboss.as.controller.parsing.ExtensionParsingContext)
  */
 @Override
 public void initializeParsers(ExtensionParsingContext context) {
   for (Namespace namespace : Namespace.values()) {
     if (namespace != Namespace.UNKNOWN) {
       context.setSubsystemXmlMapping(SUBSYSTEM_NAME, namespace.getUri(), namespace.getReader());
     }
   }
 }
Exemplo n.º 5
0
 /**
  * {@inheritDoc}
  *
  * @see
  *     org.jboss.as.controller.Extension#initializeParsers(org.jboss.as.controller.parsing.ExtensionParsingContext)
  */
 @Override
 public void initializeParsers(ExtensionParsingContext context) {
   for (Namespace namespace : Namespace.values()) {
     XMLElementReader<List<ModelNode>> reader = namespace.getXMLReader();
     if (reader != null) {
       context.setSubsystemXmlMapping(SUBSYSTEM_NAME, namespace.getUri(), reader);
     }
   }
 }
Exemplo n.º 6
0
 @Override
 public void initializeParsers(ExtensionParsingContext context) {
   context.setSubsystemXmlMapping(
       SUBSYSTEM_NAME,
       Namespace.UNDERTOW_1_0.getUriString(),
       UndertowSubsystemParser_1_0.INSTANCE);
   context.setSubsystemXmlMapping(
       SUBSYSTEM_NAME,
       Namespace.UNDERTOW_1_1.getUriString(),
       UndertowSubsystemParser_1_1.INSTANCE);
   context.setSubsystemXmlMapping(
       SUBSYSTEM_NAME,
       Namespace.UNDERTOW_1_2.getUriString(),
       UndertowSubsystemParser_1_2.INSTANCE);
   context.setSubsystemXmlMapping(
       SUBSYSTEM_NAME,
       Namespace.UNDERTOW_2_0.getUriString(),
       UndertowSubsystemParser_2_0.INSTANCE);
   context.setSubsystemXmlMapping(
       SUBSYSTEM_NAME,
       Namespace.UNDERTOW_3_0.getUriString(),
       UndertowSubsystemParser_3_0.INSTANCE);
 }
Exemplo n.º 7
0
 @Override
 public void initializeParsers(final ExtensionParsingContext context) {
   context.setSubsystemXmlMapping(
       Namespace.CURRENT.getUriString(), NewThreadsSubsystemParser.INSTANCE);
 }
Exemplo n.º 8
0
 @Override
 public void initializeParsers(ExtensionParsingContext context) {
   context.setSubsystemXmlMapping(Namespace.CURRENT.getUriString(), PARSER);
 }
Exemplo n.º 9
0
 /** {@inheritDoc} */
 @Override
 public void initializeParsers(ExtensionParsingContext context) {
   context.setSubsystemXmlMapping(SUBSYSTEM_NAME, NAMESPACE, parser);
 }
 @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());
 }
Exemplo n.º 11
0
 @Override
 public void initializeParsers(ExtensionParsingContext context) {
   context.setSubsystemXmlMapping(SUBSYSTEM_NAME, Namespace.CURRENT.getUriString(), parser);
 }
Exemplo n.º 12
0
 @Override
 public void initializeParsers(ExtensionParsingContext context) {
   context.setSubsystemXmlMapping(SUBSYSTEM_NAME, Namespace.SECURITY_1_0.getUriString(), PARSER);
   context.setSubsystemXmlMapping(SUBSYSTEM_NAME, Namespace.SECURITY_1_1.getUriString(), PARSER);
   context.setSubsystemXmlMapping(SUBSYSTEM_NAME, Namespace.SECURITY_1_2.getUriString(), PARSER);
 }
Exemplo n.º 13
0
 public void initializeParsers(ExtensionParsingContext context) {
   context.setSubsystemXmlMapping(
       SUBSYSTEM_NAME,
       MessagingSubsystemParser_1_0.NAMESPACE,
       MessagingSubsystemParser_1_0.INSTANCE);
 }
 @Override
 public void initializeParsers(ExtensionParsingContext context) {
   context.setSubsystemXmlMapping(SUBSYSTEM_NAME, EXTENSION_NAME, PARSER);
 }
Exemplo n.º 15
0
 public void initializeParsers(ExtensionParsingContext context) {
   context.setSubsystemXmlMapping(
       SUBSYSTEM_NAME, Namespace.CURRENT.getUriString(), JdrReportSubsystemParser.INSTANCE);
 }
Exemplo n.º 16
0
 /** {@inheritDoc} */
 @Override
 public void initializeParsers(final ExtensionParsingContext context) {
   context.setSubsystemXmlMapping(SUBSYSTEM_NAME, JSFExtension.NAMESPACE, PARSER);
 }