Ejemplo 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);
 }
Ejemplo 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);
 }
Ejemplo n.º 3
0
 @Override
 public void initializeParsers(final ExtensionParsingContext context) {
   context.setSubsystemXmlMapping(
       Constants.SUBSYSTEM_NAME,
       Namespace.SECURITY_MANAGER_1_0.getUriString(),
       SecurityManagerSubsystemParser.INSTANCE);
 }
Ejemplo 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());
     }
   }
 }
Ejemplo 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);
     }
   }
 }
Ejemplo 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);
 }
Ejemplo n.º 7
0
 @Override
 public void initializeParsers(final ExtensionParsingContext context) {
   context.setSubsystemXmlMapping(
       Namespace.CURRENT.getUriString(), NewThreadsSubsystemParser.INSTANCE);
 }
Ejemplo n.º 8
0
 @Override
 public void initializeParsers(ExtensionParsingContext context) {
   context.setSubsystemXmlMapping(Namespace.CURRENT.getUriString(), PARSER);
 }
Ejemplo 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());
 }
Ejemplo n.º 11
0
 @Override
 public void initializeParsers(ExtensionParsingContext context) {
   context.setSubsystemXmlMapping(SUBSYSTEM_NAME, Namespace.CURRENT.getUriString(), parser);
 }
Ejemplo 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);
 }
Ejemplo 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);
 }
Ejemplo n.º 15
0
 public void initializeParsers(ExtensionParsingContext context) {
   context.setSubsystemXmlMapping(
       SUBSYSTEM_NAME, Namespace.CURRENT.getUriString(), JdrReportSubsystemParser.INSTANCE);
 }
Ejemplo n.º 16
0
 /** {@inheritDoc} */
 @Override
 public void initializeParsers(final ExtensionParsingContext context) {
   context.setSubsystemXmlMapping(SUBSYSTEM_NAME, JSFExtension.NAMESPACE, PARSER);
 }