Class DynamicDependenciesParticipantReference
java.lang.Object
com._1c.g5.v8.dt.internal.lifecycle.DynamicDependenciesParticipantReference
- All Implemented Interfaces:
ILifecyclePhaseParticipantReference
public final class DynamicDependenciesParticipantReference
extends Object
implements ILifecyclePhaseParticipantReference
The
ILifecyclePhaseParticipantReference
implementation for participants with dynamic dependencies.-
Constructor Summary
ConstructorsConstructorDescriptionDynamicDependenciesParticipantReference
(String serviceName, ILifecyclePhaseParticipant participant, LifecyclePhase participatingPhase, IServiceDependencyProvider dependencyProvider) Creates participant reference with dynamic dependencies -
Method Summary
Modifier and TypeMethodDescriptionReturns the dependencies of the participant represented by services names.Returns the participant itself.Returns the service name the participant relates to.toString()
-
Constructor Details
-
DynamicDependenciesParticipantReference
public DynamicDependenciesParticipantReference(String serviceName, ILifecyclePhaseParticipant participant, LifecyclePhase participatingPhase, IServiceDependencyProvider dependencyProvider) Creates participant reference with dynamic dependencies- Parameters:
serviceName
- the name of the lifecycle service, cannot benull
.participant
- the lifecycle phase participant, cannot benull
.participatingPhase
- the phase to participate, cannot benull
.dependencyProvider
- theIServiceDependencyProvider
instance, cannot benull
.- Throws:
IllegalArgumentException
- if one of the specified arguments doesn't satisfy its requirements.
-
-
Method Details
-
getServiceName
Description copied from interface:ILifecyclePhaseParticipantReference
Returns the service name the participant relates to.- Specified by:
getServiceName
in interfaceILifecyclePhaseParticipantReference
- Returns:
- the service name, never
null
.
-
getParticipant
Description copied from interface:ILifecyclePhaseParticipantReference
Returns the participant itself.- Specified by:
getParticipant
in interfaceILifecyclePhaseParticipantReference
- Returns:
- the participant, never
null
.
-
getDependencies
Description copied from interface:ILifecyclePhaseParticipantReference
Returns the dependencies of the participant represented by services names.- Specified by:
getDependencies
in interfaceILifecyclePhaseParticipantReference
- Returns:
- the dependencies, never
null
.
-
toString
-