org.sonatype.guice.bean.inject
Interface BeanBinder
public interface BeanBinder
Provides custom PropertyBinder
s for beans that contain one or more properties.
Method Summary |
|
bindBean(com.google.inject.TypeLiteral<B> type,
com.google.inject.spi.TypeEncounter<B> encounter)
Returns the appropriate PropertyBinder for the given bean type. |
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 typeencounter
- 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.