Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
improve comment on optional dep changes

improve the way weld-se handles optional dependencies

catch ResourceLoadingException so weld-se can start up if scanning causes a NCDFE

Stop exposing the Scanner API at all, javadoc, add helper classes for creating BDAs and Deployments, cleanup now that we don't expose the scanner api

    • -0
    • +51
    ./environment/se/discovery/AbstractWeldSEBeanDeploymentArchive.java
    • -0
    • +34
    ./environment/se/discovery/AbstractWeldSEDeployment.java
    • -0
    • +75
    ./environment/se/discovery/ImmutableBeanDeploymentArchive.java
    • -0
    • +71
    ./environment/se/discovery/MutableBeanDeploymentArchive.java
    • -0
    • +52
    ./environment/se/discovery/url/WeldSEUrlDeployment.java
minor

expose Scanner directly for OSGi support

    • -2
    • +3
    ./environment/se/WeldSEBeanRegistrant.java
    • -7
    • +15
    ./environment/se/discovery/Scanner.java
    • -0
    • +70
    ./environment/se/discovery/WeldSEDeployment.java
    • -0
    • +184
    ./environment/se/discovery/url/FileSystemURLHandler.java
    • -0
    • +129
    ./environment/se/discovery/url/URLScanner.java
    • -0
    • +96
    ./environment/se/discovery/url/WeldSEResourceLoader.java
    • -43
    • +0
    ./environment/se/util/WeldManagerUtils.java
  1. … 1 more file in changeset.
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.

    • -0
    • +68
    ./environment/se/discovery/NewSEWeldDeployment.java
    • -1
    • +1
    ./environment/se/discovery/URLScanner.java
    • -0
    • +102
    ./environment/se/discovery/WeldSEBeanDeploymentArchive.java
remove undeeded scanDirectories

    • -7
    • +0
    ./environment/se/discovery/Scanner.java
    • -13
    • +5
    ./environment/se/discovery/URLScanner.java
WELDSE-26: Previous commit for this issue broke simple jar support. This commit fixes.

    • -14
    • +28
    ./environment/se/discovery/URLScanner.java
WELDSE-26: Renamed ClassHandler to URLHandler (part 3)

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

    • -7
    • +7
    ./environment/se/discovery/URLScanner.java
WELDSE-26: Renamed ClassHandler to URLHandler

    • -6
    • +6
    ./environment/se/discovery/URLScanner.java
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(...).

    • -128
    • +57
    ./environment/se/discovery/URLScanner.java
    • -0
    • +32
    ./environment/se/discovery/handlers/ClassHandler.java
    • -0
    • +175
    ./environment/se/discovery/handlers/FileSystemClassHandler.java
    • -0
    • +38
    ./environment/se/exceptions/ClasspathScanningException.java
WELDSE-25: Remove final usage of Reflections and replace with ResourceLoader

    • -62
    • +0
    ./environment/se/util/Reflections.java
WeldManagerUtils is still useful within Weld.class, but I have removed it from all of the tests, replaced by Weld.instance()

    • -1
    • +0
    ./environment/se/util/WeldManagerUtils.java
  1. … 3 more files in changeset.
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.

    • -5
    • +7
    ./environment/se/discovery/URLScanner.java
Deprecated WeldManagerUtils. It's replaced by Weld.instance()

    • -0
    • +1
    ./environment/se/util/WeldManagerUtils.java
WELDSE-10: Applied patch from Koichi Kobayashi to support beans.xml files from multiple archives.

    • -1
    • +2
    ./environment/se/discovery/URLScanner.java
WELD-19: Re-enabing ThreadLocal and Delegate tests now that WELD-291 is fixed.

    • -2
    • +1
    ./environment/se/WeldSEBeanRegistrant.java
  1. … 9 more files in changeset.
minor

    • -5
    • +10
    ./environment/se/bindings/Parameters.java
WELDX-19: Disabled ThreadContext, RunnableDecorator and all associated tests until WELD-291 is fixed.

    • -1
    • +2
    ./environment/se/WeldSEBeanRegistrant.java
  1. … 2 more files in changeset.
WELDX-19: Cleanup threadcontext after thread is run

WELDX-19: Implemented ThreadContext and @ThreadScoped

    • -6
    • +26
    ./environment/se/WeldSEBeanRegistrant.java
    • -0
    • +59
    ./environment/se/contexts/ThreadContext.java
    • -0
    • +41
    ./environment/se/contexts/ThreadScoped.java
    • -0
    • +53
    ./environment/se/threading/RunnableDecorator.java
  1. … 6 more files in changeset.
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.

    • -35
    • +0
    ./environment/se/events/Shutdown.java
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.

    • -22
    • +3
    ./environment/se/ShutdownManager.java
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.

    • -0
    • +1
    ./environment/se/WeldSEBeanRegistrant.java
  1. … 4 more files in changeset.
Minor javadoc improvements

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

    • -0
    • +40
    ./environment/se/WeldSEBeanRegistrant.java
  1. … 3 more files in changeset.
Separated out initialize() (Weld) from instance() and event() (WeldContainer)

    • -0
    • +74
    ./environment/se/WeldContainer.java
  1. … 4 more files in changeset.