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,org.glassfish.hk2.api.ActiveDescriptor<T>,org.glassfish.hk2.api.Descriptor,org.glassfish.hk2.api.SingleCache<T>
public class CrossOverDescriptor<T>
extends org.glassfish.hk2.utilities.AbstractActiveDescriptor<T>
- Author:
- jwells
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCrossOverDescriptor(org.glassfish.hk2.api.ServiceLocator local, org.glassfish.hk2.api.ActiveDescriptor<T> localService) -
Method Summary
Modifier and TypeMethodDescriptioncreate(org.glassfish.hk2.api.ServiceHandle<?> root) voidClass<?>List<org.glassfish.hk2.api.Injectee>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
public CrossOverDescriptor(org.glassfish.hk2.api.ServiceLocator local, org.glassfish.hk2.api.ActiveDescriptor<T> localService)
-
-
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 -
getImplementationClass
-
getImplementationType
-
setImplementationType
- Overrides:
setImplementationTypein classorg.glassfish.hk2.utilities.AbstractActiveDescriptor<T>
-
getContractTypes
-
getScopeAsAnnotation
-
getScopeAnnotation
-
getQualifierAnnotations
-
getInjectees
-
getFactoryServiceId
-
getFactoryLocatorId
-
create
-
dispose
-