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- theIServiceDependencyProviderinstance, cannot benull.- Throws:
IllegalArgumentException- if one of the specified arguments doesn't satisfy its requirements.
-
-
Method Details
-
getServiceName
Description copied from interface:ILifecyclePhaseParticipantReferenceReturns the service name the participant relates to.- Specified by:
getServiceNamein interfaceILifecyclePhaseParticipantReference- Returns:
- the service name, never
null.
-
getParticipant
Description copied from interface:ILifecyclePhaseParticipantReferenceReturns the participant itself.- Specified by:
getParticipantin interfaceILifecyclePhaseParticipantReference- Returns:
- the participant, never
null.
-
getDependencies
Description copied from interface:ILifecyclePhaseParticipantReferenceReturns the dependencies of the participant represented by services names.- Specified by:
getDependenciesin interfaceILifecyclePhaseParticipantReference- Returns:
- the dependencies, never
null.
-
toString
-