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.

    • -10
    • +10
    ./server/CDIExtensionPoints.java
  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.

    • -19
    • +0
    ./server/BusInitializationBean.java
    • -444
    • +0
    ./server/CDIExtensionPoints.java
    • -118
    • +0
    ./server/RequestDispatcherMetaData.java
    • -37
    • +0
    ./server/events/AnyEventObserver.java
    • -102
    • +0
    ./server/events/ClientObserverMetadata.java
    • -62
    • +0
    ./server/events/ConversationEventGatewayBean.java
    • -67
    • +0
    ./server/events/ConversationalEvent.java
    • -54
    • +0
    ./server/events/ConversationalEventWrapper.java
    • -108
    • +0
    ./server/events/EventConversationContext.java
    • -222
    • +0
    ./server/events/EventDispatcher.java
  1. … 661 more files in changeset.
ERRAI-878 - Errai Weld CDI EventDispatcher incorrect loading of application event classes

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.
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

Fixed ERRAI-781: deleted outdated eager observer registration logic

Conflicts:

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

    • -112
    • +13
    ./server/CDIExtensionPoints.java
  1. … 4 more files in changeset.
Fixed ERRAI-781: deleted outdated eager observer registration logic

    • -170
    • +10
    ./server/CDIExtensionPoints.java
  1. … 4 more files in changeset.
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-700: Improper use of CDI SPI by Errai's CDI extension

    • -13
    • +18
    ./server/CDIExtensionPoints.java
    • -0
    • +37
    ./server/events/AnyEventObserver.java
    • -0
    • +102
    ./server/events/ClientObserverMetadata.java
    • -3
    • +3
    ./server/events/ConversationalEventWrapper.java
    • -175
    • +0
    ./server/events/DynamicEventObserverMethod.java
    • -198
    • +106
    ./server/events/EventDispatcher.java
    • -2
    • +0
    ./server/events/EventRoutingTable.java
    • -4
    • +1
    ./server/events/ShutdownEventObserver.java
  1. … 5 more files in changeset.
Fixed ERRAI-700: Improper use of CDI SPI by Errai's CDI extension

    • -13
    • +18
    ./server/CDIExtensionPoints.java
    • -0
    • +37
    ./server/events/AnyEventObserver.java
    • -0
    • +102
    ./server/events/ClientObserverMetadata.java
    • -3
    • +3
    ./server/events/ConversationalEventWrapper.java
    • -175
    • +0
    ./server/events/DynamicEventObserverMethod.java
    • -198
    • +106
    ./server/events/EventDispatcher.java
    • -2
    • +0
    ./server/events/EventRoutingTable.java
    • -4
    • +1
    ./server/events/ShutdownEventObserver.java
  1. … 6 more files in changeset.
Fixed ERRAI-700: Improper use of CDI SPI by Errai's CDI extension

    • -13
    • +18
    ./server/CDIExtensionPoints.java
    • -0
    • +37
    ./server/events/AnyEventObserver.java
    • -0
    • +102
    ./server/events/ClientObserverMetadata.java
    • -3
    • +3
    ./server/events/ConversationalEventWrapper.java
    • -175
    • +0
    ./server/events/DynamicEventObserverMethod.java
    • -198
    • +106
    ./server/events/EventDispatcher.java
    • -2
    • +0
    ./server/events/EventRoutingTable.java
    • -4
    • +1
    ./server/events/ShutdownEventObserver.java
  1. … 7 more files in changeset.
Fixed ERRAI-700: Improper use of CDI SPI by Errai's CDI extension

    • -13
    • +18
    ./server/CDIExtensionPoints.java
    • -0
    • +37
    ./server/events/AnyEventObserver.java
    • -0
    • +102
    ./server/events/ClientObserverMetadata.java
    • -3
    • +3
    ./server/events/ConversationalEventWrapper.java
    • -175
    • +0
    ./server/events/DynamicEventObserverMethod.java
    • -198
    • +106
    ./server/events/EventDispatcher.java
    • -2
    • +0
    ./server/events/EventRoutingTable.java
    • -4
    • +1
    ./server/events/ShutdownEventObserver.java
  1. … 6 more files in changeset.
Unwrap InvocationTargetException for @Service/@Command methods.

  1. … 8 more files in changeset.
Minor cleanup (suppressed warnings and javadoc)

    • -6
    • +10
    ./server/events/DynamicEventObserverMethod.java
Temporary fix for Weld 2.1.2 until ERRAI-700 can be addressed

    • -8
    • +20
    ./server/events/EventDispatcher.java
Temporary fix for Weld 2.1.2 until ERRAI-700 can be addressed

    • -8
    • +20
    ./server/events/EventDispatcher.java
Rename @AltLogger to @NamedLogger

  1. … 6 more files in changeset.
Client CDI classes were not devoted when the package name starts with `client.`

Follow up of ERRAI-465

Client CDI classes were not devoted when the package name starts with `client.`

Follow up of ERRAI-465

Change injection by name to use custom annotation (workaround issue with @Named)

  1. … 1 more file in changeset.
Add server-side cdi producer for logger

    • -0
    • +25
    ./server/providers/builtin/LoggerProvider.java
Changed fix for ERRAI-591 to not introduce dep. on Weld and also work with WildFly 8.Beta1

    • -22
    • +45
    ./server/events/EventDispatcher.java
  1. … 1 more file in changeset.
Changed fix for ERRAI-591 to not introduce dep. on Weld and also work with WildFly 8.Beta1

    • -34
    • +24
    ./server/CDIExtensionPoints.java
    • -22
    • +45
    ./server/events/EventDispatcher.java
Fixed ERRAI-657: Weld warning for ErraiServiceBean and MessageBusBean