S
- the type of the service to trackpublic class ServiceTracker<S> extends org.jboss.msc.service.AbstractServiceListener<Object>
Service Listener that adds / removes services to / from a collection as they are added / removed to the service controller.
Modifier and Type | Field and Description |
---|---|
protected Collection<S> |
serviceCollection |
protected org.jboss.msc.service.ServiceName |
typeToTrack |
Constructor and Description |
---|
ServiceTracker(org.jboss.msc.service.ServiceName typeToTrack,
Collection<S> serviceCollection) |
Modifier and Type | Method and Description |
---|---|
void |
transition(org.jboss.msc.service.ServiceController controller,
org.jboss.msc.service.ServiceController.Transition transition) |
dependencyFailed, dependencyFailureCleared, immediateDependencyAvailable, immediateDependencyUnavailable, listenerAdded, serviceRemoveRequestCleared, serviceRemoveRequested, transitiveDependencyAvailable, transitiveDependencyUnavailable
protected Collection<S> serviceCollection
protected org.jboss.msc.service.ServiceName typeToTrack
public ServiceTracker(org.jboss.msc.service.ServiceName typeToTrack, Collection<S> serviceCollection)
Copyright © 2022. All rights reserved.