Class BeanProvider.Simple

java.lang.Object
kboyle.oktane.core.BeanProvider.Simple
All Implemented Interfaces:
BeanProvider
Enclosing interface:
BeanProvider

public static class BeanProvider.Simple extends Object implements BeanProvider
  • Method Details

    • add

      public <T> BeanProvider.Simple add(Class<T> cl, T bean)
    • getBean

      public <T> T getBean(Class<T> cl)
      Description copied from interface: BeanProvider
      Gets a bean of the given type from the provider.
      Specified by:
      getBean in interface BeanProvider
      Type Parameters:
      T - The type you want.
      Parameters:
      cl - The class of the type you want to fetch.
      Returns:
      The bean corresponding to the given type.