Skip to content

TraceExecutorBeanPostProcessor Executor proxying lacking #445

@thomas001

Description

@thomas001

When creating a bean of type java.util.concurrent.ExecutorService, TraceExecutorBeanPostProcessor encapsulates this bean in a LazyTraceExecutor instance. Autowiring this bean into an ExecutorService field fails, as the actual instance is of type LazyTraceExecutor which does not implement ExecutorService, but only Executor.

More generally, the approach of TraceExecutorBeanPostProcessor fails for every sub-interface of Executor. Maybe a approach like Spring AOP should be used instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions