public class ServiceUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceUtils.ProviderInfo |
| Modifier and Type | Field and Description |
|---|---|
static String |
ANY |
static String |
DEFAULT_PROVIDER_URL
Default service provider package.
|
static Logger |
logger |
static Messages |
messages |
static String |
NONE |
| Constructor and Description |
|---|
ServiceUtils() |
| Modifier and Type | Method and Description |
|---|---|
static ProviderManager |
getManager() |
static ServiceProvider |
getServiceProvider(String idString) |
static ServiceProvider |
getServiceProviderByType(String type,
Properties required) |
static ServiceProvider |
getServiceProviderByType(String providerType,
String serviceType) |
static String |
getServiceProviderId(String type) |
static String |
getServiceProviderId(String type,
Properties required) |
static List<ServiceProvider> |
getServiceProviders() |
static List<ServiceProvider> |
getServiceProviders(String packageName) |
static List<ServiceProvider> |
getServiceProvidersByServiceType(String type) |
static boolean |
hasServiceProvider(String id) |
static boolean |
implies(Properties required,
Properties available) |
static void |
registerServiceProvider(String packageName,
ServiceProvider provider) |
public static final String ANY
public static final String NONE
public static final String DEFAULT_PROVIDER_URL
public static Messages messages
public static Logger logger
public static ProviderManager getManager()
public static boolean hasServiceProvider(String id)
public static ServiceProvider getServiceProvider(String idString) throws OpenEJBException
OpenEJBExceptionpublic static String getServiceProviderId(String type) throws OpenEJBException
OpenEJBExceptionpublic static String getServiceProviderId(String type, Properties required) throws OpenEJBException
OpenEJBExceptionpublic static List<ServiceProvider> getServiceProvidersByServiceType(String type) throws OpenEJBException
OpenEJBExceptionpublic static ServiceProvider getServiceProviderByType(String type, Properties required) throws OpenEJBException
OpenEJBExceptionpublic static boolean implies(Properties required, Properties available)
public static ServiceProvider getServiceProviderByType(String providerType, String serviceType) throws OpenEJBException
OpenEJBExceptionpublic static List<ServiceProvider> getServiceProviders() throws OpenEJBException
OpenEJBExceptionpublic static List<ServiceProvider> getServiceProviders(String packageName) throws OpenEJBException
OpenEJBExceptionpublic static void registerServiceProvider(String packageName, ServiceProvider provider)
Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.