Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Remove async test modules.

Async tests for errai-cdi, errai-data-binding, and errai-ioc,

have been moved to those respective modules and the async test

modules have been deleted.

    • -17
    • +0
  1. … 354 more files in changeset.
Clean up unloaded factories after they are loaded in async bean manager.

  1. … 1 more file in changeset.
Remove commented out code in errai-ioc-async-tests.

Load async types with only sync dependencies.

  1. … 28 more files in changeset.
Remove redundant async IoC tests and change IOC.getBeanManager() behaviour.

errai-ioc-async-tests now runs all tests from errai-ioc with

the async flag set to true. Duplicate tests have been removed.

When the async flag is set to true, IOC.getBeanManager() returns

as SyncBeanManager that is used internally by the AsyncBeanManager

(containing beans from all downloaded code fragments).

    • -0
    • +76
  1. … 36 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. … 381 more files in changeset.
LazySingleton feature + fixes for some complex ioc cases

  1. … 39 more files in changeset.
Implemented ERRAI-703: Add parameter for code partition/fragment name to @LoadAsync

  1. … 5 more files in changeset.
modified rpc and jax-rs interceptor chain processing to be async. added IOC support for interceptors (now if the interceptor is a managed bean it will be looked up via the bean manager rather than simply created new each time

  1. … 36 more files in changeset.
Rename @AltLogger to @NamedLogger

  1. … 6 more files in changeset.
Fix ioc async test for logger injector

Move org.jboss.errai.common.Logging inheritance into ioc container module

  1. … 2 more files in changeset.
Add async tests for logger injector

Removed bean validation as a dependency of errai-bus: should have never been there

  1. … 11 more files in changeset.

  1. … 3 more files in changeset.
Merge remote-tracking branch 'remotes/upstream/master' into 3.0

Migrate fix for ERRAI-528 from master








  1. … 32 more files in changeset.
add support for code weaving to async bean manager

  1. … 12 more files in changeset.
- add additional unit tests - do not lazy cache annotations for GWT MetaClass implementations as the performance penalty of upfront caching is not significant (unlike with Java reflection)

  1. … 6 more files in changeset.
add more tests for the async bean manager.

  1. … 44 more files in changeset.
first passing cluster test with JGroups!

  1. … 10 more files in changeset.

  1. … 7 more files in changeset.
ignore currently unused test file -- will add tests on the airplane =)

  1. … 2 more files in changeset.
add additional unit test for testing named lookup with the async bean manager.

  1. … 3 more files in changeset.
fix registration of bean type supertypes in the async bean manager.

  1. … 6 more files in changeset.
@LoadAsync now has workable semantics.

  1. … 24 more files in changeset.
async bean manager integration tests now work properly for out-of-order resource loads. Unit tests now simulate variable latency to ensure this works.

  1. … 35 more files in changeset.
post construct and pre destroy behavior now working correctly when running in a browser in production mode.

  1. … 12 more files in changeset.
added a whole bunch new dependent scope tests for the async bean manager. all passing.

  1. … 34 more files in changeset.
- Dependent beans now registering properly in async mode. - Introduced new IOCEnvironment deferred binding to reliably configure the client-side bean manager into async or synchronous mode.

  1. … 14 more files in changeset.
add missing files

    • -0
    • +23
    • -0
    • +17
    • -0
    • +36
    • -0
    • +25