Clone Tools
  • last updated a few minutes ago
Constraints: committers
Constraints: files
Constraints: dates
Create APT generators for errai-ioc module

  1. … 250 more files in changeset.
Add Errai APT Generators mechanism

  1. … 270 more files in changeset.
AF-546: Reduce startup time of AppFormer apps and workbenches

This commit:

* Adds logging to audit startup to entrypoints, RPCs, bean manager

* Load RPC proxies before the bus initializes so that startup RPC calls

can be queued up and sent in a single payload

* Don't wait for bus to initialize to send CDI client assoicate message

(allows this to also be sent with initial bus payload)

* Don't delay InitVotes in SecurityContextImpl if a user has been injected

onto the host page

  1. … 8 more files in changeset.
ERRAI-978: Generated client code doesn't compile for observer methods of primitive types.

Observer methods of primitive types are registered as observes of the boxed types,

since only boxed types can be fired as events.

  1. … 2 more files in changeset.
ERRAI-974: Call observers for indirect interface supertypes of event.

Instead of generating addLookups for all indirect supertypes,

do this for only direct supertypes/interfaces and recurse

to get indirect supertypes.

  1. … 9 more files in changeset.
ERRAI-961: Migrate IOCUtil functionality from kie-wb-common into errai-ioc as enhanced version of Instance<T>

Created a ManagedInstance<T> type with an API like Instance<T> except

with different memory management semantics. A ManagedInstance<T> holds

references to all dependent beans it creates and will destroy them

when it itself is destroyed.

This feature required adding capability to for disposing beans

to IOCProviders.

  1. … 24 more files in changeset.
Add wiring type for pseudo-scopes, validate lack of pseudo-scope cycles (with tests).

This commit changes @EntryPoint and @Singleton to pseudo-scopes, meaning

they are not proxied and cannot be in a cycle that does not contain a

normal-scoped bean.

  1. … 22 more files in changeset.
ERRAI-937: Looking up unqualified beans with Instance<T> fails.

Also fix implementations that did not

retain qualifiers of original Instance.

  1. … 12 more files in changeset.
Move CDIAnnotationUtils from errai-ioc (reasoning below).

CDIAnnotationUtils is used by errai-cdi-server in dev mode to

generate the EventQualifierSerializerImpl.class. This means

that SDM can break when errai-ioc is set to provided scoped.

To avoid having to specify a separate profile for SDM, CDIAnnotationUtils

has been moved to errai-codegen. The same problem now exists for errai-codegen

where if it is set to provided scope it may break SDM, however, leaving

errai-codgen as compile scoped and deploying it to the server in production

has less potential for bad side-effects than deploying the errai-ioc jar.

  1. … 4 more files in changeset.
Improve logging for generation of MarshallerFactory and EventQualifierSerializerImpl classes.

  1. … 3 more files in changeset.
Add property for setting class file output directory for marshallers and event qualifier serializers.

  1. … 3 more files in changeset.
Add missing cdi-client for cdi-server tests

  1. … 1 more file in changeset.
Fix errai-cdi refactoring: move shared generator to errai-cdi-shared.

  1. … 2 more files in changeset.
Refactor errai-cdi so that errai-cdi-client dependency is not required for server-side code.

    • -412
    • +0
  1. … 16 more files in changeset.
ERRAI-682+: Fix EventQualifierSerializerImpl class-loading issue (description below).

Fix two separate issues with the loading and generation of the


* At runtime, only try to load class files with the "file" protocol

(in particular, don't load impls from jars on the classpath -- this

caused the ClassChangeUtil.loadClassDefinition to throw an exception

because it is only meant to load files from within the current project).

* Only generate impls into class output folders when running a

production compile.

  1. … 3 more files in changeset.
Fix compilation warning in WindowEventObservers (see below)

- Change return type of get() from list to array since we need to be able

to use it from JavaScript (from another runtime module) and list is not a

"shared" type

  1. … 1 more file in changeset.
Remove old JsType annotations (use only jsinterop.annotation.*)

  1. … 3 more files in changeset.
Instance<T> should return the iterator for T implementations

  1. … 1 more file in changeset.
ERRAI-682: Qualifiers with members on events

    • -0
    • +126
    • -9
    • +14
  1. … 31 more files in changeset.
Add missing license headers and update copyright notice in existing headers.

    • -2
    • +3
  1. … 3043 more files in changeset.
Revert "Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header."

Changes from the reverted commit did not preserve original copyright dates.

This reverts commit d8e735dfe2f6ed25fe9e06b753ae2f6154d76b02.

    • -4
    • +3
  1. … 3069 more files in changeset.
Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header.

    • -3
    • +4
  1. … 3151 more files in changeset.
Support injecting Instance<T> for sync types when async is enabled.

  1. … 6 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.
Load async types with only sync dependencies.

  1. … 28 more files in changeset.
Support CDI events across dynamic modules

    • -2
    • +27
  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. … 380 more files in changeset.
Remove java 8 incompatible generic signatures

Implemented isUnsatisfied and isAmbiguous for Instance<T>

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



  1. … 3 more files in changeset.