Interface IUnauthorizedComponentInstantiationListener

  • 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 IUnauthorizedComponentInstantiationListener
    Interface to code that is called to handle unauthorized component instantiations.
    Author:
    Jonathan Locke
    • Method Detail

      • onUnauthorizedInstantiation

        void onUnauthorizedInstantiation​(Component component)
        Called when an unauthorized component instantiation is about to take place (but before it happens).
        Parameters:
        component - The partially constructed component (only the id is guaranteed to be valid).
        See Also:
        IComponentInstantiationListener