Interface BeanBinder


public interface BeanBinder
Provides custom PropertyBinders for beans that contain one or more properties.
  • Method Summary

    Modifier and Type
    Method
    Description
    bindBean(com.google.inject.TypeLiteral<B> type, com.google.inject.spi.TypeEncounter<B> encounter)
    Returns the appropriate PropertyBinder for the given bean type.
  • Method Details

    • bindBean

      <B> PropertyBinder bindBean(com.google.inject.TypeLiteral<B> type, com.google.inject.spi.TypeEncounter<B> encounter)
      Returns the appropriate PropertyBinder for the given bean type.
      Parameters:
      type - The bean type
      encounter - The Guice type encounter
      Returns:
      Property binder for the given type; null if no binder is applicable