Tabnine Logo
PropertiesFactoryStax.<init>
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using com.arjuna.common.util.propertyservice.PropertiesFactoryStax.<init> (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<init>

Popular methods of PropertiesFactoryStax

    Popular in Java

    • Making http requests using okhttp
    • requestLocationUpdates (LocationManager)
    • scheduleAtFixedRate (Timer)
    • addToBackStack (FragmentTransaction)
    • InputStreamReader (java.io)
      A class for turning a byte stream into a character stream. Data read from the source input stream is
    • PrintWriter (java.io)
      Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
    • Runnable (java.lang)
      Represents a command that can be executed. Often used to run code in a different Thread.
    • InetAddress (java.net)
      An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
    • Executors (java.util.concurrent)
      Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
    • Location (org.springframework.beans.factory.parsing)
      Class that models an arbitrary location in a Resource.Typically used to track the location of proble
    • From CI to AI: The AI layer in your organization
    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