|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DomainDirectoryService
Defines the operations that can be invoked on a public domain directory service.
Method Summary | |
---|---|
java.util.List<AgentDescription> |
getAllAgentsInDirectory()
Get a Vector of descriptions of all agents in the directory. |
java.util.List<AgentDescription> |
getAllAgentsInDomain(java.lang.String domainName)
Get a Vector of descriptions of all of the agents in a domain. |
java.util.List<DomainDescription> |
getAllDomainsInDirectory()
Get a Vector of descriptions of all of the domains in a directory. |
java.util.List<DomainDescription> |
getAllGuardsInDirectory()
Get a Vector of descriptions of all guards in the directory. |
DomainDescription |
getDomainDescription(java.lang.String domainName)
Get the description of a domain |
java.util.List<DomainDescription> |
getDomainDescriptionsForGuard(java.lang.String guardGUID)
Obtain a List containing DomainDescriptions of all domains the guard, whose GUID is specified, registered in. |
java.util.Map |
getDomainStructure(java.lang.String domainName)
Obtain a Map containing the structure of a domain. |
java.util.List<java.lang.String> |
getRootDomains()
Obtain a Vector of the names of the root domains (domains with no parent) |
java.util.List<java.lang.String> |
getSubdomains(java.lang.String domainName)
Obtain a Vector of the names of subdomains of a particular domain (returns immediate children only) |
boolean |
isEntityInDomain(java.lang.String domainName,
java.lang.String id)
Search for the domain entity with the specified id. |
void |
removeExecEnv(java.lang.String execEnvID)
Remove ExecutionEnvironment with the specified ID from the domain structure. |
Method Detail |
---|
boolean isEntityInDomain(java.lang.String domainName, java.lang.String id) throws DirectoryFailure
domainName
- The name of the domain to queryid
- The id of an entity to be searched in this domain's directory.
java.lang.NullPointerException
- if the id is null.
DirectoryFailure
java.util.List<AgentDescription> getAllAgentsInDirectory() throws DirectoryFailure
DirectoryFailure
java.util.List<AgentDescription> getAllAgentsInDomain(java.lang.String domainName) throws DirectoryFailure
domainName
- Name of the domain to query
DirectoryFailure
java.util.List<DomainDescription> getAllDomainsInDirectory() throws DirectoryFailure
DirectoryFailure
java.util.List<DomainDescription> getAllGuardsInDirectory() throws DirectoryFailure
DirectoryFailure
java.util.List<DomainDescription> getDomainDescriptionsForGuard(java.lang.String guardGUID) throws DirectoryFailure
guardGUID
- GUID of the guard registered in all domains, whose descriptions are requested
DirectoryFailure
java.util.Map getDomainStructure(java.lang.String domainName) throws DirectoryFailure
domainName
- name of the domain to map
DirectoryFailure
void removeExecEnv(java.lang.String execEnvID) throws DirectoryFailure
DirectoryFailure
java.util.List<java.lang.String> getRootDomains() throws DirectoryFailure
DirectoryFailure
java.util.List<java.lang.String> getSubdomains(java.lang.String domainName) throws DirectoryFailure
DirectoryFailure
DomainDescription getDomainDescription(java.lang.String domainName) throws DirectoryFailure
domainName
- the name of the domain
DirectoryFailure
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |