public class SpiUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_ROOT |
| Constructor and Description |
|---|
SpiUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Properties |
findServiceDescriptor(ServiceType type,
String name) |
static Properties |
findServiceDescriptor(String path,
String name,
Class currentClass) |
static Properties |
findServiceDescriptor(String path,
String name,
Class currentClass,
boolean fallbackToNonPreferred) |
static Properties |
findServiceDescriptors(String path,
String name,
Class currentClass)
Find all resources of the given name and merge them
|
public static final String SERVICE_ROOT
public static Properties findServiceDescriptor(ServiceType type, String name)
public static Properties findServiceDescriptor(String path, String name, Class currentClass)
public static Properties findServiceDescriptor(String path, String name, Class currentClass, boolean fallbackToNonPreferred)
fallbackToNonPreferred - whether the search should attempt the preferred-xxx.properties lookuppublic static Properties findServiceDescriptors(String path, String name, Class currentClass)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.