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

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

  1. … 254 more files in changeset.
Add Errai APT Generators mechanism

  1. … 271 more files in changeset.
Support ErraiApp.properties in META-INF dir

  1. … 123 more files in changeset.
Support ErraiApp.properties in META-INF dir

  1. … 123 more files in changeset.
Fix codegen for ShadowService with checked exception.

  1. … 2 more files in changeset.
Fix another ShadowService error.

  1. … 2 more files in changeset.
Fix error in ShadowService. Add argument to test service.

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

    • -0
    • +30
    ./org/jboss/errai/ioc/support/bus/client/ServiceNotReady.java
Fix issue with generic interfaces in ShadowServiceDecorator.

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

  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

implementations

- Test coverage

  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.

  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.

  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.

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

  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

feature.

  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.

  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

  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

Conflicts:

errai-bus/pom.xml

errai-cdi/weld-integration/src/test/java/org/jboss/errai/cdi/ErraiCDITestSuite.java

errai-cdi/weld-integration/src/test/java/org/jboss/errai/cdi/injection/client/test/InjectionIntegrationTest.java

errai-ioc/src/main/java/org/jboss/errai/ioc/client/container/AbstractIOCBean.java

errai-ioc/src/main/java/org/jboss/errai/ioc/client/container/SyncBeanManagerImpl.java

errai-ioc/src/main/java/org/jboss/errai/ioc/rebind/ioc/bootstrapper/IOCBootstrapGenerator.java

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

  1. … 32 more files in changeset.
initial implementation of @ShadowService as well as fixes to connection recovery with SSE

Conflicts:

errai-ioc/src/main/java/org/jboss/errai/ioc/rebind/ioc/bootstrapper/IOCGenerator.java

errai-jpa/errai-jpa-client/src/main/java/org/jboss/errai/jpa/rebind/ErraiEntityManagerGenerator.java

errai-marshalling/src/main/java/org/jboss/errai/marshalling/rebind/MarshallersGenerator.java

errai-navigation/src/main/java/org/jboss/errai/ui/nav/rebind/NavigationGraphGenerator.java

    • -0
    • +42
    ./org/jboss/errai/ioc/support/bus/ErraiBusIOCExtension.java
  1. … 15 more files in changeset.