public class ConfigBean extends Dom implements ConfigView
| Constructor and Description |
|---|
ConfigBean(Dom source,
Dom parent)
Copy constructor, used to get a deep copy of the passed instance.
|
ConfigBean(ServiceLocator habitat,
DomDocument document,
ConfigBean parent,
ConfigModel model,
javax.xml.stream.XMLStreamReader in) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInterceptor(java.lang.Class<?> interceptorType,
ConfigBeanInterceptor interceptor)
Add a new ConfigBeanInterceptor to this ConfigBean instance.
|
ConfigBean |
allocate(java.lang.Class<?> type)
Allocate a new ConfigBean object as part of the Transaction
associated with this configuration object.
|
protected <T extends Dom> |
copy(T parent)
Returns a copy of itself providing the parent for the new copy.
|
java.util.concurrent.locks.Lock |
getLock()
Returns the lock on this object, only one external view (usually the writeable view) can
acquire the lock ensuring that the objects cannot be concurrently modified
|
ConfigBean |
getMasterView()
We are the master view.
|
javax.management.ObjectName |
getObjectName() |
<T> T |
getOptionalFeature(java.lang.Class<T> featureType)
Returns an optional feature of the ConfigBean.
|
<T extends ConfigBeanProxy> |
getProxy(java.lang.Class<T> proxyType)
Creates a proxy for this view.
|
protected java.lang.Object |
getter(ConfigModel.Property target,
java.lang.reflect.Type t) |
ConfigBean |
parent()
If this DOM is a child of another DOM, the parent pointer.
|
void |
setMasterView(ConfigView view) |
void |
setObjectName(javax.management.ObjectName objectNameIn) |
protected void |
setter(ConfigModel.Property target,
java.lang.Object value) |
addDefaultChildren, addLeafElement, addListener, attribute, attribute, attributes, changeLeafElement, convertName, create, createCreator, createProxy, createProxy, digAnnotation, digAnnotation, domNodeByTypeElements, element, equals, get, getAttributeNames, getCache, getContractTypes, getElementNames, getFactoryLocatorId, getFactoryServiceId, getHabitat, getImplementationClass, getInjectees, getInjector, getKey, getLocation, getProxyType, getQualifierAnnotations, getScopeAnnotation, getServiceLocator, getSymbolSpaceRoot, hashCode, initializationCompleted, inject, insertAfter, invoke, invoke, isCacheSet, isReified, leafElement, leafElements, nodeByTypeElement, nodeByTypeElements, nodeElement, nodeElements, rawAttribute, rawLeafElement, rawLeafElements, releaseCache, removeChild, removeLeafElement, removeListener, replaceChild, resolveReference, setCache, setLeafElements, setNodeElements, skipFromXml, unwrap, writeTo, writeToXmladdContractType, addQualifierAnnotation, dispose, removeContractType, removeQualifierAnnotation, setFactoryId, setName, setReifiedaddAdvertisedContract, addMetadata, addMetadata, addQualifier, clearMetadata, getAdvertisedContracts, getClassAnalysisName, getDescriptorType, getDescriptorVisibility, getImplementation, getLoader, getLocatorId, getMetadata, getName, getQualifiers, getRanking, getScope, getServiceId, isProxiable, pretty, readExternal, readObject, removeAdvertisedContract, removeAllMetadata, removeMetadata, removeQualifier, setClassAnalysisName, setDescriptorType, setDescriptorVisibility, setImplementation, setLoader, setLocatorId, setMetadata, setProxiable, setRanking, setScope, setServiceId, toString, writeExternal, writeObjectclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetProxyTypegetAdvertisedContracts, getClassAnalysisName, getDescriptorType, getDescriptorVisibility, getImplementation, getLoader, getLocatorId, getMetadata, getName, getQualifiers, getRanking, getScope, getServiceId, isProxiable, setRankingpublic ConfigBean(ServiceLocator habitat, DomDocument document, ConfigBean parent, ConfigModel model, javax.xml.stream.XMLStreamReader in)
public javax.management.ObjectName getObjectName()
public void setObjectName(javax.management.ObjectName objectNameIn)
protected <T extends Dom> T copy(T parent)
public <T> T getOptionalFeature(java.lang.Class<T> featureType)
featureType - type of the optional feature requested.protected void setter(ConfigModel.Property target, java.lang.Object value) throws java.lang.Exception
protected java.lang.Object getter(ConfigModel.Property target, java.lang.reflect.Type t)
public void addInterceptor(java.lang.Class<?> interceptorType,
ConfigBeanInterceptor interceptor)
interceptorType - type of the type interceptor.interceptor - the new interceptorpublic ConfigBean getMasterView()
getMasterView in interface ConfigViewpublic void setMasterView(ConfigView view)
setMasterView in interface ConfigViewpublic <T extends ConfigBeanProxy> T getProxy(java.lang.Class<T> proxyType)
getProxy in interface ConfigViewproxyType - requested proxy typepublic ConfigBean allocate(java.lang.Class<?> type)
type - the request configuration object typepublic java.util.concurrent.locks.Lock getLock()
public ConfigBean parent()
DomCopyright © 2013 Oracle Corporation. All Rights Reserved.