Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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. … 376 more files in changeset.
Fixed CDI/MVP demo (deactivated chaos monkey and added weld-servlet)

  1. … 1 more file in changeset.
Fixed all cdi demos: tagcloud, mvp and mobile

  1. … 42 more files in changeset.
Refactoring of src of bus and cdi demos

  1. … 111 more files in changeset.
Refactoring of src of bus and cdi demos

  1. … 111 more files in changeset.
Refactoring of src of bus and cdi demos

  1. … 111 more files in changeset.
Refactoring of src of bus and cdi demos

  1. … 111 more files in changeset.
Refactored JPA demos, renamed all demos.

  1. … 394 more files in changeset.
Refactored JPA demos, renamed all demos.

  1. … 394 more files in changeset.
Refactored JPA demos, renamed all demos.

  1. … 394 more files in changeset.
Refactored JPA demos, renamed all demos.

  1. … 394 more files in changeset.