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 Summary

    Modifier and Type
    Method
    Description
    void
    setInstance(V instance)
    Associates this bean with an instance.

    Methods inherited from interface org.wildfly.clustering.ejb.bean.Bean

    close, getMetaData, isValid, remove

    Methods inherited from interface org.wildfly.clustering.ejb.bean.ImmutableBean

    getId, getInstance
  • Method Details

    • setInstance

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