Clone Tools
  • last updated a few minutes ago
Constraints: committers
Constraints: files
Constraints: dates
ERRAI-1095: Prevent callbacks from invoking with Caller<T> when user bean is destroyed

    • -63
    • +82
  1. … 6 more files in changeset.
Create APT generators for errai-ioc module

    • -6
    • +7
    • -8
    • +8
  1. … 254 more files in changeset.
Add Errai APT Generators mechanism

    • -1
    • +1
  1. … 271 more files in changeset.
Fix codegen for ShadowService with checked exception.

    • -5
    • +17
  1. … 2 more files in changeset.
Fix another ShadowService error.

    • -7
    • +4
  1. … 2 more files in changeset.
Fix error in ShadowService. Add argument to test service.

    • -1
    • +1
  1. … 5 more files in changeset.
Add mechanism for retrying ShadowService invocation.

    • -0
    • +30
    • -0
    • +37
    • -9
    • +21
Fix issue with generic interfaces in ShadowServiceDecorator.

    • -11
    • +15
  1. … 17 more files in changeset.
ERRAI-981: Convert @UncaughtException to work with all uncaught exceptions (not just those in the client message bus)

    • -116
    • +0
  1. … 20 more files in changeset.
Cleanup and fixes based on FindBugs analysis

  1. … 35 more files in changeset.
Fixes for RPC shadow services (see below)

- RPC return value now properly passed on to remote callback

- Shadow services are now being used if the message bus is

offline, remote communication is disabled or no remote

endpoint for the service exists

- No longer attempt to contact remote endpoint if message

was deferred or was already delivered to a shadow service

- No longer swallow exceptions thrown by shadow service


- Test coverage

    • -0
    • +139
    • -139
    • +0
  1. … 12 more files in changeset.
Add wiring type for pseudo-scopes, validate lack of pseudo-scope cycles (with tests).

This commit changes @EntryPoint and @Singleton to pseudo-scopes, meaning

they are not proxied and cannot be in a cycle that does not contain a

normal-scoped bean.

  1. … 22 more files in changeset.
ERRAI-884: ClientMessageBusImpl catches exceptions in MessageCallbacks, preventing @UncaughtException Handing

Additionally this commit also changes client-side error handling as follows.

* noErrorHandling suppresses sending errors to CLIENT_ERROR_SUBJECT.

* Handle case where GWT.uncaughtExceptionHandler is null.

* Invoke error callback when error occurs in ClientMessageBus.send

instead of throwing exception.

* Test new behaviour in ErrorHandlingTest.

* Send RPC errors to CLIENT_ERROR_SUBJECT a supplied error handler

returns true.

    • -12
    • +12
  1. … 16 more files in changeset.
Add DOM JsTypes to errai-common. Change IsElement to use new HTMLElement wrapper.

  1. … 100 more files in changeset.
Add missing license headers and update copyright notice in existing headers.

    • -3
    • +3
  1. … 3047 more files in changeset.
Revert "Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header."

Changes from the reverted commit did not preserve original copyright dates.

This reverts commit d8e735dfe2f6ed25fe9e06b753ae2f6154d76b02.

    • -4
    • +4
  1. … 3073 more files in changeset.
Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header.

    • -4
    • +4
  1. … 3155 more files in changeset.
Enhance WidgetIOCExtension and related fixes (description below).

Cache concrete subtypes of Widget in MetaClassBridgeUtil

to add provider extensions in WidgetIOCExtension.

Remove subtype matching feature and fixup exact type matching


  1. … 12 more files in changeset.
Performance improvments and IOCExtensionConfigurator API change (details below).

* Don't pass in IOCProcessor to IOCExtentionsConfigurators. Allows caching

of scanned extensions, decorators, and tasks.

* Don't load class from class loader in JavaReflectionClass.

* Reduce usage of MetaClass.asClass for class literals in generated code.

* Overload some methods in EnvUtil to take MetaClasses (to avoid calling asClass).

* Never clear non-reloadable types from MetaClassCache.

  1. … 27 more files in changeset.
ERRAI-590, ERRAI-850, ERRAI-851: Implement new IOC container (more description below).

The new container uses code genererated in multiple files instead

of a single monolithic file. At compile time an implementation of

org.jboss.errai.ioc.client.container.Factory is generated for each bean.

The factory is responsible for requesting dependencies from other

factories to wire the bean, running code generated by decorators,

and cleaning up when the bean is destroyed.

The GWT.create calls for the factories are generated in the

BootstrapperImpl. The BootstrapperImpl now only registers

factories with their respective contexts.

This container has the following differences from behaviour

in the 3.x version of errai-ioc:

* Normal scoped beans must be proxiable.

* The @New qualifier is not supported.

* Normal scoped beans (except @Entrypoint or with @Startup) are lazily instatiated.

* @Alternative beans must be explicitly enabled (even if no other beans match).

* Resolution of types behaves like CDI. Some cases that worked in 3.x may now be ambiguous.

** Injecting a common supertype of multiple concrete classes is ambiguous.

* Different API for programmtically adding beans to bean manager.

    • -47
    • +15
    • -19
    • +16
    • -52
    • +48
  1. … 377 more files in changeset.
Fixed ShadowServiceIOCExt.: It loaded a variable instead of a literal value

Implemented ERRAI-538: Global error handling to catch uncaught exceptions in ErraiBus

    • -0
    • +120
  1. … 8 more files in changeset.
Move ProxyUtil to errai-codegen and reuse in ERRAI-277 fix

  1. … 8 more files in changeset.
added support for RPC calls, when your shadow service is an RPC the method of your shadow service is called.

added support for RPC calls, when your shadow service is an RPC the method of your shadow service is called.

Merge remote-tracking branch 'remotes/upstream/master' into 3.0

Migrate fix for ERRAI-528 from master








  1. … 28 more files in changeset.
- new AOP features in IOC container -- added test - refactored the names of some classes for clarity

    • -2
    • +2
    • -104
    • +0
  1. … 32 more files in changeset.
initial implementation of @ShadowService as well as fixes to connection recovery with SSE






    • -0
    • +42
    • -0
    • +60
  1. … 15 more files in changeset.
- Massive refactoring to bus API - @Disposes methods now work properly with the async bean manager.

  1. … 241 more files in changeset.
- first stab at refactoring the bus to move the transport implementations out of the main message bus code. (most tests passing)

  1. … 26 more files in changeset.