public interface ActivationRequest
Request to activate a service.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ActivationRequestCreates a new activation request.Optionally, the injection point context information.The phase to start activation.Ultimate target phase for activation.booleanWhether to throw an exception on failure to activate, or return an error activation result on activation.
-
Method Details
-
injectionPoint
Optional<InjectionPointInfo> injectionPoint()Optionally, the injection point context information.- Returns:
- injection point info
-
startingPhase
The phase to start activation. Typically, this should be left as the default (i.e., PENDING).- Returns:
- phase to start
-
targetPhase
Phase targetPhase()Ultimate target phase for activation.- Returns:
- phase to target
-
throwIfError
boolean throwIfError()Whether to throw an exception on failure to activate, or return an error activation result on activation.- Returns:
- whether to throw on failure
-
create
Creates a new activation request.- Parameters:
targetPhase- the target phase- Returns:
- the activation request
-