public class DomDescriptor<T>
extends org.glassfish.hk2.utilities.AbstractActiveDescriptor<T>
Constructor and Description |
---|
DomDescriptor()
For serializable
|
DomDescriptor(Dom theDom,
Set<Type> advertisedContracts,
Class<? extends Annotation> scope,
String name,
Set<Annotation> qualifiers)
Creates the constant descriptor
|
Modifier and Type | Method and 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) |
addContractType, addQualifierAnnotation, dispose, getCache, getContractTypes, getFactoryLocatorId, getFactoryServiceId, getInjectees, getQualifierAnnotations, getScopeAnnotation, getScopeAsAnnotation, isCacheSet, isReified, releaseCache, removeContractType, removeQualifierAnnotation, setCache, setFactoryId, setName, setReified, setScopeAnnotation, setScopeAsAnnotation
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
public DomDescriptor()
public DomDescriptor(Dom theDom, Set<Type> advertisedContracts, Class<? extends Annotation> scope, String name, Set<Annotation> qualifiers)
theDom
- May not be nulladvertisedContracts
- scope
- name
- qualifiers
- public String getImplementation()
getImplementation
in interface org.glassfish.hk2.api.Descriptor
getImplementation
in class org.glassfish.hk2.utilities.DescriptorImpl
public Class<?> getImplementationClass()
public Type getImplementationType()
public void setImplementationType(Type t)
setImplementationType
in class org.glassfish.hk2.utilities.AbstractActiveDescriptor<T>
public T create(org.glassfish.hk2.api.ServiceHandle<?> root)
public boolean equals(Object a)
equals
in class org.glassfish.hk2.utilities.AbstractActiveDescriptor<T>
public int hashCode()
hashCode
in class org.glassfish.hk2.utilities.AbstractActiveDescriptor<T>
Copyright © 2020. All rights reserved.