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.
  • Constructor Details

    • ThreadsParser

      public ThreadsParser()
  • Method Details

    • 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:
      readElement in interface org.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:
      writeContent in interface org.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