T - The type from the cachepublic class AutoActiveDescriptor<T> extends AbstractActiveDescriptor<T>
| Constructor and Description |
|---|
AutoActiveDescriptor()
For serialization
|
AutoActiveDescriptor(Class<?> clazz,
Creator<T> creator,
Set<Type> advertisedContracts,
Class<? extends Annotation> scope,
String name,
Set<Annotation> qualifiers,
DescriptorVisibility descriptorVisibility,
int ranking,
Boolean proxy,
Boolean proxyForSameScope,
String classAnalysisName,
Map<String,List<String>> metadata,
DescriptorType descriptorType,
Type clazzType)
Constructor with all relevant fields
|
| Modifier and Type | Method and Description |
|---|---|
T |
create(ServiceHandle<?> root) |
void |
dispose(T instance) |
Class<?> |
getImplementationClass() |
Type |
getImplementationType() |
List<Injectee> |
getInjectees() |
void |
setImplementationType(Type t) |
addContractType, addQualifierAnnotation, equals, getCache, getContractTypes, getFactoryLocatorId, getFactoryServiceId, getQualifierAnnotations, getScopeAnnotation, getScopeAsAnnotation, hashCode, isCacheSet, isReified, releaseCache, removeContractType, removeQualifierAnnotation, setCache, setFactoryId, setName, setReified, setScopeAnnotation, setScopeAsAnnotationaddAdvertisedContract, 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, writeObjectclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAdvertisedContracts, getClassAnalysisName, getDescriptorType, getDescriptorVisibility, getImplementation, getLoader, getLocatorId, getMetadata, getName, getQualifiers, getRanking, getScope, getServiceId, isProxiable, isProxyForSameScope, setRankingpublic AutoActiveDescriptor()
public AutoActiveDescriptor(Class<?> clazz, Creator<T> creator, Set<Type> advertisedContracts, Class<? extends Annotation> scope, String name, Set<Annotation> qualifiers, DescriptorVisibility descriptorVisibility, int ranking, Boolean proxy, Boolean proxyForSameScope, String classAnalysisName, Map<String,List<String>> metadata, DescriptorType descriptorType, Type clazzType)
clazz - The class of the implementationcreator - The creator to use (factory or clazz)advertisedContracts - The set of advertised contractsscope - The scope of the servicename - The name of the service (may be null)qualifiers - The set of qualifier annotationsdescriptorVisibility - The visibility of this descriptorranking - The initial rankproxy - Whether or not this can be proxied (null for default)proxyForSameScope - Whether or not to proxy within the same scope (null for default)classAnalysisName - The name of the class analyzer (null for default)metadata - The set of metadata associated with this descriptordescriptorType - The type of the descriptorpublic Class<?> getImplementationClass()
public Type getImplementationType()
public void setImplementationType(Type t)
setImplementationType in class AbstractActiveDescriptor<T>public T create(ServiceHandle<?> root)
public void dispose(T instance)
dispose in interface ActiveDescriptor<T>dispose in class AbstractActiveDescriptor<T>public List<Injectee> getInjectees()
getInjectees in interface ActiveDescriptor<T>getInjectees in class AbstractActiveDescriptor<T>Copyright © 2009-2017 Oracle Corporation. All Rights Reserved.