|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RMIDomainDirectoryService
Defines the operations that can be invoked via RMI on a domain directory service.
Method Summary | |
---|---|
void |
addPolicies(java.util.Vector policies)
Each element of the Vector is an instance of a Msg class specifying an individual policy fields |
void |
addPolicy(Msg policy)
|
void |
changePolicies(java.util.Vector policies)
|
void |
changePolicy(Msg policy)
|
void |
deregister(AgentDescription desc)
Remove the AgentDescription from the collection of domain entities registered in the directory. |
java.util.Map |
getDomainStructure()
Obtain a Map containing the structure of the domain. |
java.util.Vector |
getPolicies()
Obtain an Vector over all policies. |
java.util.Map |
getPoliciesByEntities()
|
java.util.Vector |
getPoliciesForEntity(java.lang.String id)
|
void |
modify(AgentDescription desc)
Replace the AgentDescription in the collection of registered domain entities with the new AgentDescription. |
void |
register(AgentDescription desc)
Add the AgentDescription to the collection of domain entities registered in the directory. |
void |
removePolicies(java.util.Vector policies)
|
void |
removePolicy(Msg policy)
|
AgentDescription[] |
search(AgentDescription desc)
Search the collection of AgentDescriptions for all matching descriptions. |
AgentDescription[] |
search(AgentDescription desc,
int maxResults)
Search the collection of AgentDescriptions for all matching descriptions. |
Method Detail |
---|
void register(AgentDescription desc) throws java.rmi.RemoteException, AlreadyRegisteredException, DirectoryFailure
desc
- the AgentDescription to add.
AlreadyRegisteredException
- if the AgentDescription is already
registered.
DirectoryFailure
- if the directory service is
not available.
java.rmi.RemoteException
- if communication-related exception occursvoid deregister(AgentDescription desc) throws java.rmi.RemoteException, NotRegisteredException, DirectoryFailure
desc
- the AgentDescription to remove.
NotRegisteredException
- if the AgentDescription is not
registered.
DirectoryFailure
- if the directory service is
not available.
java.rmi.RemoteException
- if communication-related exception occurs.void modify(AgentDescription desc) throws java.rmi.RemoteException, NotRegisteredException, DirectoryFailure
desc
- the new AgentDescription to replace the old one.
NotRegisteredException
- if the AgentDescription is not
registered.
DirectoryFailure
- if the directory service is
not available.
java.rmi.RemoteException
- if communication-related exception occurs.AgentDescription[] search(AgentDescription desc) throws java.rmi.RemoteException, SearchException, DirectoryFailure
desc
- the AgentDescription to use for matching.
SearchException
- if an exception occurs during searching.
DirectoryFailure
- if the directory service is unavailable.
java.rmi.RemoteException
- if communication-related exception occurs.AgentDescription[] search(AgentDescription desc, int maxResults) throws java.rmi.RemoteException, SearchException, DirectoryFailure
desc
- the AgentDescription to use for matching.maxResults
- the limit of returned results.
SearchException
- if an exception occurs during searching.
DirectoryFailure
- if the directory service is
not available.
java.rmi.RemoteException
- if communication-related exception occurs.void addPolicy(Msg policy) throws java.rmi.RemoteException
java.rmi.RemoteException
void addPolicies(java.util.Vector policies) throws java.rmi.RemoteException
policies
- The Vector of policies to be added to the collection of all policies.
java.rmi.RemoteException
void removePolicy(Msg policy) throws java.rmi.RemoteException
java.rmi.RemoteException
void removePolicies(java.util.Vector policies) throws java.rmi.RemoteException
java.rmi.RemoteException
void changePolicy(Msg policy) throws java.rmi.RemoteException
java.rmi.RemoteException
void changePolicies(java.util.Vector policies) throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.Vector getPolicies() throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.Vector getPoliciesForEntity(java.lang.String id) throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.Map getPoliciesByEntities() throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.Map getDomainStructure() throws java.rmi.RemoteException
java.rmi.RemoteException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |