Clone
 

peter royle <pete@screamingcoder.com> in WeldCore

WELDSE-25: changed customiseDeployment(...) to createDeployment(...) WELDSE-25, WELDSE-26: Weld now exposes a discoverBeansAndResources(Deployment) method which can be overridden in order to pass a customised set of discovered bean classes and resources to the Weld bootstrap. The old file-based Scanner code is used by default.

WELDSE-26: Previous commit for this issue broke simple jar support. This commit fixes.

WELDSE-26: Renamed ClassHandler to URLHandler (part 3)

WELDSE-26: Renamed ClassHandler to URLHandler (part 2)

WELDSE-26: Renamed ClassHandler to URLHandler

WELDSE-26: Some way towards plugability of URLScanner to handle arbitrary URLs in various environments. Existing file-system based scanning code has been extracted into a built-in plugin (FileSystemClassHandler) which is automatically registered to handle file:// and jar:// URLs. Custom implementations of ClassHandler can be created and registered programatically by subclassinf Weld and overriding customiseClassHandlers(...).

WELDSE-25: Remove final usage of Reflections and replace with ResourceLoader

WeldManagerUtils is still useful within Weld.class, but I have removed it from all of the tests, replaced by Weld.instance()

WELDSE-25: Added basic support for customising the deployment by subclassing the Weld class. Also updated URLScanner to use the configured or default ResourceLoader, rather than using Reflections.

Deprecated WeldManagerUtils. It's replaced by Weld.instance()

WELDSE-10: Applied patch from Koichi Kobayashi to support beans.xml files from multiple archives.

WELDSE-1: the addClasspath element probably doesn't make sense in a shaded jar.

WELDSE-1: Added main class to manifest to make the jar executable

WELDX-51: removed slf4j-simple out of shaded weld-se.jar.

WELD-19: Re-enabing ThreadLocal and Delegate tests now that WELD-291 is fixed.

    • -2
    • +0
    /src/test/resources/META-INF/beans.xml
Bumped version of weld-core to 1.0.1-SNAPSHOT

WELDX-19: Disabled ThreadContext, RunnableDecorator and all associated tests until WELD-291 is fixed.

WELDX-19: Disabled ThreadContext, RunnableDecorator and all associated tests until WELD-291 is fixed.

    • -0
    • +2
    /src/test/resources/META-INF/beans.xml
WELDX-19: refactor

WELDX-19: Cleanup threadcontext after thread is run

WELDX-19: Implemented ThreadContext and @ThreadScoped

    • -7
    • +8
    /src/test/resources/META-INF/beans.xml
WELDX-57: Removed proprietary shutdown event, replaced with standard BeforeShutdown. Also added shutdown() to Weld, and set Weld.class up as a managed bean for use when observing the ContainerInitialized event.

WELDX-57: Removed proprietary shutdown event, replaced with standard BeforeShutdown. Also added shutdown() to Weld, and set Weld.class up as a managed bean for use when observing the ContainerInitialized event.

WELDX-57: Removed proprietary shutdown event, replaced with standard BeforeShutdown. Also added shutdown() to Weld, and set Weld.class up as a managed bean for use when observing the ContainerInitialized event.

WELDX-57: Removed proprietary shutdown event, replaced with standard BeforeShutdown. Also added shutdown() to Weld, and set Weld.class up as a managed bean for use when observing the ContainerInitialized event.

Minor javadoc improvements

Weld Se produces a shaded jar with all Weld dependencies bundled for easier usage in SE apps.

    • -19
    • +0
    /src/main/resources/META-INF/beans.xml
Separated out initialize() (Weld) from instance() and event() (WeldContainer)

Fixed the API for selecting events using Weld.event()

Initial addition of new API for booting Weld from SE

    • -0
    • +108
    /src/main/java/org/jboss/weld/environment/se/Weld.java