Class ServiceTracker<S>
java.lang.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.LifecycleListener
Service Listener that adds / removes services to / from a collection as they are added / removed to the service controller.
- Author:
- Daniel Meyer
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Collection<S>protected org.jboss.msc.service.ServiceName
- 
Constructor SummaryConstructorsConstructorDescriptionServiceTracker(org.jboss.msc.service.ServiceName typeToTrack, Collection<S> serviceCollection) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidhandleEvent(org.jboss.msc.service.ServiceController<?> controller, org.jboss.msc.service.LifecycleEvent event) 
- 
Field Details- 
serviceCollection
- 
typeToTrackprotected org.jboss.msc.service.ServiceName typeToTrack
 
- 
- 
Constructor Details- 
ServiceTrackerpublic ServiceTracker(org.jboss.msc.service.ServiceName typeToTrack, Collection<S> serviceCollection) 
 
- 
- 
Method Details- 
handleEventpublic void handleEvent(org.jboss.msc.service.ServiceController<?> controller, org.jboss.msc.service.LifecycleEvent event) - Specified by:
- handleEventin interface- org.jboss.msc.service.LifecycleListener
 
 
-