public final class ServiceObjectFactory extends Object
org.jolokia.detector.TomcatDetector,50 !org.jolokia.detector.JettyDetector org.jolokia.detector.JBossDetector org.jolokia.detector.WebsphereDetector,1500If a line starts with
!
it is removed if it has been added previously.
The optional second numeric value is the order in which the services are returned.Modifier and Type | Method and Description |
---|---|
static <T> List<T> |
createServiceObjects(String... pDescriptorPaths)
Create a list of services ordered according to the ordering given in the
service descriptor files.
|
public static <T> List<T> createServiceObjects(String... pDescriptorPaths)
T
- type of the service objects to createpDescriptorPaths
- a list of resource paths which are handle in the given order.
Normally, default service should be given as first parameter so that custom
descriptors have a chance to remove a default service.Copyright © 2019. All rights reserved.