congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
JAXRSubsystemParser.parseProperties
Code IndexAdd Tabnine to your IDE (free)

How to use
parseProperties
method
in
org.jboss.as.jaxr.extension.JAXRSubsystemParser

Best Java code snippets using org.jboss.as.jaxr.extension.JAXRSubsystemParser.parseProperties (Showing top 2 results out of 315)

origin: wildfly/wildfly

private void readElement1_1(XMLExtendedStreamReader reader, List<ModelNode> operations) throws XMLStreamException {
  final PathAddress address = PathAddress.pathAddress(JAXRExtension.SUBSYSTEM_PATH);
  final ModelNode addOp = Util.createAddOperation(address);
  operations.add(addOp);
  List<ModelNode> propertiesOps = null;
  while (reader.hasNext() && reader.nextTag() != END_ELEMENT) {
    switch (Namespace.forUri(reader.getNamespaceURI())) {
      case JAXR_1_1: {
        final Element element = Element.forName(reader.getLocalName());
        switch (element) {
          case CONNECTION_FACTORY: {
            parseBinding1_1(reader, addOp);
            break;
          }
          case PROPERTIES: {
            propertiesOps = parseProperties(reader, address);
            break;
          }
          default:
            throw unexpectedElement(reader);
        }
      }
    }
  }
  if (propertiesOps != null) {
    operations.addAll(propertiesOps);
  }
}
origin: org.jboss.as/jboss-as-jaxr

private void readElement1_1(XMLExtendedStreamReader reader, List<ModelNode> operations) throws XMLStreamException {
  final PathAddress address = PathAddress.pathAddress(JAXRExtension.SUBSYSTEM_PATH);
  final ModelNode addOp = Util.createAddOperation(address);
  operations.add(addOp);
  List<ModelNode> propertiesOps = null;
  while (reader.hasNext() && reader.nextTag() != END_ELEMENT) {
    switch (Namespace.forUri(reader.getNamespaceURI())) {
      case JAXR_1_1: {
        final Element element = Element.forName(reader.getLocalName());
        switch (element) {
          case CONNECTION_FACTORY: {
            parseBinding1_1(reader, addOp);
            break;
          }
          case PROPERTIES: {
            propertiesOps = parseProperties(reader, address);
            break;
          }
          default:
            throw unexpectedElement(reader);
        }
      }
    }
  }
  if (propertiesOps != null) {
    operations.addAll(propertiesOps);
  }
}
org.jboss.as.jaxr.extensionJAXRSubsystemParserparseProperties

Popular methods of JAXRSubsystemParser

  • parseBinding1_0
  • parseBinding1_1
  • parseJuddiServer
  • parseProperty
  • readElement1_0
  • readElement1_1

Popular in Java

  • Making http requests using okhttp
  • putExtra (Intent)
  • scheduleAtFixedRate (Timer)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now