Class DomDescriptor<T>

  • All Implemented Interfaces:
    Externalizable, Serializable, org.glassfish.hk2.api.ActiveDescriptor<T>, org.glassfish.hk2.api.Descriptor, org.glassfish.hk2.api.SingleCache<T>

    public class DomDescriptor<T>
    extends org.glassfish.hk2.utilities.AbstractActiveDescriptor<T>
    Created by IntelliJ IDEA. User: makannan Date: 4/28/12 Time: 3:28 PM To change this template use File | Settings | File Templates.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T create​(org.glassfish.hk2.api.ServiceHandle<?> root)  
      boolean equals​(Object a)  
      String getImplementation()  
      Class<?> getImplementationClass()  
      Type getImplementationType()  
      int hashCode()  
      void setImplementationType​(Type t)  
      • Methods inherited from class org.glassfish.hk2.utilities.AbstractActiveDescriptor

        addContractType, addQualifierAnnotation, dispose, getCache, getContractTypes, getFactoryLocatorId, getFactoryServiceId, getInjectees, getQualifierAnnotations, getScopeAnnotation, getScopeAsAnnotation, isCacheSet, isReified, releaseCache, removeContractType, removeQualifierAnnotation, setCache, setFactoryId, setName, setReified, setScopeAnnotation, setScopeAsAnnotation
      • Methods inherited from class org.glassfish.hk2.utilities.DescriptorImpl

        addAdvertisedContract, addMetadata, addMetadata, addQualifier, clearMetadata, descriptorEquals, getAdvertisedContracts, getClassAnalysisName, getDescriptorType, getDescriptorVisibility, 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, toString, writeExternal, writeObject
      • Methods inherited from interface org.glassfish.hk2.api.Descriptor

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

      • DomDescriptor

        public DomDescriptor()
        For serializable
      • DomDescriptor

        public DomDescriptor​(Dom theDom,
                             Set<Type> advertisedContracts,
                             Class<? extends Annotation> scope,
                             String name,
                             Set<Annotation> qualifiers)
        Creates the constant descriptor
        Parameters:
        theDom - May not be null
        advertisedContracts -
        scope -
        name -
        qualifiers -
    • Method Detail

      • getImplementation

        public String getImplementation()
        Specified by:
        getImplementation in interface org.glassfish.hk2.api.Descriptor
        Overrides:
        getImplementation in class org.glassfish.hk2.utilities.DescriptorImpl
      • getImplementationClass

        public Class<?> getImplementationClass()
      • getImplementationType

        public Type getImplementationType()
      • setImplementationType

        public void setImplementationType​(Type t)
        Overrides:
        setImplementationType in class org.glassfish.hk2.utilities.AbstractActiveDescriptor<T>
      • create

        public T create​(org.glassfish.hk2.api.ServiceHandle<?> root)
      • equals

        public boolean equals​(Object a)
        Overrides:
        equals in class org.glassfish.hk2.utilities.AbstractActiveDescriptor<T>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class org.glassfish.hk2.utilities.AbstractActiveDescriptor<T>