Interface IServiceIDFactory
-
- All Known Implementing Classes:
ServiceIDFactory
public interface IServiceIDFactory
ServiceID factory contract.- See Also:
ServiceIDFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IServiceTypeID
createServiceTypeID(Namespace namespace, String serviceType)
Create an IServiceTypeID.IServiceTypeID
createServiceTypeID(Namespace namespace, String[] serviceType)
Create an IServiceTypeID.IServiceTypeID
createServiceTypeID(Namespace namespace, String[] serviceType, String[] protocols)
Create an IServiceTypeID.IServiceTypeID
createServiceTypeID(Namespace namespace, String[] services, String[] scopes, String[] protocols, String namingAuthority)
Create an IServiceTypeID.IServiceTypeID
createServiceTypeID(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_SCOPE
for default. Must not benull
.protocols
- Array containing all protocols orIServiceTypeID.DEFAULT_PROTO
for default. Must not benull
.namingAuthority
- the NamingAuthority orIServiceTypeID.DEFAULT_NA
for 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-null
IServiceTypeID
with 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
-
-