|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A platform entity will grab a RMIVerifiableDirectoryProxy to communicate to the VerifiableDirectoryService. The proxy is coded to that interface. It has the new Verifiable register, deregister, and modify methods, but also has the original AgentDirectoryService register, deregister and modify, search and createAgentDescription methods.
Since the RMIVerifiableDirectoryService
interface has the same methods
as the AgentDirectoryService
intergace, this interface will just extend
AgentDirectoryService
.
Field Summary | |
---|---|
static java.lang.String[] |
DIRECTORY_SERVICE_COLUMN_NAMES
Defined the column names and type for the table the Directory Service will persist to. |
static java.lang.String[] |
DIRECTORY_SERVICE_COLUMN_TYPES
|
static java.lang.String |
PUBLIC_KEY
Key for JAS Agent Description attributes added by ABLE. |
static java.lang.String |
SERVICE_PATH
The well-known service path and type. |
static java.lang.String |
SERVICE_TYPE
|
Method Summary | |
---|---|
void |
deregister(javax.agent.service.directory.AgentDescription desc,
AbleSecureKey key)
Deregister theAgentDescription from the VerifiableAgentDirectoryService. |
void |
modify(javax.agent.service.directory.AgentDescription desc,
AbleSecureKey key)
Modify theAgentDescription in the VerifiableAgentDirectoryService. |
void |
register(javax.agent.service.directory.AgentDescription desc,
AbleSecureKey key)
Register theAgentDescription to the VerifiableAgentDirectoryService. |
Methods inherited from interface javax.agent.service.directory.AgentDirectoryService |
---|
createAgentDescription, deregister, modify, register, search, search |
Methods inherited from interface javax.agent.service.Service |
---|
getServiceProperties, setServiceProperties |
Methods inherited from interface com.ibm.able.platform.AblePlatformService |
---|
terminateService |
Methods inherited from interface com.ibm.able.platform.AblePlatformServiceEventGenerator |
---|
addAblePlatformServiceEventListener, getAblePlatformServiceEventListeners, removeAblePlatformServiceEventListener |
Field Detail |
public static final java.lang.String SERVICE_PATH
public static final java.lang.String SERVICE_TYPE
public static final java.lang.String PUBLIC_KEY
public static final java.lang.String[] DIRECTORY_SERVICE_COLUMN_NAMES
public static final java.lang.String[] DIRECTORY_SERVICE_COLUMN_TYPES
Method Detail |
public void register(javax.agent.service.directory.AgentDescription desc, AbleSecureKey key) throws javax.agent.service.directory.AlreadyRegisteredException, javax.agent.service.directory.DirectoryFailure
theAgentDescription
to the VerifiableAgentDirectoryService.
This method should only be called when the RMIVerifiableDirectorySystem is running in a secure platform.
An agent is only allowed to register its own agent description.
If successfully registered, all registered listeners will be notified of this newly registered agent description.
theAgentDescription
- The agent description to be registered.
key
- The AbleSecureKey used to secure the communication.
javax.agent.service.directory.AlreadyRegisteredException
- If theAgentDescription
is already registered.
javax.agent.service.directory.DirectoryFailure
- If the platform is not running secure.
If the agent description that is to be registered does not belong to the agent trying to register it.
public void deregister(javax.agent.service.directory.AgentDescription desc, AbleSecureKey key) throws javax.agent.service.directory.NotRegisteredException, javax.agent.service.directory.DirectoryFailure
theAgentDescription
from the VerifiableAgentDirectoryService.
This method should only be called when the RMIVerifiableDirectorySystem is running in a secure platform.
An agent is only allowed to deregister its own agent description.
If successfully deregistered, all registered listeners will be notified of this deregistered agent description.
theAgentDescription
- The agent description to be deregistered.
key
- The AbleSecureKey used to secure the communication.
javax.agent.service.directory.NotRegisteredException
- If theAgentDescription
is not currently registered.
javax.agent.service.directory.DirectoryFailure
- If the platform is not running secure.
If the agent description that is to be deregistered does not belong to the agent trying to deregister it.
public void modify(javax.agent.service.directory.AgentDescription desc, AbleSecureKey key) throws javax.agent.service.directory.NotRegisteredException, javax.agent.service.directory.DirectoryFailure
theAgentDescription
in the VerifiableAgentDirectoryService.
This method should only be called when the RMIVerifiableDirectorySystem is running in a secure platform.
An agent is only allowed to modify its own agent description.
If successfully modified, all registered listeners will be notified of this changed agent description.
theAgentDescription
- The agent description to be modified.
key
- The AbleSecureKey used to secure the communication.
javax.agent.service.directory.NotRegisteredException
- If theAgentDescription
is not currently registered.
javax.agent.service.directory.DirectoryFailure
- If the platform is not running secure.
If the agent description that is to be modified does not belong to the agent trying to modify it.
|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |