Tabnine Logo
EnvUtil.getErraiAppPropertiesFilesUrls
Code IndexAdd Tabnine to your IDE (free)

How to use
getErraiAppPropertiesFilesUrls
method
in
org.jboss.errai.config.rebind.EnvUtil

Best Java code snippets using org.jboss.errai.config.rebind.EnvUtil.getErraiAppPropertiesFilesUrls (Showing top 4 results out of 315)

origin: errai/errai

private static void processErraiAppPropertiesFiles(final Map<String, String> frameworkProps, final Map<String, String> mappingAliases,
    final Set<MetaClass> exposedClasses, final Set<MetaClass> nonportableClasses, final Set<String> explicitTypes) {
 for (final URL url : getErraiAppPropertiesFilesUrls()) {
  InputStream inputStream = null;
  try {
   log.debug("checking " + url.getFile() + " for configured types ...");
   inputStream = url.openStream();
   final ResourceBundle props = new PropertyResourceBundle(inputStream);
   processErraiAppPropertiesBundle(frameworkProps, mappingAliases, exposedClasses, nonportableClasses, explicitTypes, props);
  }
  catch (final IOException e) {
   throw new RuntimeException("error reading ErraiApp.properties", e);
  }
  finally {
   if (inputStream != null) {
    try {
     inputStream.close();
    }
    catch (final IOException e) {
     //
    }
   }
  }
 }
}
origin: org.jboss.errai/errai-config

private static void processErraiAppPropertiesFiles(final Map<String, String> frameworkProps, final Map<String, String> mappingAliases,
    final Set<MetaClass> exposedClasses, final Set<MetaClass> nonportableClasses, final Set<String> explicitTypes) {
 for (final URL url : getErraiAppPropertiesFilesUrls()) {
  InputStream inputStream = null;
  try {
   log.debug("checking " + url.getFile() + " for configured types ...");
   inputStream = url.openStream();
   final ResourceBundle props = new PropertyResourceBundle(inputStream);
   processErraiAppPropertiesBundle(frameworkProps, mappingAliases, exposedClasses, nonportableClasses, explicitTypes, props);
  }
  catch (final IOException e) {
   throw new RuntimeException("error reading ErraiApp.properties", e);
  }
  finally {
   if (inputStream != null) {
    try {
     inputStream.close();
    }
    catch (final IOException e) {
     //
    }
   }
  }
 }
}
origin: org.jboss.errai/errai-data-binding

configuredNonBindableTypes = new HashSet<>();
final Collection<URL> erraiAppProperties = EnvUtil.getErraiAppPropertiesFilesUrls();
for (final URL url : erraiAppProperties) {
 InputStream inputStream = null;
origin: errai/errai

configuredNonBindableTypes = new HashSet<>();
final Collection<URL> erraiAppProperties = EnvUtil.getErraiAppPropertiesFilesUrls();
for (final URL url : erraiAppProperties) {
 InputStream inputStream = null;
org.jboss.errai.config.rebindEnvUtilgetErraiAppPropertiesFilesUrls

Popular methods of EnvUtil

  • isPortableType
  • isProdMode
  • getEnvironmentConfig
  • isJUnitTest
  • isDevMode
  • isLocalEventType
  • recordEnvironmentState
  • addExposedInnerClasses
  • addMappingAliases
  • addNonSerializableTypes
  • addSerializableTypes
  • clearCache
  • addSerializableTypes,
  • clearCache,
  • fillInInterfacesAndSuperTypes,
  • getAllPortableConcreteSubtypes,
  • isBuiltinPortableType,
  • isListValuedProperty,
  • isString,
  • isUserPortableType,
  • processEnvironmentConfigExtensions

Popular in Java

  • Reading from database using SQL prepared statement
  • addToBackStack (FragmentTransaction)
  • scheduleAtFixedRate (Timer)
  • getSupportFragmentManager (FragmentActivity)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • CodeWhisperer alternatives
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