org.mule.api.registry
Class ServiceDescriptorFactory
java.lang.Object
org.mule.api.registry.ServiceDescriptorFactory
public class ServiceDescriptorFactory
- extends java.lang.Object
Factory used to create a new service descriptor.
Method Summary |
static ServiceDescriptor |
create(ServiceType type,
java.lang.String name,
java.util.Properties props,
java.util.Properties overrides,
MuleContext muleContext,
java.lang.ClassLoader classLoader)
Factory method to create a new service descriptor. |
protected static boolean |
isFilteredMetaScheme(java.lang.String metaScheme)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceDescriptorFactory
public ServiceDescriptorFactory()
create
public static ServiceDescriptor create(ServiceType type,
java.lang.String name,
java.util.Properties props,
java.util.Properties overrides,
MuleContext muleContext,
java.lang.ClassLoader classLoader)
throws ServiceException
- Factory method to create a new service descriptor.
- Parameters:
type
- the service type to createname
- the name of the service. In the case of a stransport service, the full endpoint sheme should be used here
i.e. 'cxf:http'props
- The properties defined by this service typeoverrides
- any overrides that should be configured on top of the standard propertiers for the servicemuleContext
- the MuleContext for this mule instanceclassLoader
- the ClassLoader to use when loading classes
- Returns:
- a ServiceDescriptor instance that can be used to create the service objects associated with the service name
- Throws:
ServiceException
- if the service cannot be located
isFilteredMetaScheme
protected static boolean isFilteredMetaScheme(java.lang.String metaScheme)
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.