Interface BeanManager

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean manage​(java.lang.Class<?> clazz)
      Decides whether instances of the given bean type should be reported to this manager.
      boolean manage​(java.lang.Object bean)
      Asks this manager to manage the given bean instance.
      PropertyBinding manage​(BeanProperty<?> property)
      Asks this manager to manage the given bean property.
      boolean unmanage()
      Asks this manager to unmanage all the bean instances it knows about.
      boolean unmanage​(java.lang.Object bean)
      Asks this manager to unmanage the given bean instance.
    • Method Detail

      • manage

        boolean manage​(java.lang.Class<?> clazz)
        Decides whether instances of the given bean type should be reported to this manager.
        Parameters:
        clazz - The bean type
        Returns:
        true if instances of the bean should be reported; otherwise false
      • manage

        PropertyBinding manage​(BeanProperty<?> property)
        Asks this manager to manage the given bean property.
        Parameters:
        property - The bean property
        Returns:
        Non-null binding if the bean property was managed; otherwise null
      • manage

        boolean manage​(java.lang.Object bean)
        Asks this manager to manage the given bean instance.
        Parameters:
        bean - The bean instance
        Returns:
        true if the bean instance was managed; otherwise false
      • unmanage

        boolean unmanage​(java.lang.Object bean)
        Asks this manager to unmanage the given bean instance.
        Parameters:
        bean - The bean instance
        Returns:
        true if the bean instance was unmanaged; otherwise false
      • unmanage

        boolean unmanage()
        Asks this manager to unmanage all the bean instances it knows about.
        Returns:
        true if any bean instances were unmanaged; otherwise false