|
|||||||||
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. Any non-framework entity may invoke those operations.
Method Summary | |
---|---|
java.util.List |
getAllAgentsInDirectory()
Get a Vector of descriptions of all agents in the directory. |
java.util.Vector |
getAllAgentsInDomain(java.lang.String domainName)
Get a Vector of descriptions of all of the agents in a domain. |
java.util.Vector |
getAllDomainsInDirectory()
Get a Vector of descriptions of all of the domains in a directory. |
java.util.List |
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 |
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.Vector |
getRootDomains()
Obtain a Vector of the names of the root domains (domains with no parent) |
java.util.Vector |
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 getAllAgentsInDirectory() throws DirectoryFailure
DirectoryFailure
java.util.Vector getAllAgentsInDomain(java.lang.String domainName) throws DirectoryFailure
domainName
- Name of the domain to query
DirectoryFailure
java.util.Vector getAllDomainsInDirectory() throws DirectoryFailure
DirectoryFailure
java.util.List getAllGuardsInDirectory() throws DirectoryFailure
DirectoryFailure
java.util.List 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.Vector getRootDomains() throws DirectoryFailure
DirectoryFailure
java.util.Vector 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 |