Interface NamespaceBundleOwnershipListener

All Superinterfaces:
Predicate<NamespaceBundle>

public interface NamespaceBundleOwnershipListener extends Predicate<NamespaceBundle>
Listener for NamespaceBundle ownership changes.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Will be call after a NamespaceBundle owned by broker.
    void
    Will be call after a NamespaceBundle unloaded from broker.

    Methods inherited from interface java.util.function.Predicate

    and, negate, or, test
  • Method Details

    • onLoad

      void onLoad(NamespaceBundle bundle)
      Will be call after a NamespaceBundle owned by broker.
      Parameters:
      bundle - owned bundle
    • unLoad

      void unLoad(NamespaceBundle bundle)
      Will be call after a NamespaceBundle unloaded from broker.
      Parameters:
      bundle - owned bundle