io.sarl.api.naming.namespace
Interface INamespaceFinder<N, O>
Type Parameters:
N - the type of name that is supported by this finder.
O - the type of object that is searching for.
All Known Implementing Classes:
AbstractNamespaceFinder<N,O>, AgentNamespaceFinder, BehaviorNamespaceFinder, ContextNamespaceFinder, ServiceNamespaceFinder, SkillNamespaceFinder, SpaceNamespaceFinder
interface INamespaceFinder<N, O>
A tool that is able to find a specific type of object from a name into the SRE. Each type of element (agent, behavior, etc.) has a specific and dediciated implementation of finder. Of course, the finder's implementation depends strongly on the SRE implementation itself.
Parameters:
<N> - the type of name that is supported by this finder.
<O> - the type of object that is searching for.
Maven Group Identifier:
io.sarl.sdk
Maven Artifact Identifier:
api.naming
Since:
0.12
Property Summary
Modifier and type Property and description
java.lang.String scheme
Replies the name scheme supported by this finder.
Action Summary
Modifier and type Action and description
abstract O find(N)
Find and replies the object with the given name.
abstract java.lang.String getScheme
Replies the name scheme supported by this finder.
Property Details
scheme
val scheme : java.lang.String
Replies the name scheme supported by this finder.

This property is an alias for the action: getScheme

Action Details
find(N)
def find(N) : O
Find and replies the object with the given name.
Parameters:
name - the name of the object to search for.
Returns:
the object, or null if the object is not found.
getScheme
def getScheme : java.lang.String
Replies the name scheme supported by this finder.