Package 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:
Externalizable
,Serializable
,org.glassfish.hk2.api.ActiveDescriptor<T>
,org.glassfish.hk2.api.Descriptor
,org.glassfish.hk2.api.SingleCache<T>
public class DomDescriptor<T> extends org.glassfish.hk2.utilities.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
-
-
Constructor Summary
Constructors Constructor Description DomDescriptor()
For serializableDomDescriptor(Dom theDom, Set<Type> advertisedContracts, Class<? extends Annotation> scope, String name, Set<Annotation> qualifiers)
Creates the constant descriptor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
create(org.glassfish.hk2.api.ServiceHandle<?> root)
boolean
equals(Object a)
String
getImplementation()
Class<?>
getImplementationClass()
Type
getImplementationType()
int
hashCode()
void
setImplementationType(Type t)
-
Methods inherited from class org.glassfish.hk2.utilities.AbstractActiveDescriptor
addContractType, addQualifierAnnotation, dispose, getCache, getContractTypes, getFactoryLocatorId, getFactoryServiceId, getInjectees, getQualifierAnnotations, getScopeAnnotation, getScopeAsAnnotation, isCacheSet, isReified, releaseCache, removeContractType, removeQualifierAnnotation, setCache, setFactoryId, setName, setReified, setScopeAnnotation, setScopeAsAnnotation
-
Methods inherited from class org.glassfish.hk2.utilities.DescriptorImpl
addAdvertisedContract, addMetadata, addMetadata, addQualifier, clearMetadata, descriptorEquals, getAdvertisedContracts, getClassAnalysisName, getDescriptorType, getDescriptorVisibility, 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, writeObject
-
-
-
-
Constructor Detail
-
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
-
-
-
Method Detail
-
getImplementation
public String getImplementation()
- Specified by:
getImplementation
in interfaceorg.glassfish.hk2.api.Descriptor
- Overrides:
getImplementation
in classorg.glassfish.hk2.utilities.DescriptorImpl
-
getImplementationClass
public Class<?> getImplementationClass()
-
getImplementationType
public Type getImplementationType()
-
setImplementationType
public void setImplementationType(Type t)
- Overrides:
setImplementationType
in classorg.glassfish.hk2.utilities.AbstractActiveDescriptor<T>
-
create
public T create(org.glassfish.hk2.api.ServiceHandle<?> root)
-
equals
public boolean equals(Object a)
- Overrides:
equals
in classorg.glassfish.hk2.utilities.AbstractActiveDescriptor<T>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classorg.glassfish.hk2.utilities.AbstractActiveDescriptor<T>
-
-