Interface IServiceIDFactory
-
- All Known Implementing Classes:
ServiceIDFactory
public interface IServiceIDFactoryServiceID factory contract.- See Also:
ServiceIDFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IServiceTypeIDcreateServiceTypeID(Namespace namespace, String serviceType)Create an IServiceTypeID.IServiceTypeIDcreateServiceTypeID(Namespace namespace, String[] serviceType)Create an IServiceTypeID.IServiceTypeIDcreateServiceTypeID(Namespace namespace, String[] serviceType, String[] protocols)Create an IServiceTypeID.IServiceTypeIDcreateServiceTypeID(Namespace namespace, String[] services, String[] scopes, String[] protocols, String namingAuthority)Create an IServiceTypeID.IServiceTypeIDcreateServiceTypeID(Namespace namespace, IServiceTypeID aServiceTypeID)Create an IServiceTypeID.
-
-
-
Method Detail
-
createServiceTypeID
IServiceTypeID createServiceTypeID(Namespace namespace, String serviceType)
Create an IServiceTypeID. Creates an immutable IServiceTypeID.- 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
-
createServiceTypeID
IServiceTypeID createServiceTypeID(Namespace namespace, String[] serviceType)
Create an IServiceTypeID. Creates an immutable IServiceTypeID.- 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
-
createServiceTypeID
IServiceTypeID createServiceTypeID(Namespace namespace, String[] services, String[] scopes, String[] protocols, String namingAuthority)
Create an IServiceTypeID. Creates an immutable IServiceTypeID.- Parameters:
namespace- the Namespace instance to create the service ID with. Must not benull.services- 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
-
createServiceTypeID
IServiceTypeID createServiceTypeID(Namespace namespace, String[] serviceType, String[] protocols)
Create an IServiceTypeID. Creates an immutable IServiceTypeID. NamingAuthority will be set toIServiceTypeID.DEFAULT_NA- 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
-
createServiceTypeID
IServiceTypeID createServiceTypeID(Namespace namespace, IServiceTypeID aServiceTypeID)
Create an IServiceTypeID. Creates an immutable IServiceTypeID from a non-nullIServiceTypeIDwith a differentNamespace.- 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
-
-