Package org.apache.felix.scr.impl.helper
Class MethodResult
- java.lang.Object
-
- org.apache.felix.scr.impl.helper.MethodResult
-
public class MethodResult extends Object
TheMethodResultconveys the return value of one of the activate, modify, and deactivate methods.Note that the method returning
nullor being defined asvoidis not the same thing. If the method returnsnullan instance of this class is returned whosegetResult()method returnsnull. If the method is defined asvoidthe special instanceVOIDis returned.
-
-
Field Summary
Fields Modifier and Type Field Description static MethodResultREACTIVATEPredefined instance indicating to reactivate the component.static MethodResultVOIDPredefined 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.
-
-