Package org.apache.felix.scr.impl.inject
Class MethodResult
java.lang.Object
org.apache.felix.scr.impl.inject.MethodResult
The
MethodResult
conveys the return value of one of the
activate, modify, and deactivate methods.
Note that the method returning null
or being defined as
void
is not the same thing. If the method returns
null
an instance of this class is returned whose
getResult()
method returns null
. If the method is
defined as void
the special instance VOID
is returned.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MethodResult
Predefined instance indicating to reactivate the component.static final MethodResult
Predefined instance indicating a successful call to a void method. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
VOID
Predefined instance indicating a successful call to a void method. -
REACTIVATE
Predefined instance indicating to reactivate the component.
-
-
Constructor Details
-
MethodResult
-
-
Method Details
-
hasResult
public boolean hasResult() -
getResult
-