Module org.glassfish.hk2.extras
Class CrossOverDescriptor<T>
java.lang.Object
org.glassfish.hk2.utilities.DescriptorImpl
org.glassfish.hk2.utilities.AbstractActiveDescriptor<T>
org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor<T>
- All Implemented Interfaces:
Externalizable,Serializable,ActiveDescriptor<T>,Descriptor,SingleCache<T>
- Author:
- jwells
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(ServiceHandle<?> root) voidClass<?>Class<? extends Annotation>booleanThis method returns true if this descriptor has been reified (class loaded).voidMethods inherited from class org.glassfish.hk2.utilities.AbstractActiveDescriptor
addContractType, addQualifierAnnotation, equals, getCache, hashCode, isCacheSet, releaseCache, removeContractType, removeQualifierAnnotation, setCache, setFactoryId, setName, setReified, setScopeAnnotation, setScopeAsAnnotationMethods inherited from class org.glassfish.hk2.utilities.DescriptorImpl
addAdvertisedContract, addMetadata, addMetadata, addQualifier, clearMetadata, descriptorEquals, getAdvertisedContracts, getClassAnalysisName, getDescriptorType, getDescriptorVisibility, getImplementation, 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, writeObjectMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.glassfish.hk2.api.Descriptor
getAdvertisedContracts, getClassAnalysisName, getDescriptorType, getDescriptorVisibility, getImplementation, getLoader, getLocatorId, getMetadata, getName, getQualifiers, getRanking, getScope, getServiceId, isProxiable, isProxyForSameScope, setRanking
-
Constructor Details
-
CrossOverDescriptor
-
-
Method Details
-
isReified
public boolean isReified()This method returns true if this descriptor has been reified (class loaded). If this method returns false then the other methods in this interface will throw an IllegalStateException. Once this method returns true it may be- Specified by:
isReifiedin interfaceActiveDescriptor<T>- Overrides:
isReifiedin classAbstractActiveDescriptor<T>- Returns:
- true if this descriptor has been reified, false otherwise
-
getImplementationClass
-
getImplementationType
-
setImplementationType
- Overrides:
setImplementationTypein classAbstractActiveDescriptor<T>
-
getContractTypes
- Specified by:
getContractTypesin interfaceActiveDescriptor<T>- Overrides:
getContractTypesin classAbstractActiveDescriptor<T>
-
getScopeAsAnnotation
- Specified by:
getScopeAsAnnotationin interfaceActiveDescriptor<T>- Overrides:
getScopeAsAnnotationin classAbstractActiveDescriptor<T>
-
getScopeAnnotation
- Specified by:
getScopeAnnotationin interfaceActiveDescriptor<T>- Overrides:
getScopeAnnotationin classAbstractActiveDescriptor<T>
-
getQualifierAnnotations
- Specified by:
getQualifierAnnotationsin interfaceActiveDescriptor<T>- Overrides:
getQualifierAnnotationsin classAbstractActiveDescriptor<T>
-
getInjectees
- Specified by:
getInjecteesin interfaceActiveDescriptor<T>- Overrides:
getInjecteesin classAbstractActiveDescriptor<T>
-
getFactoryServiceId
- Specified by:
getFactoryServiceIdin interfaceActiveDescriptor<T>- Overrides:
getFactoryServiceIdin classAbstractActiveDescriptor<T>
-
getFactoryLocatorId
- Specified by:
getFactoryLocatorIdin interfaceActiveDescriptor<T>- Overrides:
getFactoryLocatorIdin classAbstractActiveDescriptor<T>
-
create
-
dispose
- Specified by:
disposein interfaceActiveDescriptor<T>- Overrides:
disposein classAbstractActiveDescriptor<T>
-