Solid
Solid copied to clipboard
Allow replacing the dependencies for the given aspect
Sometimes the aspect's implementation should remain the same yet new conditions should be met before it's invoked. In this case these conditions can be wrapped into aspects and added to the pipeline. The missing point here is that the existing aspects should have their dependencies modified without touching the functionality.
This can be achieved by using an AspectDecorator which augments/replaces the existing dependencies for the provided aspect.