Tabnine Logo
PropertiesFactoryStax
Code IndexAdd Tabnine to your IDE (free)

How to use
PropertiesFactoryStax
in
com.arjuna.common.util.propertyservice

Best Java code snippets using com.arjuna.common.util.propertyservice.PropertiesFactoryStax (Showing top 6 results out of 315)

origin: org.jboss.narayana.arjunacore/arjunacore

private static void initPropertiesFactory() {
  if (delegatePropertiesFactory != null) {
    return;
  }
  synchronized (PropertiesFactory.class) {
    if (delegatePropertiesFactory == null) {
      if (isStaxAvailable()) {
        delegatePropertiesFactory = new PropertiesFactoryStax();
      } else {
        delegatePropertiesFactory = new PropertiesFactorySax();
      }
    }
  }
}
origin: jbosstm/narayana

private static void initPropertiesFactory() {
  if (delegatePropertiesFactory != null) {
    return;
  }
  synchronized (PropertiesFactory.class) {
    if (delegatePropertiesFactory == null) {
      if (isStaxAvailable()) {
        delegatePropertiesFactory = new PropertiesFactoryStax();
      } else {
        delegatePropertiesFactory = new PropertiesFactorySax();
      }
    }
  }
}
origin: jbosstm/narayana

private static void initPropertiesFactory() {
  if (delegatePropertiesFactory != null) {
    return;
  }
  synchronized (PropertiesFactory.class) {
    if (delegatePropertiesFactory == null) {
      if (isStaxAvailable()) {
        delegatePropertiesFactory = new PropertiesFactoryStax();
      } else {
        delegatePropertiesFactory = new PropertiesFactorySax();
      }
    }
  }
}
origin: org.jboss.narayana.jts/narayana-jts-idlj

private static void initPropertiesFactory() {
  if (delegatePropertiesFactory != null) {
    return;
  }
  synchronized (PropertiesFactory.class) {
    if (delegatePropertiesFactory == null) {
      if (isStaxAvailable()) {
        delegatePropertiesFactory = new PropertiesFactoryStax();
      } else {
        delegatePropertiesFactory = new PropertiesFactorySax();
      }
    }
  }
}
origin: jbosstm/narayana

private static void initPropertiesFactory() {
  if (delegatePropertiesFactory != null) {
    return;
  }
  synchronized (PropertiesFactory.class) {
    if (delegatePropertiesFactory == null) {
      if (isStaxAvailable()) {
        delegatePropertiesFactory = new PropertiesFactoryStax();
      } else {
        delegatePropertiesFactory = new PropertiesFactorySax();
      }
    }
  }
}
origin: jbosstm/narayana

@Test
public void testGetDefaultPropertiesWithStax() {
  final AbstractPropertiesFactory propertiesFactory = new PropertiesFactoryStax();
  final Properties properties = propertiesFactory.getDefaultProperties();
  assertProperties(expectedProperties, properties);
}
com.arjuna.common.util.propertyservicePropertiesFactoryStax

Most used methods

  • <init>

Popular in Java

  • Creating JSON documents from java classes using gson
  • setScale (BigDecimal)
  • findViewById (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Join (org.hibernate.mapping)
  • Top plugins for Android Studio
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