Class ServiceDecoratorImpl

    • Method Detail

      • createInterceptor

        public java.lang.Object createInterceptor​(java.lang.Object delegate)
        Description copied from interface: ServiceDecorator
        Creates a new interceptor object implementing the same service interface as the delegate object.
        Specified by:
        createInterceptor in interface ServiceDecorator
        Parameters:
        delegate - an existing object implementing the service interface.
        Returns:
        a new object implementing the same service interface, or delegate or null if the decorator chooses not to create a new interceptor.