Package org.jboss.as.threads
Class ThreadsParser
- java.lang.Object
-
- org.jboss.as.threads.ThreadsParser
-
- All Implemented Interfaces:
XMLStreamConstants,org.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>>,org.jboss.staxmapper.XMLElementWriter<SubsystemMarshallingContext>
public final class ThreadsParser extends Object implements XMLStreamConstants, org.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>>, org.jboss.staxmapper.XMLElementWriter<SubsystemMarshallingContext>
Parser for the threads subsystem or for other subsystems that use pieces of the basic threads subsystem xsd and resource structure.
-
-
Field Summary
-
Fields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
-
-
Constructor Summary
Constructors Constructor Description ThreadsParser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ThreadsParsergetInstance()Deprecated.StringparseBlockingBoundedQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamReader reader, String expectedNs, Namespace threadsNamespace, org.jboss.dmr.ModelNode parentAddress, List<org.jboss.dmr.ModelNode> list, String childType, String providedName)StringparseBoundedQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamReader reader, String expectedNs, Namespace threadsNamespace, org.jboss.dmr.ModelNode parentAddress, List<org.jboss.dmr.ModelNode> list, String childType, String providedName)StringparseEnhancedQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamReader reader, String expectedNs, Namespace threadsNamespace, org.jboss.dmr.ModelNode parentAddress, List<org.jboss.dmr.ModelNode> list, String childType, String providedName)StringparseScheduledThreadPool(org.jboss.staxmapper.XMLExtendedStreamReader reader, String expectedNs, Namespace threadsNamespace, org.jboss.dmr.ModelNode parentAddress, List<org.jboss.dmr.ModelNode> list, String childType, String providedName)StringparseThreadFactory(org.jboss.staxmapper.XMLExtendedStreamReader reader, String expectedNs, Namespace threadsNamespace, org.jboss.dmr.ModelNode parentAddress, List<org.jboss.dmr.ModelNode> list, String childType, String providedName)StringparseUnboundedQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamReader reader, String expectedNs, Namespace threadsNamespace, org.jboss.dmr.ModelNode parentAddress, List<org.jboss.dmr.ModelNode> list, String childType, String providedName)voidreadElement(org.jboss.staxmapper.XMLExtendedStreamReader reader, List<org.jboss.dmr.ModelNode> list)voidwriteBlockingBoundedQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property)voidwriteBlockingQueuelessThreadPool(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property)voidwriteBoundedQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property)voidwriteBoundedQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property, String elementName, boolean includeName)voidwriteBoundedQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property, String elementName, boolean includeName, boolean blocking)voidwriteContent(org.jboss.staxmapper.XMLExtendedStreamWriter writer, SubsystemMarshallingContext context)voidwriteEnhancedQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property, String elementName, boolean includeName)voidwriteQueuelessThreadPool(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property)voidwriteScheduledQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property)voidwriteScheduledQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property, String elementName, boolean includeName)voidwriteThreadFactory(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property)voidwriteThreadFactory(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property, String elementName, boolean includeName)voidwriteThreadsElement(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.ModelNode node)voidwriteUnboundedQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property)voidwriteUnboundedQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property, String elementName, boolean includeName)
-
-
-
Method Detail
-
getInstance
@Deprecated public static ThreadsParser getInstance()
Deprecated.
-
readElement
public void readElement(org.jboss.staxmapper.XMLExtendedStreamReader reader, List<org.jboss.dmr.ModelNode> list) throws XMLStreamException- Specified by:
readElementin interfaceorg.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>>- Throws:
XMLStreamException
-
parseThreadFactory
public String parseThreadFactory(org.jboss.staxmapper.XMLExtendedStreamReader reader, String expectedNs, Namespace threadsNamespace, org.jboss.dmr.ModelNode parentAddress, List<org.jboss.dmr.ModelNode> list, String childType, String providedName) throws XMLStreamException
- Throws:
XMLStreamException
-
parseBlockingBoundedQueueThreadPool
public String parseBlockingBoundedQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamReader reader, String expectedNs, Namespace threadsNamespace, org.jboss.dmr.ModelNode parentAddress, List<org.jboss.dmr.ModelNode> list, String childType, String providedName) throws XMLStreamException
- Throws:
XMLStreamException
-
parseBoundedQueueThreadPool
public String parseBoundedQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamReader reader, String expectedNs, Namespace threadsNamespace, org.jboss.dmr.ModelNode parentAddress, List<org.jboss.dmr.ModelNode> list, String childType, String providedName) throws XMLStreamException
- Throws:
XMLStreamException
-
parseUnboundedQueueThreadPool
public String parseUnboundedQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamReader reader, String expectedNs, Namespace threadsNamespace, org.jboss.dmr.ModelNode parentAddress, List<org.jboss.dmr.ModelNode> list, String childType, String providedName) throws XMLStreamException
- Throws:
XMLStreamException
-
parseEnhancedQueueThreadPool
public String parseEnhancedQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamReader reader, String expectedNs, Namespace threadsNamespace, org.jboss.dmr.ModelNode parentAddress, List<org.jboss.dmr.ModelNode> list, String childType, String providedName) throws XMLStreamException
- Throws:
XMLStreamException
-
parseScheduledThreadPool
public String parseScheduledThreadPool(org.jboss.staxmapper.XMLExtendedStreamReader reader, String expectedNs, Namespace threadsNamespace, org.jboss.dmr.ModelNode parentAddress, List<org.jboss.dmr.ModelNode> list, String childType, String providedName) throws XMLStreamException
- Throws:
XMLStreamException
-
writeContent
public void writeContent(org.jboss.staxmapper.XMLExtendedStreamWriter writer, SubsystemMarshallingContext context) throws XMLStreamException- Specified by:
writeContentin interfaceorg.jboss.staxmapper.XMLElementWriter<SubsystemMarshallingContext>- Throws:
XMLStreamException
-
writeThreadsElement
public void writeThreadsElement(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.ModelNode node) throws XMLStreamException- Throws:
XMLStreamException
-
writeThreadFactory
public void writeThreadFactory(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property) throws XMLStreamException- Throws:
XMLStreamException
-
writeThreadFactory
public void writeThreadFactory(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property, String elementName, boolean includeName) throws XMLStreamException- Throws:
XMLStreamException
-
writeBlockingBoundedQueueThreadPool
public void writeBlockingBoundedQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property) throws XMLStreamException- Throws:
XMLStreamException
-
writeBoundedQueueThreadPool
public void writeBoundedQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property) throws XMLStreamException- Throws:
XMLStreamException
-
writeBoundedQueueThreadPool
public void writeBoundedQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property, String elementName, boolean includeName) throws XMLStreamException- Throws:
XMLStreamException
-
writeBoundedQueueThreadPool
public void writeBoundedQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property, String elementName, boolean includeName, boolean blocking) throws XMLStreamException- Throws:
XMLStreamException
-
writeBlockingQueuelessThreadPool
public void writeBlockingQueuelessThreadPool(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property) throws XMLStreamException- Throws:
XMLStreamException
-
writeQueuelessThreadPool
public void writeQueuelessThreadPool(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property) throws XMLStreamException- Throws:
XMLStreamException
-
writeScheduledQueueThreadPool
public void writeScheduledQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property) throws XMLStreamException- Throws:
XMLStreamException
-
writeScheduledQueueThreadPool
public void writeScheduledQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property, String elementName, boolean includeName) throws XMLStreamException- Throws:
XMLStreamException
-
writeUnboundedQueueThreadPool
public void writeUnboundedQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property) throws XMLStreamException- Throws:
XMLStreamException
-
writeUnboundedQueueThreadPool
public void writeUnboundedQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property, String elementName, boolean includeName) throws XMLStreamException- Throws:
XMLStreamException
-
writeEnhancedQueueThreadPool
public void writeEnhancedQueueThreadPool(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.Property property, String elementName, boolean includeName) throws XMLStreamException- Throws:
XMLStreamException
-
-