Package org.apache.felix.scr.impl.inject
Interface ReferenceMethods
-
- All Known Implementing Classes:
BindMethods
,DuplexReferenceMethods
,FieldMethods
public interface ReferenceMethods
ReferenceMethods
holds pointers to methods for a single reference. The methods are used for event (method) injection and field injection.- The bind method
- The unbind method
- The updated method
- The init method (optional, only used for field references)
-
-
Field Summary
Fields Modifier and Type Field Description static ReferenceMethods
NOPReferenceMethod
This is a NOP implementation.
-
Method Summary
All Methods Instance Methods Abstract 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
-
NOPReferenceMethod
static final ReferenceMethods NOPReferenceMethod
This is a NOP implementation.
-
-
Method Detail
-
getBind
ReferenceMethod getBind()
Get the method to bind a service. Never returnsnull
.
-
getUnbind
ReferenceMethod getUnbind()
Get the method to unbind a service. Never returnsnull
.
-
getUpdated
ReferenceMethod getUpdated()
Get the method to update a service. Never returnsnull
.
-
getInit
InitReferenceMethod getInit()
Get an optional method to initialize the component reference handling. This is optional and might returnnull
-
-