public class ServiceIdentifier extends Object implements IServiceIdentifier
| Constructor and Description |
|---|
ServiceIdentifier()
Create a new service identifier.
|
ServiceIdentifier(IComponentIdentifier providerid,
Class<?> type,
String servicename,
IResourceIdentifier rid,
String scope)
Create a new service identifier.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Test if an object is equal to this one.
|
IComponentIdentifier |
getProviderId()
Get the service provider identifier.
|
IResourceIdentifier |
getResourceIdentifier()
Get the resource identifier.
|
String |
getScope()
Get the scope.
|
String |
getServiceName()
Get the service name.
|
ClassInfo |
getServiceType()
Get the service type.
|
int |
hashCode()
Get the hashcode.
|
void |
setProviderId(IComponentIdentifier providerid)
Set the providerid.
|
void |
setReourceIdentifier(IResourceIdentifier rid)
Set the resource identifier.
|
void |
setScope(String scope)
Set the scope.
|
void |
setServiceName(String servicename)
Set the servicename.
|
void |
setServiceType(ClassInfo type)
Set the service type.
|
String |
toString()
Get the string representation.
|
public ServiceIdentifier()
public ServiceIdentifier(IComponentIdentifier providerid, Class<?> type, String servicename, IResourceIdentifier rid, String scope)
public IComponentIdentifier getProviderId()
getProviderId in interface IServiceIdentifierpublic void setProviderId(IComponentIdentifier providerid)
providerid - The providerid to set.public ClassInfo getServiceType()
getServiceType in interface IServiceIdentifierpublic void setServiceType(ClassInfo type)
type - The service type.public String getServiceName()
getServiceName in interface IServiceIdentifierpublic void setServiceName(String servicename)
servicename - The servicename to set.public IResourceIdentifier getResourceIdentifier()
getResourceIdentifier in interface IServiceIdentifierpublic void setReourceIdentifier(IResourceIdentifier rid)
rid - The resource identifier.public String getScope()
getScope in interface IServiceIdentifierpublic void setScope(String scope)
scope - The scope to set.public int hashCode()
public boolean equals(Object obj)
Copyright © 2015. All Rights Reserved.