Class 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:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.jvnet.hk2.config.Dom

        document, model
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected <T extends org.jvnet.hk2.config.Dom>
      T
      copy​(T parent)
      Returns a copy of itself
      <T extends org.jvnet.hk2.config.ConfigBeanProxy>
      T
      createProxy​(Class<T> proxyType)  
      static <T extends org.jvnet.hk2.config.ConfigBeanProxy>
      T
      getRawView​(T s)
      Returns the translated view of a configuration object
      void initializationCompleted()  
      String toString()  
      • Methods inherited from class org.jvnet.hk2.config.ConfigBean

        addInterceptor, allocate, equals, getLock, getMasterView, getObjectName, getOptionalFeature, getProxy, getter, hashCode, parent, setMasterView, setObjectName, setter
      • Methods 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, writeToXml
      • Methods inherited from class org.glassfish.hk2.utilities.AbstractActiveDescriptor

        addContractType, addQualifierAnnotation, dispose, getScopeAsAnnotation, removeContractType, removeQualifierAnnotation, setFactoryId, setName, setReified, setScopeAnnotation, setScopeAsAnnotation
      • Methods 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, writeObject
      • Methods inherited from interface org.jvnet.hk2.config.ConfigView

        getProxyType
      • Methods inherited from interface org.glassfish.hk2.api.Descriptor

        getAdvertisedContracts, getClassAnalysisName, getDescriptorType, getDescriptorVisibility, getImplementation, getLoader, getLocatorId, getMetadata, getName, getQualifiers, getRanking, getScope, getServiceId, isProxiable, isProxyForSameScope, setRanking
    • Constructor Detail

      • 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 Detail

      • 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

        public <T extends org.jvnet.hk2.config.ConfigBeanProxy> T createProxy​(Class<T> proxyType)
        Overrides:
        createProxy in class org.jvnet.hk2.config.Dom
      • copy

        protected <T extends org.jvnet.hk2.config.Dom> T copy​(T parent)
        Returns a copy of itself
        Overrides:
        copy in class org.jvnet.hk2.config.ConfigBean
        Returns:
        a copy of itself.
      • initializationCompleted

        public void initializationCompleted()
        Overrides:
        initializationCompleted in class org.jvnet.hk2.config.Dom
      • toString

        public String toString()
        Overrides:
        toString in class org.glassfish.hk2.utilities.DescriptorImpl