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

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

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

origin: org.jboss.errai/errai-weld-integration

@SuppressWarnings({ "unchecked", "rawtypes" })
public void processObserverMethod(@Observes final ProcessObserverMethod processObserverMethod) {
 final Type t = processObserverMethod.getObserverMethod().getObservedType();
 Class type = null;
 if (t instanceof Class) {
  type = (Class) t;
 }
 ClassScanner.setReflectionsScanning(true);
 if (type != null && EnvUtil.isPortableType(type) && !EnvUtil.isLocalEventType(type)) {
  final Set<Annotation> annotations = processObserverMethod.getObserverMethod().getObservedQualifiers();
  final Annotation[] methodQualifiers = annotations.toArray(new Annotation[annotations.size()]);
  for (final Annotation qualifier : methodQualifiers) {
   eventQualifiers.put(qualifier.annotationType().getName(), qualifier);
  }
  observableEvents.add(type.getName());
 }
}
origin: org.jboss.errai/errai-cdi-client

 callBackBlock = getJsTypeSubscriptionCallback(decorable, controller);
else if (EnvUtil.isPortableType(eventType) && !EnvUtil.isLocalEventType(eventType)) {
 subscribeMethod = "subscribe";
 callBackBlock = getSubscriptionCallback(decorable, controller);
 if (!EnvUtil.isLocalEventType(cls)) {
  final ContextualStatementBuilder routingSubStmt = Stmt.invokeStatic(ErraiBus.class, "get").invoke("subscribe",
      CDI.getSubjectNameByType(cls.getName()), Stmt.loadStatic(CDI.class, "ROUTING_CALLBACK"));
org.jboss.errai.config.rebindEnvUtilisLocalEventType

Popular methods of EnvUtil

  • isPortableType
  • isProdMode
  • getEnvironmentConfig
  • isJUnitTest
  • getErraiAppPropertiesFilesUrls
  • isDevMode
  • 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)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getSystemService (Context)
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top Sublime Text 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