Package org.glassfish.cdi.hk2
Class CDIHK2Descriptor<T>
- java.lang.Object
-
- org.glassfish.hk2.utilities.DescriptorImpl
-
- org.glassfish.hk2.utilities.AbstractActiveDescriptor<T>
-
- org.glassfish.cdi.hk2.CDIHK2Descriptor<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 CDIHK2Descriptor<T> extends org.glassfish.hk2.utilities.AbstractActiveDescriptor<T>This is an HK2 Descriptor that is backed by a CDI bean- Author:
- jwells
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CDIHK2Descriptor()CDIHK2Descriptor(jakarta.enterprise.inject.spi.BeanManager manager, jakarta.enterprise.inject.spi.Bean<T> bean, Type requiredType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tcreate(org.glassfish.hk2.api.ServiceHandle<?> root)StringgetImplementation()Class<?>getImplementationClass()TypegetImplementationType()-
Methods inherited from class org.glassfish.hk2.utilities.AbstractActiveDescriptor
addContractType, addQualifierAnnotation, dispose, equals, getCache, getContractTypes, getFactoryLocatorId, getFactoryServiceId, getInjectees, getQualifierAnnotations, getScopeAnnotation, getScopeAsAnnotation, hashCode, isCacheSet, isReified, releaseCache, removeContractType, removeQualifierAnnotation, setCache, setFactoryId, setImplementationType, 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
-
-
-
-
Method Detail
-
getImplementation
public String getImplementation()
- Specified by:
getImplementationin interfaceorg.glassfish.hk2.api.Descriptor- Overrides:
getImplementationin classorg.glassfish.hk2.utilities.DescriptorImpl
-
getImplementationClass
public Class<?> getImplementationClass()
-
getImplementationType
public Type getImplementationType()
-
create
public T create(org.glassfish.hk2.api.ServiceHandle<?> root)
-
-