Interface MutableBean<K,​V extends BeanInstance<K>>

  • Type Parameters:
    K - the bean identifier type
    V - the bean instance type
    All Superinterfaces:
    AutoCloseable, Bean<K,​V>, ImmutableBean<K,​V>
    All Known Implementing Classes:
    CompositeBean

    public interface MutableBean<K,​V extends BeanInstance<K>>
    extends Bean<K,​V>
    A Bean that allows associating a bean instance.
    Author:
    Paul Ferraro
    • Method Detail

      • setInstance

        void setInstance​(V instance)
        Associates this bean with an instance.
        Parameters:
        instance -