Class FieldMethods
- java.lang.Object
-
- org.apache.felix.scr.impl.inject.field.FieldMethods
-
- All Implemented Interfaces:
ReferenceMethods
public class FieldMethods extends Object implements ReferenceMethods
FieldMethods provides implementations for bind/unbind/updated which handle manipulation of fields.
-
-
Field Summary
-
Fields inherited from interface org.apache.felix.scr.impl.inject.ReferenceMethods
NOPReferenceMethod
-
-
Constructor Summary
Constructors Constructor Description FieldMethods(ReferenceMetadata m_dependencyMetadata, 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.
-
-
-
Constructor Detail
-
FieldMethods
public FieldMethods(ReferenceMetadata m_dependencyMetadata, 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
-
-