Class ServiceTracker<S>
- java.lang.Object
-
- org.jboss.msc.service.AbstractServiceListener<Object>
-
- org.camunda.bpm.container.impl.jboss.util.ServiceTracker<S>
-
- Type Parameters:
S
- the type of the service to track
- All Implemented Interfaces:
org.jboss.msc.service.ServiceListener<Object>
public 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.
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected Collection<S>
serviceCollection
protected org.jboss.msc.service.ServiceName
typeToTrack
-
Constructor Summary
Constructors Constructor Description ServiceTracker(org.jboss.msc.service.ServiceName typeToTrack, Collection<S> serviceCollection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
transition(org.jboss.msc.service.ServiceController controller, org.jboss.msc.service.ServiceController.Transition transition)
-
Methods inherited from class org.jboss.msc.service.AbstractServiceListener
dependencyFailed, dependencyFailureCleared, immediateDependencyAvailable, immediateDependencyUnavailable, listenerAdded, serviceRemoveRequestCleared, serviceRemoveRequested, transitiveDependencyAvailable, transitiveDependencyUnavailable
-
-
-
-
Field Detail
-
serviceCollection
protected Collection<S> serviceCollection
-
typeToTrack
protected org.jboss.msc.service.ServiceName typeToTrack
-
-
Constructor Detail
-
ServiceTracker
public ServiceTracker(org.jboss.msc.service.ServiceName typeToTrack, Collection<S> serviceCollection)
-
-