Checkout Tools
  • last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Changeset 1137692 is being indexed.

FELIX-2987 Fixed.
FELIX-2976 fixed the issue by checking if the key is actually in the cache with a null value
Modified the filter to properly handle the fact that keys in service properties are case insensitive.
[FELIX-2970] - Factory Configuration Adapter Service does not copy adapter dependencies.

    • -20
    • +33
    ./felix/dm/impl/FactoryConfigurationAdapterServiceImpl.java
  1. … 3 more files in changeset.
FELIX-2964 (NPE on some dependency manager adapters, when auto-configuration mode is disabled)
    • -0
    • +1
    ./felix/dm/impl/BundleAdapterServiceImpl.java
    • -0
    • +2
    ./felix/dm/impl/ResourceAdapterServiceImpl.java
    • -6
    • +4
    ./felix/dm/impl/FactoryConfigurationAdapterServiceImpl.java
    • -0
    • +7
    ./felix/dm/impl/AbstractDecorator.java
FELIX-2955 Fixed the bug by making sure that only dependency managers that still have a valid bundle context are returned.
FELIX-2953 Made the cache size configurable via a system property.
FELIX-2947 Indices now track all services and aspects, which solves the problem.
    • -1
    • +1
    ./felix/dm/impl/index/AspectFilterIndex.java
FELIX-2946 Implemented an option to have the tracker track all aspects. Bumped bundle and tracker package versions to 3.1.0.
    • -1
    • +99
    ./felix/dm/tracker/ServiceTracker.java
  1. … 2 more files in changeset.
Code was being invoked too often (calling a static method from each and every instance, instead of just once).
    • -4
    • +2
    ./felix/dm/impl/index/ServiceRegistryCache.java
FilterService now implements ComponentDeclaration, as it should have done all along. ComponentImpl now treats keys in a map of properties as objects, instead of assuming they're all strings.
    • -2
    • +2
    ./felix/dm/impl/BundleAdapterServiceImpl.java
    • -3
    • +3
    ./felix/dm/impl/AspectServiceImpl.java
    • -3
    • +3
    ./felix/dm/impl/ResourceAdapterServiceImpl.java
    • -3
    • +3
    ./felix/dm/impl/AdapterServiceImpl.java
    • -32
    • +51
    ./felix/dm/impl/FilterService.java
    • -3
    • +3
    ./felix/dm/impl/FactoryConfigurationAdapterServiceImpl.java
Moved the FilterIndex to the public package. Although highly experimental, it is part of the API.
    • -0
    • +1
    ./felix/dm/impl/index/AspectFilterIndex.java
    • -0
    • +1
    ./felix/dm/impl/index/ServiceRegistryCache.java
    • -0
    • +47
    ./felix/dm/FilterIndex.java
Moving implementation code to its right subpackage.
    • -0
    • +64
    ./felix/dm/impl/index/FilterIndexBundleContext.java
    • -0
    • +268
    ./felix/dm/impl/index/AspectFilterIndex.java
    • -0
    • +47
    ./felix/dm/impl/index/FilterIndex.java
    • -0
    • +427
    ./felix/dm/impl/index/MultiPropertyExactFilter.java
    • -0
    • +130
    ./felix/dm/impl/index/BundleContextInterceptor.java
    • -0
    • +163
    ./felix/dm/impl/index/BundleContextInterceptorBase.java
    • -0
    • +173
    ./felix/dm/impl/index/ServiceRegistryCache.java
    • ?
    ./felix/dm/index/ServiceRegistryCache.java
    • ?
    ./felix/dm/index/BundleContextInterceptor.java
    • ?
    ./felix/dm/index/FilterIndexBundleContext.java
    • ?
    ./felix/dm/index/MultiPropertyExactFilter.java
    • ?
    ./felix/dm/index/BundleContextInterceptorBase.java
    • ?
    ./felix/dm/index/AspectFilterIndex.java
Added an @author tag to all class comments.

Fixed a couple of missing license headers.

Implemented InvocationUtil to use a LRU method cache.

Reformatted and removed some dead code.

    • -49
    • +49
    ./felix/dm/TemporalServiceDependency.java
    • -0
    • +3
    ./felix/dm/index/ServiceRegistryCache.java
    • -50
    • +34
    ./felix/dm/impl/FactoryConfigurationAdapterServiceImpl.java
    • -59
    • +31
    ./felix/dm/impl/FilterService.java
    • -4
    • +4
    ./felix/dm/impl/AdapterServiceImpl.java
    • -0
    • +3
    ./felix/dm/index/AspectFilterIndex.java
    • -0
    • +5
    ./felix/dm/index/BundleContextInterceptor.java
    • -43
    • +34
    ./felix/dm/DependencyManager.java
  1. … 24 more files in changeset.
Implemented a filter index that speeds up aspects.

Some bugfixes.

    • -0
    • +265
    ./felix/dm/index/AspectFilterIndex.java
    • -48
    • +46
    ./felix/dm/index/ServiceRegistryCache.java
    • -0
    • +3
    ./felix/dm/index/BundleContextInterceptor.java
Fixed some of the TODO items in the code.
    • -30
    • +37
    ./felix/dm/index/BundleContextInterceptor.java
    • -10
    • +4
    ./felix/dm/index/ServiceRegistryCache.java
    • -13
    • +37
    ./felix/dm/index/MultiPropertyExactFilter.java
Added license headers to new source files.
    • -0
    • +18
    ./felix/dm/index/ServiceRegistryCache.java
    • -0
    • +18
    ./felix/dm/index/MultiPropertyExactFilter.java
    • -0
    • +18
    ./felix/dm/index/FilterIndexBundleContext.java
    • -0
    • +18
    ./felix/dm/index/BundleContextInterceptor.java
    • -0
    • +18
    ./felix/dm/index/BundleContextInterceptorBase.java
Added several performance improvements, most of them still experimental, plus started to prepare for a release.
    • -0
    • +160
    ./felix/dm/index/ServiceRegistryCache.java
    • -19
    • +119
    ./felix/dm/tracker/ServiceTracker.java
    • -0
    • +97
    ./felix/dm/index/BundleContextInterceptor.java
    • -0
    • +26
    ./felix/dm/index/FilterIndex.java
    • -6
    • +10
    ./felix/dm/tracker/AbstractTracked.java
    • -0
    • +43
    ./felix/dm/index/FilterIndexBundleContext.java
    • -0
    • +382
    ./felix/dm/index/MultiPropertyExactFilter.java
    • -0
    • +141
    ./felix/dm/index/BundleContextInterceptorBase.java
  1. … 3 more files in changeset.
Fixed an error that tried to make a constructor accessible, but failed.
Aligned the aspect and adapter features. Added support for callback methods. Updated the documentation.
    • -0
    • +42
    ./felix/dm/DependencyActivatorBase.java
    • -6
    • +27
    ./felix/dm/impl/AdapterServiceImpl.java
    • -12
    • +116
    ./felix/dm/DependencyManager.java
    • -17
    • +22
    ./felix/dm/impl/AspectServiceImpl.java
FELIX-2875 Relaxed the methods a bit and consolidated all logic into a private method that does the real work.
Fixed an issue with dynamic life cycle listeners.
- Deactivate the service when a dependency is lost while the framework is stopping. This is indeed

useless to block unavailable service dependency method invocation when the fwk is stopping, since the

lost service won't come up again.

- Added setRequired(boolean required), which just check if the

"required" flag is true (the TemporalServiceDependency class does not support optional dependency).

- Synchronized method setTimeout.

Bugfix.
Fixed a potential NPE that seemed to occur under specific circumstances when the component was stopped.
FELIX-2752 Nulled m_registration after unregistering a service.
Synchronized access to m_sr.
Bugfixes for several issues with required service dependencies with callbacks in scenarios where multiple dependencies are available.
    • -8
    • +5
    ./felix/dm/impl/AbstractDecorator.java
  1. … 1 more file in changeset.
Work in progress, internal refactorings and bugfixes.
    • -0
    • +1
    ./felix/dm/impl/FactoryConfigurationAdapterServiceImpl.java
    • -0
    • +54
    ./felix/dm/InvocationUtil.java
FELIX-2696 Now properly flushes the internal cache that keeps track of which component instances already had their updated() method invoked.