Class FieldHandler
- java.lang.Object
-
- org.apache.felix.scr.impl.inject.field.FieldHandler
-
public class FieldHandler extends Object
Handler for field references
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FieldHandler.ReferenceMethodImpl
-
Constructor Summary
Constructors Constructor Description FieldHandler(ReferenceMetadata metadata, Class<?> componentClass)
Create a new field handler
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
fieldExists(ComponentLogger logger)
ReferenceMethod
getBind()
InitReferenceMethod
getInit()
ReferenceMethod
getUnbind()
ReferenceMethod
getUpdated()
-
-
-
Constructor Detail
-
FieldHandler
public FieldHandler(ReferenceMetadata metadata, Class<?> componentClass)
Create a new field handler- Parameters:
fieldName
- name of the fieldcomponentClass
- component classreferenceClassName
- service class name
-
-
Method Detail
-
fieldExists
public boolean fieldExists(ComponentLogger logger)
-
getBind
public ReferenceMethod getBind()
-
getUnbind
public ReferenceMethod getUnbind()
-
getUpdated
public ReferenceMethod getUpdated()
-
getInit
public InitReferenceMethod getInit()
-
-