Exemple #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);
 }
 /** {@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);
 }
 /**
  * {@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());
     }
   }
 }
 /**
  * {@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);
     }
   }
 }
 @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);
 }
 @Override
 public void initializeParsers(final ExtensionParsingContext context) {
   context.setSubsystemXmlMapping(
       Namespace.CURRENT.getUriString(), NewThreadsSubsystemParser.INSTANCE);
 }
 @Override
 public void initializeParsers(ExtensionParsingContext context) {
   context.setSubsystemXmlMapping(Namespace.CURRENT.getUriString(), PARSER);
 }
 /** {@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());
 }
Exemple #11
0
 @Override
 public void initializeParsers(ExtensionParsingContext context) {
   context.setSubsystemXmlMapping(SUBSYSTEM_NAME, Namespace.CURRENT.getUriString(), parser);
 }
 @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);
 }
 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);
 }
 public void initializeParsers(ExtensionParsingContext context) {
   context.setSubsystemXmlMapping(
       SUBSYSTEM_NAME, Namespace.CURRENT.getUriString(), JdrReportSubsystemParser.INSTANCE);
 }
Exemple #16
0
 /** {@inheritDoc} */
 @Override
 public void initializeParsers(final ExtensionParsingContext context) {
   context.setSubsystemXmlMapping(SUBSYSTEM_NAME, JSFExtension.NAMESPACE, PARSER);
 }