org.sonatype.guice.bean.inject
Interface PropertyBinder


public interface PropertyBinder

Provides custom PropertyBindings for bean properties such as fields or setter methods.


Field Summary
static PropertyBinding LAST_BINDING
          Binders may return LAST_BINDING to indicate they are done binding a bean.
 
Method Summary
<T> PropertyBinding
bindProperty(BeanProperty<T> property)
          Returns the appropriate PropertyBinding for the given bean property.
 

Field Detail

LAST_BINDING

static final PropertyBinding LAST_BINDING
Binders may return LAST_BINDING to indicate they are done binding a bean.

Method Detail

bindProperty

<T> PropertyBinding bindProperty(BeanProperty<T> property)
Returns the appropriate PropertyBinding for the given bean property.

Parameters:
property - The bean property
Returns:
Binding for the given property; null if no binding is applicable


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