Package net.officefloor.jaxrs
Class OfficeFloorDependencies
- java.lang.Object
-
- net.officefloor.jaxrs.OfficeFloorDependencies
-
public class OfficeFloorDependencies extends java.lang.Object
Dependencies available fromOfficeFloor
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description OfficeFloorDependencies()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getDependency(java.lang.reflect.AnnotatedElement annotatedElement)
Obtains the dependency for theInjectee
.void
registerFieldDependency(java.lang.reflect.Field field, java.lang.Object dependency)
Registers aField
dependency.
-
-
-
Method Detail
-
registerFieldDependency
public void registerFieldDependency(java.lang.reflect.Field field, java.lang.Object dependency)
Registers aField
dependency.- Parameters:
field
-Field
.dependency
- Dependency.
-
getDependency
public java.lang.Object getDependency(java.lang.reflect.AnnotatedElement annotatedElement)
Obtains the dependency for theInjectee
.- Parameters:
annotatedElement
-AnnotatedElement
. Will gracefully handlenull
.- Returns:
- Dependency or
null
if not matched.
-
-