| Modifier and Type | Method and Description |
|---|---|
static <B> BeanAccessor<B> |
on(B bean)
Creates a
BeanAcessor for the given bean, that allows access to the bean's properties and methods. |
static <B> ClassAccessor<B> |
on(Class<B> beanType)
Creates a
ClassAccessor for the given type that allows for creating instances of the type and calling
static methods. |
static ClassLoaderBuilder |
onClassName(String beanTypeName)
Creates a
ClassLoaderBuilder that allows to load the type given by beanTypeName. |
public static <B> BeanAccessor<B> on(B bean)
BeanAcessor for the given bean, that allows access to the bean's properties and methods.B - the type of the bean.bean - the bean to be accessed. Must not be null!public static <B> ClassAccessor<B> on(Class<B> beanType)
ClassAccessor for the given type that allows for creating instances of the type and calling
static methods.B - the type modeled by the given class object.beanType - the type to be accessed. Must not be null!public static ClassLoaderBuilder onClassName(String beanTypeName)
ClassLoaderBuilder that allows to load the type given by beanTypeName.beanTypeName - the name of the type to load. Must not be null!Copyright © 2012–2014 The Apache Software Foundation. All rights reserved.