io.sarl.api.naming.name
Class ServiceName
All Superinterfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<T>
class ServiceName
extends SarlName
This class represents a service name.

The components of a service name is:
  • serviceType (mandatory) : the fully qualified name of the service interface for the service implementation to retrieve.
Maven Group Identifier:
io.sarl.sdk
Maven Artifact Identifier:
api.naming
Since:
0.12
Property Summary
Modifier and type Property and description
java.lang.Class<T> serviceType
Field Summary
Modifier and type Field and description
public static val java.lang.String SCHEME
Scheme for services.
Constructor Summary
Constructor and description
new(URI,Class<T>)
Constructor.
Action Summary
Modifier and type Action and description
java.lang.Class<T> getServiceType
Property Details
serviceType
val serviceType : java.lang.Class<T>

This property is an alias for the action: getServiceType

Field Details
SCHEME
public static val SCHEME : java.lang.String = "service"
Scheme for services.
Constructor Details
new(URI,Class<T>)
new(URI,Class<T>)
Constructor.
Parameters:
uri - the uri of the context.
service - the type of service.
Action Details
getServiceType
def getServiceType : java.lang.Class<T>