Interface ServiceLifecycle2

    • Method Detail

      • requiresProxy

        boolean requiresProxy()
        If true, then lifecycle requires a proxy, meaning it is only usable with services that properly define a service interface. The default (singleton) scope does not require a proxy, but most other service scopes do. The default (when wrapping a ServiceLifecycle as a ServiceLifecycle2 is to return true.
        true if proxying is necessary, false otherwise