Package org.apache.felix.scr.impl.inject
Class DuplexReferenceMethods
- java.lang.Object
-
- org.apache.felix.scr.impl.inject.DuplexReferenceMethods
-
- All Implemented Interfaces:
ReferenceMethods
public class DuplexReferenceMethods extends java.lang.Object implements ReferenceMethods
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
DuplexReferenceMethods.DuplexReferenceMethod
-
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 DuplexReferenceMethods(java.util.List<ReferenceMethods> methods)
-
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
-
DuplexReferenceMethods
public DuplexReferenceMethods(java.util.List<ReferenceMethods> methods)
-
-
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
-
-