Package org.glassfish.config.support
Class GlassFishConfigBean
java.lang.Object
org.glassfish.hk2.utilities.DescriptorImpl
org.glassfish.hk2.utilities.AbstractActiveDescriptor
org.jvnet.hk2.config.Dom
org.jvnet.hk2.config.ConfigBean
org.glassfish.config.support.GlassFishConfigBean
- All Implemented Interfaces:
Externalizable,Serializable,InvocationHandler,org.glassfish.hk2.api.ActiveDescriptor,org.glassfish.hk2.api.Descriptor,org.glassfish.hk2.api.SingleCache,org.jvnet.hk2.config.ConfigView,org.jvnet.hk2.config.ObservableBean
public final class GlassFishConfigBean
extends org.jvnet.hk2.config.ConfigBean
Translated view of a configured objects where values can be represented with a @{xx.yy.zz} name to be translated
using a property value translator.
- Author:
- Jerome Dochez
- See Also:
-
Field Summary
Fields inherited from class org.jvnet.hk2.config.Dom
document, model -
Constructor Summary
ConstructorsConstructorDescriptionGlassFishConfigBean(org.glassfish.hk2.api.ServiceLocator habitat, org.jvnet.hk2.config.DomDocument document, GlassFishConfigBean parent, org.jvnet.hk2.config.ConfigModel model, XMLStreamReader in) GlassFishConfigBean(org.jvnet.hk2.config.Dom source, org.jvnet.hk2.config.Dom parent) -
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends org.jvnet.hk2.config.Dom>
Tcopy(T parent) Returns a copy of itself<T extends org.jvnet.hk2.config.ConfigBeanProxy>
TcreateProxy(Class<T> proxyType) static <T extends org.jvnet.hk2.config.ConfigBeanProxy>
TgetRawView(T s) Returns the translated view of a configuration objectvoidtoString()Methods inherited from class org.jvnet.hk2.config.ConfigBean
addInterceptor, allocate, equals, getLock, getMasterView, getObjectName, getOptionalFeature, getProxy, getter, hashCode, parent, setMasterView, setObjectName, setterMethods inherited from class org.jvnet.hk2.config.Dom
addDefaultChildren, addLeafElement, addListener, attribute, attribute, attributes, changeLeafElement, convertName, create, createCreator, createProxy, digAnnotation, digAnnotation, domNodeByTypeElements, element, get, getAttributeNames, getCache, getContractTypes, getElementNames, getFactoryLocatorId, getFactoryServiceId, getHabitat, getImplementationClass, getImplementationType, getInjectees, getInjector, getKey, getLocation, getProxyType, getQualifierAnnotations, getScopeAnnotation, getServiceLocator, getSymbolSpaceRoot, inject, insertAfter, invoke, invoke, isCacheSet, isReified, leafElement, leafElements, nodeByTypeElement, nodeByTypeElements, nodeElement, nodeElements, rawAttribute, rawLeafElement, rawLeafElements, release, releaseCache, removeChild, removeLeafElement, removeListener, replaceChild, resolveReference, setCache, setImplementationType, setLeafElements, setNodeElements, skipFromXml, unwrap, writeTo, writeToXmlMethods inherited from class org.glassfish.hk2.utilities.AbstractActiveDescriptor
addContractType, addQualifierAnnotation, dispose, getScopeAsAnnotation, removeContractType, removeQualifierAnnotation, setFactoryId, setName, setReified, setScopeAnnotation, setScopeAsAnnotationMethods inherited from class org.glassfish.hk2.utilities.DescriptorImpl
addAdvertisedContract, addMetadata, addMetadata, addQualifier, clearMetadata, descriptorEquals, getAdvertisedContracts, getClassAnalysisName, getDescriptorType, getDescriptorVisibility, getImplementation, getLoader, getLocatorId, getMetadata, getName, getQualifiers, getRanking, getScope, getServiceId, isProxiable, isProxyForSameScope, pretty, readExternal, readObject, removeAdvertisedContract, removeAllMetadata, removeMetadata, removeQualifier, setClassAnalysisName, setDescriptorType, setDescriptorVisibility, setImplementation, setLoader, setLocatorId, setMetadata, setProxiable, setProxyForSameScope, setRanking, setScope, setServiceId, writeExternal, writeObjectMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jvnet.hk2.config.ConfigView
getProxyTypeMethods inherited from interface org.glassfish.hk2.api.Descriptor
getAdvertisedContracts, getClassAnalysisName, getDescriptorType, getDescriptorVisibility, getImplementation, getLoader, getLocatorId, getMetadata, getName, getQualifiers, getRanking, getScope, getServiceId, isProxiable, isProxyForSameScope, setRankingMethods inherited from interface java.lang.reflect.InvocationHandler
invoke
-
Constructor Details
-
GlassFishConfigBean
public GlassFishConfigBean(org.glassfish.hk2.api.ServiceLocator habitat, org.jvnet.hk2.config.DomDocument document, GlassFishConfigBean parent, org.jvnet.hk2.config.ConfigModel model, XMLStreamReader in) -
GlassFishConfigBean
public GlassFishConfigBean(org.jvnet.hk2.config.Dom source, org.jvnet.hk2.config.Dom parent)
-
-
Method Details
-
getRawView
public static <T extends org.jvnet.hk2.config.ConfigBeanProxy> T getRawView(T s) Returns the translated view of a configuration object- Parameters:
s- the config-api interface implementation- Returns:
- the new interface implementation providing the raw view
-
createProxy
- Overrides:
createProxyin classorg.jvnet.hk2.config.Dom
-
copy
protected <T extends org.jvnet.hk2.config.Dom> T copy(T parent) Returns a copy of itself- Overrides:
copyin classorg.jvnet.hk2.config.ConfigBean- Returns:
- a copy of itself.
-
initializationCompleted
public void initializationCompleted()- Overrides:
initializationCompletedin classorg.jvnet.hk2.config.Dom
-
toString
- Overrides:
toStringin classorg.glassfish.hk2.utilities.DescriptorImpl
-