Package io.zeebe.servicecontainer.impl
Class ServiceGroup
- java.lang.Object
-
- io.zeebe.servicecontainer.impl.ServiceGroup
-
public class ServiceGroup extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ServiceController>controllersprotected ServiceName<?>groupNameprotected List<ServiceGroupReferenceImpl>references
-
Constructor Summary
Constructors Constructor Description ServiceGroup(ServiceName<?> groupName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddReference(ServiceGroupReferenceImpl reference)voidaddService(ServiceController controller)List<ServiceController>getControllers()voidremoveReference(ServiceGroupReference<?> reference)voidremoveService(ServiceController controller)
-
-
-
Field Detail
-
groupName
protected final ServiceName<?> groupName
-
controllers
protected final List<ServiceController> controllers
-
references
protected final List<ServiceGroupReferenceImpl> references
-
-
Constructor Detail
-
ServiceGroup
public ServiceGroup(ServiceName<?> groupName)
-
-
Method Detail
-
addReference
public void addReference(ServiceGroupReferenceImpl reference)
-
removeReference
public void removeReference(ServiceGroupReference<?> reference)
-
addService
public void addService(ServiceController controller)
-
removeService
public void removeService(ServiceController controller)
-
getControllers
public List<ServiceController> getControllers()
-
-