java.lang.Object
org.jvnet.hk2.internal.SystemDescriptor<T>
- Type Parameters:
T- The type from the cache
- All Implemented Interfaces:
ActiveDescriptor<T>,Descriptor,SingleCache<T>,Closeable
- Author:
- jwells
-
Method Summary
Modifier and TypeMethodDescriptionbooleanclose()Idempotent close method.create(ServiceHandle<?> root) voidbooleangetCache()Class<?>getName()intgetScope()Class<? extends Annotation>inthashCode()booleanbooleanisClosed()Returns true if the instance has been closedbooleanvoidvoidintsetRanking(int ranking) toString()
-
Method Details
-
getImplementation
- Specified by:
getImplementationin interfaceDescriptor
-
getAdvertisedContracts
- Specified by:
getAdvertisedContractsin interfaceDescriptor
-
getScope
- Specified by:
getScopein interfaceDescriptor
-
getName
- Specified by:
getNamein interfaceDescriptor
-
getQualifiers
- Specified by:
getQualifiersin interfaceDescriptor
-
getDescriptorType
- Specified by:
getDescriptorTypein interfaceDescriptor
-
getDescriptorVisibility
- Specified by:
getDescriptorVisibilityin interfaceDescriptor
-
getMetadata
- Specified by:
getMetadatain interfaceDescriptor
-
getLoader
- Specified by:
getLoaderin interfaceDescriptor
-
getRanking
public int getRanking()- Specified by:
getRankingin interfaceDescriptor
-
isProxiable
- Specified by:
isProxiablein interfaceDescriptor
-
isProxyForSameScope
- Specified by:
isProxyForSameScopein interfaceDescriptor
-
getClassAnalysisName
- Specified by:
getClassAnalysisNamein interfaceDescriptor
-
setRanking
public int setRanking(int ranking) - Specified by:
setRankingin interfaceDescriptor
-
getServiceId
- Specified by:
getServiceIdin interfaceDescriptor
-
getCache
- Specified by:
getCachein interfaceSingleCache<T>
-
isCacheSet
public boolean isCacheSet()- Specified by:
isCacheSetin interfaceSingleCache<T>
-
setCache
- Specified by:
setCachein interfaceSingleCache<T>
-
releaseCache
public void releaseCache()- Specified by:
releaseCachein interfaceSingleCache<T>
-
isReified
public boolean isReified()- Specified by:
isReifiedin interfaceActiveDescriptor<T>
-
getImplementationClass
- Specified by:
getImplementationClassin interfaceActiveDescriptor<T>
-
getImplementationType
- Specified by:
getImplementationTypein interfaceActiveDescriptor<T>
-
getContractTypes
- Specified by:
getContractTypesin interfaceActiveDescriptor<T>
-
getScopeAsAnnotation
- Specified by:
getScopeAsAnnotationin interfaceActiveDescriptor<T>
-
getScopeAnnotation
- Specified by:
getScopeAnnotationin interfaceActiveDescriptor<T>
-
getQualifierAnnotations
- Specified by:
getQualifierAnnotationsin interfaceActiveDescriptor<T>
-
getInjectees
- Specified by:
getInjecteesin interfaceActiveDescriptor<T>
-
getFactoryServiceId
- Specified by:
getFactoryServiceIdin interfaceActiveDescriptor<T>
-
getFactoryLocatorId
- Specified by:
getFactoryLocatorIdin interfaceActiveDescriptor<T>
-
create
- Specified by:
createin interfaceActiveDescriptor<T>
-
dispose
- Specified by:
disposein interfaceActiveDescriptor<T>
-
getLocatorId
- Specified by:
getLocatorIdin interfaceDescriptor
-
close
public boolean close()Description copied from interface:CloseableIdempotent close method. Returns true if the instance had already been closed -
isClosed
public boolean isClosed()Description copied from interface:CloseableReturns true if the instance has been closed -
hashCode
public int hashCode() -
equals
-
toString
-