|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ecf.discovery.identity.ServiceIDFactory
public class ServiceIDFactory
ServiceIDFactory implementation.
Constructor Summary | |
---|---|
ServiceIDFactory()
|
Method Summary | |
---|---|
IServiceTypeID |
createServiceTypeID(Namespace namespace,
IServiceTypeID aServiceTypeId)
Create an IServiceTypeID. |
IServiceTypeID |
createServiceTypeID(Namespace namespace,
java.lang.String serviceType)
Create an IServiceTypeID. |
IServiceTypeID |
createServiceTypeID(Namespace namespace,
java.lang.String[] serviceType)
Create an IServiceTypeID. |
IServiceTypeID |
createServiceTypeID(Namespace namespace,
java.lang.String[] serviceType,
java.lang.String[] protocols)
Create an IServiceTypeID. |
IServiceTypeID |
createServiceTypeID(Namespace namespace,
java.lang.String[] serviceType,
java.lang.String[] scopes,
java.lang.String[] protocols,
java.lang.String namingAuthority)
Create an IServiceTypeID. |
static IServiceIDFactory |
getDefault()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceIDFactory()
Method Detail |
---|
public static IServiceIDFactory getDefault()
public IServiceTypeID createServiceTypeID(Namespace namespace, java.lang.String serviceType)
IServiceIDFactory
createServiceTypeID
in interface IServiceIDFactory
namespace
- the Namespace instance to create the service ID with. Must not
be null
.serviceType
- The service type. Must not be null
.
null
.IServiceIDFactory.createServiceTypeID(org.eclipse.ecf.core.identity.Namespace,
java.lang.String[], java.lang.String[], java.lang.String[],
java.lang.String)
public IServiceTypeID createServiceTypeID(Namespace namespace, java.lang.String[] serviceType)
IServiceIDFactory
createServiceTypeID
in interface IServiceIDFactory
namespace
- the Namespace instance to create the service ID with. Must not
be null
.serviceType
- Array containing the ordered naming hierarchy from 0...n. Must
not be null
.
null
.IServiceIDFactory.createServiceTypeID(org.eclipse.ecf.core.identity.Namespace,
java.lang.String[], java.lang.String[], java.lang.String[],
java.lang.String)
public IServiceTypeID createServiceTypeID(Namespace namespace, java.lang.String[] serviceType, java.lang.String[] scopes, java.lang.String[] protocols, java.lang.String namingAuthority)
IServiceIDFactory
createServiceTypeID
in interface IServiceIDFactory
namespace
- the Namespace instance to create the service ID with. Must not
be null
.serviceType
- Array containing the ordered naming hierarchy from 0...n. Must
not be null
.scopes
- Array containing all scopes or
IServiceTypeID.DEFAULT_SCOPE
for default. Must not be
null
.protocols
- Array containing all protocols or
IServiceTypeID.DEFAULT_PROTO
for default. Must not be
null
.namingAuthority
- the NamingAuthority or IServiceTypeID.DEFAULT_NA
for
default. Must not be null
.
null
.IServiceIDFactory.createServiceTypeID(org.eclipse.ecf.core.identity.Namespace,
java.lang.String[], java.lang.String[], java.lang.String[],
java.lang.String)
public IServiceTypeID createServiceTypeID(Namespace namespace, java.lang.String[] serviceType, java.lang.String[] protocols)
IServiceIDFactory
IServiceTypeID.DEFAULT_NA
createServiceTypeID
in interface IServiceIDFactory
namespace
- the Namespace instance to create the service ID with. Must not
be null
.serviceType
- Array containing the ordered naming hierarchy from 0...n. Must
not be null
.protocols
- Array containing the protocols. Must not be null
.
null
.IServiceIDFactory.createServiceTypeID(org.eclipse.ecf.core.identity.Namespace,
java.lang.String[], java.lang.String[])
public IServiceTypeID createServiceTypeID(Namespace namespace, IServiceTypeID aServiceTypeId)
IServiceIDFactory
null
IServiceTypeID
with a different
Namespace
.
createServiceTypeID
in interface IServiceIDFactory
namespace
- the Namespace instance to create the service type ID with.
Must not be null
.aServiceTypeId
- service type id. Must not be null
.
null
.IServiceIDFactory.createServiceTypeID(org.eclipse.ecf.core.identity.Namespace,
org.eclipse.ecf.discovery.identity.IServiceTypeID)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |