Interface Adapter.Internal

All Superinterfaces:
Adapter
All Known Implementing Classes:
AdapterImpl, SingletonAdapterImpl
Enclosing interface:
Adapter

public static interface Adapter.Internal extends Adapter
An internal interface implemented by adapters. It allows a shared adapter to be informed when a specific notifier removes it from its adapter list.
  • Method Details

    • unsetTarget

      void unsetTarget(Notifier oldTarget)
      Unsets the target from which the adapter will receive notification. This method is only to be called by a notifier when this adapter is removed from its adapter list. In general, an adapter may be shared by more than one notifier, so this mechanism allows the adapter to know specifically which notifier will no longer be notifying.
      Parameters:
      oldTarget - the old notifier.
      See Also: