public class IBeanContext<T> extends Object
IBeanContext is provided to ExtensionHandlers to provide them
information about the context of a IBean method call. Only used in
ExtensionHandler context, for example in
ExtensionHandler.handleExtendedInterfaceCall(IBeanContext, IBeanFieldAccess, Object, java.lang.reflect.Method, Object[])| Modifier and Type | Method and Description |
|---|---|
ProxyIBeanFactory |
beanFactory()
Provides the factory that created the IBean.
|
BeanStyle |
beanStyle()
Provides the
BeanStyle of the IBean. |
BeanStyleHandler |
beanStyleHandler()
Provides the
BeanStyleHandler used by the bean factory to deal
with the given BeanStyle. |
IBeanTypeMetaInfo<T> |
metaInfo()
Provides the meta information about the IBean.
|
ToStringStyle |
toStringStyle()
Provides the style used in IBean's
Object.toString() method. |
public ProxyIBeanFactory beanFactory()
ExtensionHandler itself needs to create other IBeans.public IBeanTypeMetaInfo<T> metaInfo()
Tpublic ToStringStyle toStringStyle()
Object.toString() method.ToStringStylepublic BeanStyle beanStyle()
BeanStyle of the IBean.public BeanStyleHandler beanStyleHandler()
BeanStyleHandler used by the bean factory to deal
with the given BeanStyle.