Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.

    • -24
    • +0
    ./BeanInjectsNonModuleDependentBean.java
    • -27
    • +0
    ./BeanInjectsNonModuleDependentBeanB.java
  1. … 661 more files in changeset.
Load async types with only sync dependencies.

    • -35
    • +35
    ./test/BeanManagerIntegrationTest.java
  1. … 28 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.

    • -0
    • +8
    ./DisabledAlternativeBean.java
    • -0
    • +31
    ./ProducesProxiableOfAbstractType.java
    • -15
    • +77
    ./test/BeanManagerIntegrationTest.java
    • -44
    • +1
    ./test/CyclicDepsIntegrationTest.java
  1. … 367 more files in changeset.
Implemented isUnsatisfied and isAmbiguous for Instance<T>

    • -3
    • +40
    ./test/InstanceInjectionIntegrationTest.java
  1. … 1 more file in changeset.
Fixed ERRAI-569: Proxies causing wrong @PostContruct ordering

  1. … 3 more files in changeset.
Resolved ERRAI-585: Named CDI beans appear nameless when looked up via an interface type or supertype

    • -3
    • +49
    ./test/BeanManagerIntegrationTest.java
  1. … 17 more files in changeset.
Merge branch '2.3'

Conflicts:

errai-ioc/src/main/java/org/jboss/errai/ioc/rebind/ioc/injector/InjectUtil.java

    • -25
    • +18
    ./test/BeanManagerIntegrationTest.java
  1. … 1 more file in changeset.
Fixed ERRAI-529: IoC generates invalid code for some usages of generics

    • -25
    • +18
    ./test/BeanManagerIntegrationTest.java
  1. … 1 more file in changeset.
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

    • -0
    • +27
    ./test/InjectionIntegrationTest.java
  1. … 36 more files in changeset.
Fixes for ERRAI-528

    • -0
    • +38
    ./ZoltronDependentBean.java
    • -0
    • +53
    ./ZoltronProducingBean.java
    • -0
    • +27
    ./test/InjectionIntegrationTest.java
  1. … 13 more files in changeset.
- add initial SSE support - fix to generics regression in 3.0 ERRAI-487

    • -0
    • +15
    ./test/InjectionIntegrationTest.java
  1. … 13 more files in changeset.
Introduce new common interface for async and sync bean manager

    • -2
    • +2
    ./test/BeanManagerIntegrationTest.java
  1. … 33 more files in changeset.
introduce new AsyncBeanQuery API to make loading multiple beans asynchronously less of a pain.

  1. … 24 more files in changeset.
Make @Page and @Templated work with dynamic lookups by making them imply dependent scope via two new IOC extensions. Also, includes a test. =)

    • -0
    • +24
    ./FoobieScopedBean.java
    • -0
    • +27
    ./FoobieScopedOverriddenBean.java
    • -2
    • +26
    ./test/BeanManagerIntegrationTest.java
  1. … 5 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. … 37 more files in changeset.
disable reachablity analysis by default and ignore the ExperimentalDependentScopeTest for now. Will be reactivated in future version, when reachability is stable.

    • -0
    • +2
    ./test/ExperimentalDependentScopeTest.java
  1. … 1 more file in changeset.
add warning message if optimizer can't find source files during reachability analysis

    • -1
    • +1
    ./test/ExperimentalDependentScopeTest.java
  1. … 3 more files in changeset.
ERRAI-402

  1. … 4 more files in changeset.
code cleanup

  1. … 3 more files in changeset.
- add additional javadocs - add new method to bean manager to allow dynamic registration of destruction callbacks on a bean, as well as unit test. - add additional unit tests for existing bean manager functionality

    • -0
    • +35
    ./test/BeanManagerIntegrationTest.java
  1. … 11 more files in changeset.
add experimental support for "dependent scope by reachability" to emulate the way @Dependent works per the JSR-299 specification.

    • -0
    • +7
    ./ReachabiltyInferredDependentBean.java
    • -0
    • +31
    ./test/ExperimentalDependentScopeTest.java
  1. … 18 more files in changeset.
minor optimizations to the reachability analyzer

  1. … 7 more files in changeset.
ERRAI-366

    • -17
    • +10
    ./test/DependentScopeIntegrationTest.java
  1. … 9 more files in changeset.
refactor unit tests -- break some unnecessarily expansive tests into multiple unit tests

    • -0
    • +44
    ./DependentInstanceTestBean.java
    • -15
    • +12
    ./test/BeanManagerIntegrationTest.java
    • -9
    • +24
    ./test/InjectionIntegrationTest.java
    • -2
    • +32
    ./test/InstanceInjectionIntegrationTest.java
additional unit tests and fix to lookup behavior for java.lang.Object

    • -4
    • +24
    ./test/BeanManagerIntegrationTest.java
  1. … 1 more file in changeset.
support distinguishing between the bean type and the *actual* bean type -- mainly for spec compliance.

    • -8
    • +8
    ./test/BeanManagerIntegrationTest.java
  1. … 10 more files in changeset.
improvement (I think): producer now registers a global callback for both dependent and singleton scopes...

    • -2
    • +2
    ./test/BeanManagerIntegrationTest.java
  1. … 19 more files in changeset.
- some progress on getting producer injectors to register as regular beans (only singleton scopes working properly)

    • -0
    • +3
    ./test/BeanManagerIntegrationTest.java
    • -3
    • +6
    ./test/DependentScopeIntegrationTest.java
    • -8
    • +5
    ./test/InstanceInjectionIntegrationTest.java
  1. … 50 more files in changeset.
- add additional APIs as required to properly implement/test @Specializes behavior - @Specializes now working correctly for simple injection/lookup cases (still not implemented for producers) - additional tests

    • -2
    • +3
    ./test/BeanManagerIntegrationTest.java
    • -1
    • +10
    ./test/SpecializationIntegrationTest.java
  1. … 10 more files in changeset.
- move the javax.enterprise support package to be a top-level module so both errai-ioc and errai-cdi can depend on it. - add support for @Specializes in errai-cdi. - cleanup the way that event qualification is handled to make it more clear and consistent. - introduce the @Default qualifier to be consistent with server-side CDI.

    • -0
    • +12
    ./SpecializationDependentBean.java
    • -0
    • +50
    ./test/SpecializationIntegrationTest.java
  1. … 56 more files in changeset.