Class ServiceIDFactory
- java.lang.Object
- 
- org.eclipse.ecf.discovery.identity.ServiceIDFactory
 
- 
- All Implemented Interfaces:
- IServiceIDFactory
 
 public class ServiceIDFactory extends Object implements IServiceIDFactory ServiceIDFactory implementation.
- 
- 
Constructor SummaryConstructors Constructor Description ServiceIDFactory()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete 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[] serviceType, String[] scopes, String[] protocols, String namingAuthority)Create an IServiceTypeID.IServiceTypeIDcreateServiceTypeID(Namespace namespace, IServiceTypeID aServiceTypeId)Create an IServiceTypeID.static IServiceIDFactorygetDefault()
 
- 
- 
- 
Method Detail- 
getDefaultpublic static IServiceIDFactory getDefault() 
 - 
createServiceTypeIDpublic IServiceTypeID createServiceTypeID(Namespace namespace, String serviceType) Description copied from interface:IServiceIDFactoryCreate an IServiceTypeID. Creates an immutable IServiceTypeID.- Specified by:
- createServiceTypeIDin interface- IServiceIDFactory
- Parameters:
- namespace- the Namespace instance to create the service ID with. Must not be- null.
- serviceType- The service type. Must not be- null.
- Returns:
- IServiceTypeID created. Will not be null.
- Since:
- 3.0
- See Also:
- IServiceIDFactory.createServiceTypeID(org.eclipse.ecf.core.identity.Namespace, java.lang.String[], java.lang.String[], java.lang.String[], java.lang.String)
 
 - 
createServiceTypeIDpublic IServiceTypeID createServiceTypeID(Namespace namespace, String[] serviceType) Description copied from interface:IServiceIDFactoryCreate an IServiceTypeID. Creates an immutable IServiceTypeID.- Specified by:
- createServiceTypeIDin interface- IServiceIDFactory
- Parameters:
- 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.
- Returns:
- IServiceTypeID created. Will not be null.
- Since:
- 3.0
- See Also:
- IServiceIDFactory.createServiceTypeID(org.eclipse.ecf.core.identity.Namespace, java.lang.String[], java.lang.String[], java.lang.String[], java.lang.String)
 
 - 
createServiceTypeIDpublic 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 interface- IServiceIDFactory
- Parameters:
- 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_SCOPEfor default. Must not be- null.
- protocols- Array containing all protocols or- IServiceTypeID.DEFAULT_PROTOfor default. Must not be- null.
- namingAuthority- the NamingAuthority or- IServiceTypeID.DEFAULT_NAfor default. Must not be- null.
- Returns:
- IServiceTypeID created. Will not be null.
- Since:
- 3.0
- See Also:
- IServiceIDFactory.createServiceTypeID(org.eclipse.ecf.core.identity.Namespace, java.lang.String[], java.lang.String[], java.lang.String[], java.lang.String)
 
 - 
createServiceTypeIDpublic 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 interface- IServiceIDFactory
- Parameters:
- 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.
- Returns:
- IServiceTypeID created. Will not be null.
- Since:
- 3.0
- See Also:
- IServiceIDFactory.createServiceTypeID(org.eclipse.ecf.core.identity.Namespace, java.lang.String[], java.lang.String[])
 
 - 
createServiceTypeIDpublic IServiceTypeID createServiceTypeID(Namespace namespace, IServiceTypeID aServiceTypeId) Description copied from interface:IServiceIDFactoryCreate an IServiceTypeID. Creates an immutable IServiceTypeID from a non-nullIServiceTypeIDwith a differentNamespace.- Specified by:
- createServiceTypeIDin interface- IServiceIDFactory
- Parameters:
- namespace- the Namespace instance to create the service type ID with. Must not be- null.
- aServiceTypeId- service type id. Must not be- null.
- Returns:
- IServiceTypeID created. Will not be null.
- Since:
- 3.0
- See Also:
- IServiceIDFactory.createServiceTypeID(org.eclipse.ecf.core.identity.Namespace, org.eclipse.ecf.discovery.identity.IServiceTypeID)
 
 
- 
 
-