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

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

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

origin: wildfly/wildfly

private void readElement1_0(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_0: {
        final Element element = Element.forName(reader.getLocalName());
        switch (element) {
          case CONNECTION_FACTORY: {
            parseBinding1_0(reader, addOp);
            break;
          }
          case JUDDI_SERVER: {
            propertiesOps = parseJuddiServer(reader, address);
            break;
          }
          default:
            throw unexpectedElement(reader);
        }
      }
    }
  }
  if (propertiesOps != null) {
    operations.addAll(propertiesOps);
  }
}
origin: org.jboss.as/jboss-as-jaxr

private void readElement1_0(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_0: {
        final Element element = Element.forName(reader.getLocalName());
        switch (element) {
          case CONNECTION_FACTORY: {
            parseBinding1_0(reader, addOp);
            break;
          }
          case JUDDI_SERVER: {
            propertiesOps = parseJuddiServer(reader, address);
            break;
          }
          default:
            throw unexpectedElement(reader);
        }
      }
    }
  }
  if (propertiesOps != null) {
    operations.addAll(propertiesOps);
  }
}
org.jboss.as.jaxr.extensionJAXRSubsystemParserparseBinding1_0

Popular methods of JAXRSubsystemParser

  • parseBinding1_1
  • parseJuddiServer
  • parseProperties
  • parseProperty
  • readElement1_0
  • readElement1_1

Popular in Java

  • Start an intent from android
  • getExternalFilesDir (Context)
  • runOnUiThread (Activity)
  • getResourceAsStream (ClassLoader)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Top 12 Jupyter Notebook extensions
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