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

Changeset 1101390 is being indexed.

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.
Fetch again the current state in the add(List) method, just before invoking calculateStateChanges method.

Incorrectly dealt with service changed events.
    • -1
    • +1
    ./felix/dm/tracker/ServiceTracker.java
Added an extra method to the interface.
More fixes for instance bound callbacks.
Various fixes for problems with when to invoke instance bound dependency callbacks.
    • -20
    • +12
    ./felix/dm/impl/ComponentImpl.java
Fixed a concurrent modification exception caused by improper and missing synchronization.
    • -20
    • +30
    ./felix/dm/tracker/ServiceTracker.java
Bugfixes related to aspects and general life cycle issues. Committed so others can test against this version.
    • -62
    • +49
    ./felix/dm/tracker/ServiceTracker.java
Forgot to remove a print statement.