Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add mechanism for retrying ShadowService invocation.

    • -0
    • +30
    ./client/ServiceNotReady.java
    • -0
    • +37
    ./client/ShadowServiceHelper.java
    • -9
    • +21
    ./rebind/ShadowServiceDecorator.java
Fix issue with generic interfaces in ShadowServiceDecorator.

    • -11
    • +15
    ./rebind/ShadowServiceDecorator.java
  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
    ./rebind/UncaughtExceptionDecorator.java
  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

    • -0
    • +139
    ./rebind/ShadowServiceDecorator.java
    • -139
    • +0
    ./rebind/ShadowServiceIOCExtension.java
  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
    ./client/BatchCallerProvider.java
  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.

    • -2
    • +2
    ./client/RequestDispatcherProvider.java
    • -2
    • +2
    ./rebind/ShadowServiceIOCExtension.java
    • -3
    • +3
    ./rebind/UncaughtExceptionDecorator.java
  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.

    • -3
    • +3
    ./client/RequestDispatcherProvider.java
    • -3
    • +3
    ./rebind/ShadowServiceIOCExtension.java
    • -4
    • +4
    ./rebind/UncaughtExceptionDecorator.java
  1. … 3073 more files in changeset.
Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header.

    • -3
    • +3
    ./client/RequestDispatcherProvider.java
    • -3
    • +3
    ./rebind/ShadowServiceIOCExtension.java
    • -4
    • +4
    ./rebind/UncaughtExceptionDecorator.java
  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.

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

    • -1
    • +1
    ./rebind/ShadowServiceIOCExtension.java
Implemented ERRAI-538: Global error handling to catch uncaught exceptions in ErraiBus

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

    • -1
    • +1
    ./rebind/ShadowServiceIOCExtension.java
  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.

    • -9
    • +91
    ./rebind/ShadowServiceIOCExtension.java
added support for RPC calls, when your shadow service is an RPC the method of your shadow service is called.

    • -9
    • +91
    ./rebind/ShadowServiceIOCExtension.java
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
    • +1
    ./client/RequestDispatcherProvider.java
  1. … 28 more files in changeset.
- new AOP features in IOC container -- added test - refactored the names of some classes for clarity

    • -104
    • +0
    ./rebind/ServiceIOCExtension.java
  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
    ./ErraiBusIOCExtension.java
    • -0
    • +60
    ./rebind/ShadowServiceIOCExtension.java
  1. … 15 more files in changeset.
- Massive refactoring to bus API - @Disposes methods now work properly with the async bean manager.

    • -1
    • +1
    ./client/RequestDispatcherProvider.java
  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.
renamed endBatch to sendBatch for RPC batching

  1. … 2 more files in changeset.
Implemented ERRAI-293: Ability to batch/chain rpc service requests to server

    • -0
    • +167
    ./client/BatchCallerProvider.java
  1. … 13 more files in changeset.
add some temporary instrumentation.

  1. … 14 more files in changeset.
MAJOR REFACTORING! Lots of breaking API Changes.

- All bus-related stuff has been moved out of errai-ioc and into errai-ioc-bus-support (new module)

- Interfaces from errai-bus which are common to multiple modules but not exclusive to errai-bus, have been moved to errai-common

- A new cycle-breaking module has been added (errai-codegen-tools), which imports errai-common and errai-codegen, used for the ProxyUtil facility. This is required since errai-codegen depends on errai-common.

- CDI tests are known to be passing with the changes. But nothing else. Will begin testing tomorrow. =)

    • -1
    • +1
    ./client/RequestDispatcherProvider.java
  1. … 64 more files in changeset.
MAJOR REFACTORING! Lots of breaking API Changes.

- All bus-related stuff has been moved out of errai-ioc and into errai-ioc-bus-support (new module)

- Interfaces from errai-bus which are common to multiple modules but not exclusive to errai-bus, have been moved to errai-common

- A new cycle-breaking module has been added (errai-codegen-tools), which imports errai-common and errai-codegen, used for the ProxyUtil facility. This is required since errai-codegen depends on errai-common.

- CDI tests are known to be passing with the changes. But nothing else. Will begin testing tomorrow. =)

    • -0
    • +33
    ./client/MessageBusProvider.java
    • -0
    • +104
    ./rebind/ServiceIOCExtension.java
  1. … 75 more files in changeset.