Class ServiceIDFactory
java.lang.Object
org.eclipse.ecf.discovery.identity.ServiceIDFactory
- All Implemented Interfaces:
IServiceIDFactory
ServiceIDFactory implementation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateServiceTypeID(Namespace namespace, String serviceType) Create an IServiceTypeID.createServiceTypeID(Namespace namespace, String[] serviceType) Create an IServiceTypeID.createServiceTypeID(Namespace namespace, String[] serviceType, String[] protocols) Create an IServiceTypeID.createServiceTypeID(Namespace namespace, String[] serviceType, String[] scopes, String[] protocols, String namingAuthority) Create an IServiceTypeID.createServiceTypeID(Namespace namespace, IServiceTypeID aServiceTypeId) Create an IServiceTypeID.static IServiceIDFactory
-
Constructor Details
-
ServiceIDFactory
public ServiceIDFactory()
-
-
Method Details
-
getDefault
-
createServiceTypeID
Description copied from interface:IServiceIDFactoryCreate an IServiceTypeID. Creates an immutable IServiceTypeID.- Specified by:
createServiceTypeIDin interfaceIServiceIDFactory- Parameters:
namespace- the Namespace instance to create the service ID with. Must not benull.serviceType- The service type. Must not benull.- Returns:
- IServiceTypeID created. Will not be
null. - Since:
- 3.0
- See Also:
-
createServiceTypeID
Description copied from interface:IServiceIDFactoryCreate an IServiceTypeID. Creates an immutable IServiceTypeID.- Specified by:
createServiceTypeIDin interfaceIServiceIDFactory- Parameters:
namespace- the Namespace instance to create the service ID with. Must not benull.serviceType- Array containing the ordered naming hierarchy from 0...n. Must not benull.- Returns:
- IServiceTypeID created. Will not be
null. - Since:
- 3.0
- See Also:
-
createServiceTypeID
public IServiceTypeID createServiceTypeID(Namespace namespace, String[] serviceType, String[] scopes, String[] protocols, String namingAuthority) Description copied from interface:IServiceIDFactoryCreate an IServiceTypeID. Creates an immutable IServiceTypeID.- Specified by:
createServiceTypeIDin interfaceIServiceIDFactory- Parameters:
namespace- the Namespace instance to create the service ID with. Must not benull.serviceType- Array containing the ordered naming hierarchy from 0...n. Must not benull.scopes- Array containing all scopes orIServiceTypeID.DEFAULT_SCOPEfor default. Must not benull.protocols- Array containing all protocols orIServiceTypeID.DEFAULT_PROTOfor default. Must not benull.namingAuthority- the NamingAuthority orIServiceTypeID.DEFAULT_NAfor default. Must not benull.- Returns:
- IServiceTypeID created. Will not be
null. - Since:
- 3.0
- See Also:
-
createServiceTypeID
public IServiceTypeID createServiceTypeID(Namespace namespace, String[] serviceType, String[] protocols) Description copied from interface:IServiceIDFactoryCreate an IServiceTypeID. Creates an immutable IServiceTypeID. NamingAuthority will be set toIServiceTypeID.DEFAULT_NA- Specified by:
createServiceTypeIDin interfaceIServiceIDFactory- Parameters:
namespace- the Namespace instance to create the service ID with. Must not benull.serviceType- Array containing the ordered naming hierarchy from 0...n. Must not benull.protocols- Array containing the protocols. Must not benull.- Returns:
- IServiceTypeID created. Will not be
null. - Since:
- 3.0
- See Also:
-
createServiceTypeID
Description copied from interface:IServiceIDFactoryCreate an IServiceTypeID. Creates an immutable IServiceTypeID from a non-nullIServiceTypeIDwith a differentNamespace.- Specified by:
createServiceTypeIDin interfaceIServiceIDFactory- Parameters:
namespace- the Namespace instance to create the service type ID with. Must not benull.aServiceTypeId- service type id. Must not benull.- Returns:
- IServiceTypeID created. Will not be
null. - Since:
- 3.0
- See Also:
-