Package org.apache.felix.scr.impl.inject
Class MethodResult
- java.lang.Object
-
- org.apache.felix.scr.impl.inject.MethodResult
-
public class MethodResult extends Object
TheMethodResult
conveys the return value of one of the activate, modify, and deactivate methods.Note that the method returning
null
or being defined asvoid
is not the same thing. If the method returnsnull
an instance of this class is returned whosegetResult()
method returnsnull
. If the method is defined asvoid
the special instanceVOID
is returned.
-
-
Field Summary
Fields Modifier and Type Field Description static MethodResult
REACTIVATE
Predefined instance indicating to reactivate the component.static MethodResult
VOID
Predefined instance indicating a successful call to a void method.
-
Constructor Summary
Constructors Constructor Description MethodResult(boolean hasResult, Map<String,Object> result)
-
-
-
Field Detail
-
VOID
public static final MethodResult VOID
Predefined instance indicating a successful call to a void method.
-
REACTIVATE
public static final MethodResult REACTIVATE
Predefined instance indicating to reactivate the component.
-
-