Package net.officefloor.jaxrs
Class OfficeFloorHk2Object<T>
- java.lang.Object
-
- org.glassfish.hk2.utilities.DescriptorImpl
-
- org.glassfish.hk2.utilities.AbstractActiveDescriptor<T>
-
- net.officefloor.jaxrs.OfficeFloorHk2Object<T>
-
- All Implemented Interfaces:
java.io.Externalizable
,java.io.Serializable
,org.glassfish.hk2.api.ActiveDescriptor<T>
,org.glassfish.hk2.api.Descriptor
,org.glassfish.hk2.api.SingleCache<T>
public class OfficeFloorHk2Object<T> extends org.glassfish.hk2.utilities.AbstractActiveDescriptor<T>
OfficeFloor
ActiveDescriptor
.- Author:
- Daniel Sagenschneider
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OfficeFloorHk2Object()
Allows serialisation.OfficeFloorHk2Object(java.lang.String name, java.util.Set<java.lang.reflect.Type> contracts, java.util.Set<java.lang.annotation.Annotation> qualifiers, java.lang.Class<?> type, T object)
Instantiate for binding inManagedObject
fromOfficeFloor
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
create(org.glassfish.hk2.api.ServiceHandle<?> root)
java.lang.Class<?>
getImplementationClass()
java.lang.reflect.Type
getImplementationType()
-
Methods inherited from class org.glassfish.hk2.utilities.AbstractActiveDescriptor
addContractType, addQualifierAnnotation, dispose, equals, getCache, getContractTypes, getFactoryLocatorId, getFactoryServiceId, getInjectees, getQualifierAnnotations, getScopeAnnotation, getScopeAsAnnotation, hashCode, isCacheSet, isReified, releaseCache, removeContractType, removeQualifierAnnotation, setCache, setFactoryId, setImplementationType, setName, setReified, setScopeAnnotation, setScopeAsAnnotation
-
Methods 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, writeObject
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods 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 Detail
-
OfficeFloorHk2Object
public OfficeFloorHk2Object()
Allows serialisation.
-
OfficeFloorHk2Object
public OfficeFloorHk2Object(java.lang.String name, java.util.Set<java.lang.reflect.Type> contracts, java.util.Set<java.lang.annotation.Annotation> qualifiers, java.lang.Class<?> type, T object)
Instantiate for binding inManagedObject
fromOfficeFloor
.- Parameters:
name
- Name ofManagedObject
.contracts
- Contracts.qualifiers
- Qualifiers.type
- Type of object fromManagedObject
.object
-ManagedObject
object.
-
-
Method Detail
-
getImplementationClass
public java.lang.Class<?> getImplementationClass()
-
getImplementationType
public java.lang.reflect.Type getImplementationType()
-
create
public T create(org.glassfish.hk2.api.ServiceHandle<?> root)
-
-