Interface NamespaceBundleOwnershipListener

  • All Superinterfaces:
    java.util.function.Predicate<NamespaceBundle>

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onLoad​(NamespaceBundle bundle)
      Will be call after a NamespaceBundle owned by broker.
      void unLoad​(NamespaceBundle bundle)
      Will be call after a NamespaceBundle unloaded from broker.
      • Methods inherited from interface java.util.function.Predicate

        and, negate, or, test
    • Method Detail

      • 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