BEAN - the generic type of the Bean.public class BeanAccessReadOnly<BEAN extends Bean> extends BeanAccessInstance<BEAN>
| Modifier and Type | Field and Description |
|---|---|
private BeanAccessBase<BEAN> |
delegate |
LOGPROPERTY_TYPE| Constructor and Description |
|---|
BeanAccessReadOnly(BeanFactoryImpl beanFactory,
BeanAccessPrototype<BEAN> prototype,
BeanAccessBase<BEAN> delegate)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected WritableProperty<?> |
createProperty(BeanPrototypeProperty prototypeProperty) |
boolean |
isReadOnly() |
addPropertyValidator, addPropertyValidators, createProperties, createProperty, createProperty, getAliases, getDeclaredPropertyNames, getPackageName, getProperty, getProperty, getPropertyNameForAlias, getPropertyNames, getPrototype, getQualifiedName, getSimpleName, isDynamic, isPrototype, isVirtual, iteratorfromJson, fromJsonProperty, fromJsonUndefinedProperty, get, getBean, getBeanClass, getJsonUtil, getProperties, invoke, requireWritable, toJsonclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateProperty, getOrCreateProperty, getOrCreateProperty, getOrCreateProperty, getPropertyValue, getRequiredProperty, setPropertyValue, setPropertyValue, validateforEach, spliteratorprivate final BeanAccessBase<BEAN extends Bean> delegate
public BeanAccessReadOnly(BeanFactoryImpl beanFactory, BeanAccessPrototype<BEAN> prototype, BeanAccessBase<BEAN> delegate)
prototype - the BeanAccessPrototype.beanFactory - the owning BeanFactoryImpl.delegate - the original intercepter instance to adapt.protected WritableProperty<?> createProperty(BeanPrototypeProperty prototypeProperty)
createProperty in class BeanAccessInstance<BEAN extends Bean>prototypeProperty - the BeanPrototypeProperty.WritableProperty instance
copied from the given
BeanPrototypeProperty.public boolean isReadOnly()
isReadOnly in interface BeanAccessisReadOnly in class BeanAccessBase<BEAN extends Bean>true if this BeanAccess belongs to a Bean that is read-only (immutable),
false otherwise.AbstractBeanFactory.getReadOnlyBean(Bean)Copyright © 2001–2016 mmm-Team. All rights reserved.