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