org.sonatype.guice.bean.inject
Interface BeanBinder


public interface BeanBinder

Provides custom PropertyBinders for beans that contain one or more properties.


Method Summary
<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.
 

Method Detail

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


Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.