Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Reduce amount of synchronization required for MessageBusProxy.

A single MessageBusProxy is used for callbacks for all RPC services

in CDIExtensionPoints. This change enhances the MessageBusProxy so

that writes to the TransmissionBuffer are not contained within

synchronized methods.

  1. … 1 more file in changeset.
Rename errai-weld-integration to errai-cdi-server

Our server-side CDI integration module doesn't contain any

Weld specific logic anymore (since Errai 3) and is fully

portable to other CDI containers.

  1. … 661 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. … 26 more files in changeset.
Reduce amount of proxies required by handling producer cycles more like Weld.

IoC generation now fails when there is a producer in a cycle that uses

constructor injection. Producers in cycles that use field injection

continue to work.

Because of this change we no longer need to proxy @Dependent

scoped beans injected into constructors.

  1. … 1 more file in changeset.
Load async types with only sync dependencies.

  1. … 25 more files in changeset.
ERRAI-878 - Errai Weld CDI EventDispatcher incorrect loading of application event classes

Support CDI events across dynamic modules

  1. … 4 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. … 367 more files in changeset.
Fixed ERRAI-845: Timed methods with type DELAYED cause compilation error

  1. … 1 more file in changeset.
Removed unneeded jdni.properties files

  1. … 1 more file in changeset.
Fixed ERRAI-838: NPE in CDI extension with CDI beans in root/default package

Fixed ERRAI-838: NPE in CDI extension with CDI beans in root/default package

minor refactoring / rename variable

minor refactoring / rename variable

Fixed ERRAI-830: @Services not discovered in WildFly 8.2.0.Final

Fixed ERRAI-830: @Services not discovered in WildFly 8.2.0.Final

Implemented isUnsatisfied and isAmbiguous for Instance<T>

  1. … 1 more file in changeset.
Fixed ERRAI-781: deleted outdated eager observer registration logic

Conflicts:

errai-cdi/weld-integration/src/main/java/org/jboss/errai/cdi/server/CDIExtensionPoints.java

  1. … 4 more files in changeset.
Fixed ERRAI-781: deleted outdated eager observer registration logic

  1. … 4 more files in changeset.
Moved all test base classes to src/test/java

- This makes sure applications can compile in strict

mode without inheriting the JUnit GWT module

- To use our test base classes for application tests

the corresponding test-jar has to be included i.e.

<dependency>

<groupId>org.jboss.errai</groupId>

<artifactId>errai-cdi-client</artifactId>

<type>test-jar</type>

<scope>test</scope>

</dependency>

Conflicts:

errai-bom/pom.xml

errai-cdi/weld-integration/pom.xml

errai-ioc/pom.xml

  1. … 35 more files in changeset.
Moved all test base classes to src/test/java

- This makes sure applications can compile in strict

mode without inheriting the JUnit GWT module

- To use our test base classes for application tests

the corresponding test-jar has to be included i.e.

<dependency>

<groupId>org.jboss.errai</groupId>

<artifactId>errai-cdi-client</artifactId>

<type>test-jar</type>

<scope>test</scope>

</dependency>

  1. … 35 more files in changeset.
Remove method in class causing failing test-case (this was already done for a similar test in errai-bus.

Don't veto **.client.shared classes in CDIExtensionPoints (and log vetoed classes).

Don't veto **.client.shared classes in CDIExtensionPoints (and log vetoed classes).

Fixed ERRAI-747: IOC container reports unresolvable bean with injection cycle involving interfaces on both ends

  1. … 2 more files in changeset.
Fixed ERRAI-700: Improper use of CDI SPI by Errai's CDI extension

  1. … 3 more files in changeset.
Fixed ERRAI-700: Improper use of CDI SPI by Errai's CDI extension

  1. … 4 more files in changeset.
Fixed ERRAI-700: Improper use of CDI SPI by Errai's CDI extension

  1. … 5 more files in changeset.
Fixed ERRAI-700: Improper use of CDI SPI by Errai's CDI extension

  1. … 4 more files in changeset.
Fixed ERRAI-569: Proxies causing wrong @PostContruct ordering

  1. … 3 more files in changeset.