Class DomDescriptor<T>

java.lang.Object
org.glassfish.hk2.utilities.DescriptorImpl
org.glassfish.hk2.utilities.AbstractActiveDescriptor<T>
org.jvnet.hk2.config.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:
  • Constructor Summary

    Constructors
    Constructor
    Description
    For serializable
    DomDescriptor(Dom theDom, Set<Type> advertisedContracts, Class<? extends Annotation> scope, String name, Set<Annotation> qualifiers)
    Creates the constant descriptor
  • Method Summary

    Modifier and Type
    Method
    Description
    create(org.glassfish.hk2.api.ServiceHandle<?> root)
     
    boolean
     
     
     
     
    int
     
    void
     

    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 class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    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 Details

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

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