public interface ExtensionParsingContext
extension
element for a given Extension
is being parsed. Allows the
extension to initialize the XML parsers
that can
be used for parsing the subsystem
elements that contain the configuration for its subsystems.Modifier and Type | Method and Description |
---|---|
void |
setDeploymentXmlMapping(String subsystemName,
String namespaceUri,
org.jboss.staxmapper.XMLElementReader<org.jboss.dmr.ModelNode> reader)
Deprecated.
currently not used and will be removed in a future release if not used.
|
void |
setDeploymentXmlMapping(String namespaceUri,
org.jboss.staxmapper.XMLElementReader<org.jboss.dmr.ModelNode> reader)
Deprecated.
|
void |
setSubsystemXmlMapping(String subsystemName,
String namespaceUri,
org.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>> reader)
Set the parser for the profile-wide subsystem configuration XML element.
|
void |
setSubsystemXmlMapping(String namespaceUri,
org.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>> reader)
Deprecated.
|
@Deprecated void setSubsystemXmlMapping(String namespaceUri, org.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>> reader)
setSubsystemXmlMapping(String, String, XMLElementReader)
"subsystem"
. The reader should populate the given model node with the appropriate
"subsystem add" update, without the address or operation name as that information will be automatically
populated.namespaceUri
- the URI of the susbsystem's XML namespace, in string form. Cannot be null
reader
- the element reader. Cannot be null
void setSubsystemXmlMapping(String subsystemName, String namespaceUri, org.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>> reader)
"subsystem"
. The reader should populate the given model node with the appropriate
"subsystem add" update, without the address or operation name as that information will be automatically
populated.subsystemName
- the name of the subsystem. Cannot be null
namespaceUri
- the URI of the susbsystem's XML namespace, in string form. Cannot be null
reader
- the element reader. Cannot be null
IllegalStateException
- if another Extension
has already registered a subsystem with the given
subsystemName
@Deprecated void setDeploymentXmlMapping(String namespaceUri, org.jboss.staxmapper.XMLElementReader<org.jboss.dmr.ModelNode> reader)
setSubsystemXmlMapping(String, String, XMLElementReader)
namespaceUri
- the URI of the susbsystem's XML namespace, in string form. Cannot be null
reader
- the element reader. Cannot be null
IllegalStateException
- if another Extension
has already registered a subsystem with the given
subsystemName
@Deprecated void setDeploymentXmlMapping(String subsystemName, String namespaceUri, org.jboss.staxmapper.XMLElementReader<org.jboss.dmr.ModelNode> reader)
Note that this method is not currently implemented.
(TODO: round this out or remove it.)subsystemName
- the name of the subsystem. Cannot be null
namespaceUri
- the URI of the susbsystem's XML namespace, in string form. Cannot be null
reader
- the element reader. Cannot be null
IllegalStateException
- if another Extension
has already registered a subsystem with the given
subsystemName
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.