org.jvnet.hk2.config
Class DomDescriptor<T>
java.lang.Object
org.glassfish.hk2.utilities.DescriptorImpl
org.glassfish.hk2.utilities.AbstractActiveDescriptor<T>
org.jvnet.hk2.config.DomDescriptor<T>
- All Implemented Interfaces:
- Serializable, ActiveDescriptor<T>, Descriptor, SingleCache<T>
public class DomDescriptor<T>
- extends AbstractActiveDescriptor<T>
Created by IntelliJ IDEA.
User: makannan
Date: 4/28/12
Time: 3:28 PM
To change this template use File | Settings | File Templates.
- See Also:
- Serialized Form
| Methods inherited from class org.glassfish.hk2.utilities.AbstractActiveDescriptor |
addContractType, addQualifierAnnotation, dispose, getContractTypes, getFactoryLocatorId, getFactoryServiceId, getInjectees, getQualifierAnnotations, getScopeAnnotation, isReified, releaseCache, removeContractType, removeQualifierAnnotation, setCache, setFactoryId, setName, setReified |
| Methods inherited from class org.glassfish.hk2.utilities.DescriptorImpl |
addAdvertisedContract, addMetadata, addQualifier, clearMetadata, equals, getAdvertisedContracts, getBaseDescriptor, getDescriptorType, getLoader, getLocatorId, getMetadata, getName, getQualifiers, getRanking, getScope, getServiceId, hashCode, pretty, readObject, removeAdvertisedContract, removeAllMetadata, removeMetadata, removeQualifier, setBaseDescriptor, setDescriptorType, setImplementation, setLoader, setLocatorId, setMetadata, setRanking, setScope, setServiceId, toString, writeObject |
| Methods inherited from interface org.glassfish.hk2.api.Descriptor |
getAdvertisedContracts, getBaseDescriptor, getDescriptorType, getLoader, getLocatorId, getMetadata, getName, getQualifiers, getRanking, getScope, getServiceId, setRanking |
DomDescriptor
public DomDescriptor()
- For serializable
DomDescriptor
public DomDescriptor(Dom theDom,
Set<Type> advertisedContracts,
Class<? extends Annotation> scope,
String name,
Set<Annotation> qualifiers)
- Creates the constant descriptor
- Parameters:
theDom - May not be nulladvertisedContracts - scope - name - qualifiers -
getImplementation
public String getImplementation()
- Specified by:
getImplementation in interface Descriptor- Overrides:
getImplementation in class DescriptorImpl
getCache
public T getCache()
- Specified by:
getCache in interface SingleCache<T>- Overrides:
getCache in class AbstractActiveDescriptor<T>
isCacheSet
public boolean isCacheSet()
- Specified by:
isCacheSet in interface SingleCache<T>- Overrides:
isCacheSet in class AbstractActiveDescriptor<T>
getImplementationClass
public Class<?> getImplementationClass()
create
public T create(ServiceHandle<?> root)
Copyright © 2012 Oracle Corporation. All Rights Reserved.