public class ServiceUtils
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ServiceUtils.ProviderInfo |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ANY |
static java.lang.String |
DEFAULT_PROVIDER_URL
Default service provider package.
|
static Logger |
logger |
static java.lang.String |
NONE |
Constructor and Description |
---|
ServiceUtils() |
Modifier and Type | Method and Description |
---|---|
static ProviderManager |
getManager() |
static ServiceProvider |
getServiceProvider(java.lang.String idString) |
static ServiceProvider |
getServiceProviderByType(java.lang.String type,
java.util.Properties required) |
static ServiceProvider |
getServiceProviderByType(java.lang.String providerType,
java.lang.String serviceType) |
static java.lang.String |
getServiceProviderId(java.lang.String type) |
static java.lang.String |
getServiceProviderId(java.lang.String type,
java.util.Properties required) |
static java.util.List<ServiceProvider> |
getServiceProviders() |
static java.util.List<ServiceProvider> |
getServiceProviders(java.lang.String packageName) |
static java.util.List<ServiceProvider> |
getServiceProvidersByServiceType(java.lang.String type) |
static boolean |
hasServiceProvider(java.lang.String id) |
static boolean |
implies(java.util.Properties required,
java.util.Properties available) |
static void |
registerServiceProvider(java.lang.String packageName,
ServiceProvider provider) |
public static final java.lang.String ANY
public static final java.lang.String NONE
public static final java.lang.String DEFAULT_PROVIDER_URL
public static Logger logger
public static ProviderManager getManager()
public static boolean hasServiceProvider(java.lang.String id)
public static ServiceProvider getServiceProvider(java.lang.String idString) throws OpenEJBException
OpenEJBException
public static java.lang.String getServiceProviderId(java.lang.String type) throws OpenEJBException
OpenEJBException
public static java.lang.String getServiceProviderId(java.lang.String type, java.util.Properties required) throws OpenEJBException
OpenEJBException
public static java.util.List<ServiceProvider> getServiceProvidersByServiceType(java.lang.String type) throws OpenEJBException
OpenEJBException
public static ServiceProvider getServiceProviderByType(java.lang.String type, java.util.Properties required) throws OpenEJBException
OpenEJBException
public static boolean implies(java.util.Properties required, java.util.Properties available)
public static ServiceProvider getServiceProviderByType(java.lang.String providerType, java.lang.String serviceType) throws OpenEJBException
OpenEJBException
public static java.util.List<ServiceProvider> getServiceProviders() throws OpenEJBException
OpenEJBException
public static java.util.List<ServiceProvider> getServiceProviders(java.lang.String packageName) throws OpenEJBException
OpenEJBException
public static void registerServiceProvider(java.lang.String packageName, ServiceProvider provider)