Class FieldMethods
- java.lang.Object
-
- org.apache.felix.scr.impl.inject.field.FieldMethods
-
- All Implemented Interfaces:
ReferenceMethods
public class FieldMethods extends java.lang.Object implements ReferenceMethods
FieldMethods provides implementations for bind/unbind/updated which handle manipulation of fields.
-
-
Field Summary
Fields Modifier and Type Field Description private ReferenceMethod
bind
private InitReferenceMethod
init
private ReferenceMethod
unbind
private ReferenceMethod
updated
-
Fields inherited from interface org.apache.felix.scr.impl.inject.ReferenceMethods
NOPReferenceMethod
-
-
Constructor Summary
Constructors Constructor Description FieldMethods(ReferenceMetadata m_dependencyMetadata, java.lang.Class<?> instanceClass, DSVersion dsVersion, boolean configurableServiceProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReferenceMethod
getBind()
Get the method to bind a service.InitReferenceMethod
getInit()
Get an optional method to initialize the component reference handling.ReferenceMethod
getUnbind()
Get the method to unbind a service.ReferenceMethod
getUpdated()
Get the method to update a service.
-
-
-
Field Detail
-
bind
private final ReferenceMethod bind
-
updated
private final ReferenceMethod updated
-
unbind
private final ReferenceMethod unbind
-
init
private final InitReferenceMethod init
-
-
Constructor Detail
-
FieldMethods
public FieldMethods(ReferenceMetadata m_dependencyMetadata, java.lang.Class<?> instanceClass, DSVersion dsVersion, boolean configurableServiceProperties)
-
-
Method Detail
-
getBind
public ReferenceMethod getBind()
Description copied from interface:ReferenceMethods
Get the method to bind a service. Never returnsnull
.- Specified by:
getBind
in interfaceReferenceMethods
-
getUnbind
public ReferenceMethod getUnbind()
Description copied from interface:ReferenceMethods
Get the method to unbind a service. Never returnsnull
.- Specified by:
getUnbind
in interfaceReferenceMethods
-
getUpdated
public ReferenceMethod getUpdated()
Description copied from interface:ReferenceMethods
Get the method to update a service. Never returnsnull
.- Specified by:
getUpdated
in interfaceReferenceMethods
-
getInit
public InitReferenceMethod getInit()
Description copied from interface:ReferenceMethods
Get an optional method to initialize the component reference handling. This is optional and might returnnull
- Specified by:
getInit
in interfaceReferenceMethods
-
-