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

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

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

origin: errai/errai

private static void processErraiAppPropertiesBundle(final Map<String, String> frameworkProps, final Map<String, String> mappingAliases,
    final Set<MetaClass> exposedClasses, final Set<MetaClass> nonportableClasses, final Set<String> explicitTypes,
    final ResourceBundle props) {
 for (final String key : props.keySet()) {
  final String value = props.getString(key);
  updateFrameworkProperties(frameworkProps, key, value);
  if (key.equals(CONFIG_ERRAI_SERIALIZABLE_TYPE)) {
   addSerializableTypes(exposedClasses, explicitTypes, value);
  }
  else if (key.equals(CONFIG_ERRAI_NONSERIALIZABLE_TYPE)) {
   addNonSerializableTypes(nonportableClasses, value);
  }
  else if (key.equals(CONFIG_ERRAI_MAPPING_ALIASES)) {
   addMappingAliases(mappingAliases, explicitTypes, value);
  }
 }
}
origin: org.jboss.errai/errai-config

private static void processErraiAppPropertiesBundle(final Map<String, String> frameworkProps, final Map<String, String> mappingAliases,
    final Set<MetaClass> exposedClasses, final Set<MetaClass> nonportableClasses, final Set<String> explicitTypes,
    final ResourceBundle props) {
 for (final String key : props.keySet()) {
  final String value = props.getString(key);
  updateFrameworkProperties(frameworkProps, key, value);
  if (key.equals(CONFIG_ERRAI_SERIALIZABLE_TYPE)) {
   addSerializableTypes(exposedClasses, explicitTypes, value);
  }
  else if (key.equals(CONFIG_ERRAI_NONSERIALIZABLE_TYPE)) {
   addNonSerializableTypes(nonportableClasses, value);
  }
  else if (key.equals(CONFIG_ERRAI_MAPPING_ALIASES)) {
   addMappingAliases(mappingAliases, explicitTypes, value);
  }
 }
}
org.jboss.errai.config.rebindEnvUtiladdNonSerializableTypes

Popular methods of EnvUtil

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

Popular in Java

  • Creating JSON documents from java classes using gson
  • setRequestProperty (URLConnection)
  • getContentResolver (Context)
  • compareTo (BigDecimal)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Permission (java.security)
    Legacy security code; do not use.
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • BoxLayout (javax.swing)
  • Best IntelliJ 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