Class LoggingDecoratorImpl

    • Method Detail

      • build

        public <T> T build​(Class<T> serviceInterface,
                           T delegate,
                           String serviceId,
                           org.slf4j.Logger logger)
        Description copied from interface: LoggingDecorator
        Builds a logging interceptor instance.
        Specified by:
        build in interface LoggingDecorator
        serviceInterface - interface implemented by the delegate
        delegate - existing object to be wrapped
        serviceId - id of service
        logger - log used for debug level logging messages by the interceptor
        a new object implementing the interface that can be used in place of the delegate, providing logging behavior around each method call on the service interface