Interface Resettable

All Known Subinterfaces:
ActivationLogQuery
All Known Implementing Classes:
AbstractServiceProvider, ConfigDrivenServiceProviderBase, DefaultInjectionServicesProvider, InterceptorCreatorDefault, ReflectionBasedSingletonServiceProvider, ServicesToProcess
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Resettable
Implementors of this contract are capable of resetting the state of itself (i.e., clears cache, log entries, etc.).
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    reset(boolean deep)
    Resets the state of this object.
  • Method Details

    • reset

      boolean reset(boolean deep)
      Resets the state of this object.
      Parameters:
      deep - true to iterate over any contained objects, to reflect the reset into the retained object
      Returns:
      returns true if the state was changed