org.apache.openejb.config
Class ServiceUtils
java.lang.Object
org.apache.openejb.config.ServiceUtils
public class ServiceUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ANY
public static final String ANY
NONE
public static final String NONE
DEFAULT_PROVIDER_URL
public static final String DEFAULT_PROVIDER_URL
- Default service provider package. This value is choosen as follows:
1. System property "openejb.provider.default"
2. If in a full server containing a "conf" directory "org.apache.openejb"
3. Embedded mode "org.apache.openejb.embedded"
messages
public static Messages messages
logger
public static Logger logger
ServiceUtils
public ServiceUtils()
getManager
public static ProviderManager getManager()
hasServiceProvider
public static boolean hasServiceProvider(String id)
getServiceProvider
public static ServiceProvider getServiceProvider(String idString)
throws OpenEJBException
- Throws:
OpenEJBException
getServiceProviderId
public static String getServiceProviderId(String type)
throws OpenEJBException
- Throws:
OpenEJBException
getServiceProviderId
public static String getServiceProviderId(String type,
Properties required)
throws OpenEJBException
- Throws:
OpenEJBException
getServiceProvidersByServiceType
public static List<ServiceProvider> getServiceProvidersByServiceType(String type)
throws OpenEJBException
- Throws:
OpenEJBException
getServiceProviderByType
public static ServiceProvider getServiceProviderByType(String type,
Properties required)
throws OpenEJBException
- Throws:
OpenEJBException
implies
public static boolean implies(Properties required,
Properties available)
getServiceProviderByType
public static ServiceProvider getServiceProviderByType(String providerType,
String serviceType)
throws OpenEJBException
- Throws:
OpenEJBException
getServiceProviders
public static List<ServiceProvider> getServiceProviders()
throws OpenEJBException
- Throws:
OpenEJBException
getServiceProviders
public static List<ServiceProvider> getServiceProviders(String packageName)
throws OpenEJBException
- Throws:
OpenEJBException
registerServiceProvider
public static void registerServiceProvider(String packageName,
ServiceProvider provider)
Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.