|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DomainRegistration
Defines the operations to register and deregister entities in the specified domain.
| Method Summary | |
|---|---|
kaos.core.service.directory.KAoSEntityDescription |
deregisterEntityFromDomain(kaos.core.service.directory.DomainDescription domain,
kaos.core.service.directory.KAoSEntityDescription entityDesc)
Deregister the entity described by the given KAoSEntityDescription from the specified domain. |
void |
deregisterEntityHostingEnv(kaos.core.service.directory.EntityHostEnvDescription hostEnvDescription)
Deregister the entity hosting environment described by the given EntityHostEnvDescription from the KAoS Directory Service. |
void |
registerDomain(java.lang.String domainName)
Register domain with the given name in the KAoS Directory Service. |
void |
registerEntityHostingEnv(kaos.core.service.directory.EntityHostEnvDescription eheDescription,
boolean guarded,
boolean replace)
Register the entity hosting environment described by the given EntityHostEnvDescription in the KAoS Directory Service. |
kaos.core.service.directory.KAoSEntityDescription |
registerEntityInDomain(kaos.core.service.directory.DomainDescription domain,
kaos.core.service.directory.KAoSEntityDescription entityDesc)
Register the entity described by the given KAoSEntityDescription in the specified domain. |
| Method Detail |
|---|
void registerDomain(java.lang.String domainName)
throws DirectoryFailure,
AlreadyRegisteredException
domainName - String containing the name of domain to register.
DirectoryFailure - if the connection to the DS cannot be established.
AlreadyRegisteredException - if the registering domain has been already registered in the DS
kaos.core.service.directory.KAoSEntityDescription registerEntityInDomain(kaos.core.service.directory.DomainDescription domain,
kaos.core.service.directory.KAoSEntityDescription entityDesc)
throws DirectoryFailure,
AlreadyRegisteredException
domain - DomainDescription describing the domain, in which to register the given entity.entityDesc - KAoSEntityDescription describes the entity to be registered in the given domain.
DirectoryFailure - if the connection to the DS cannot be established.
AlreadyRegisteredException - if the registering entity has been already registered in the the given domain.
kaos.core.service.directory.KAoSEntityDescription deregisterEntityFromDomain(kaos.core.service.directory.DomainDescription domain,
kaos.core.service.directory.KAoSEntityDescription entityDesc)
throws DirectoryFailure,
NotRegisteredException
domain - DomainDescription describing the domain, from which to deregister the given entity.entityDesc - KAoSEntityDescription describes the entity to be deregistered from the given domain.
DirectoryFailure - if the connection to the DS cannot be established.
NotRegisteredException - if the deregistering entity has not been registered in the the given domain.
void registerEntityHostingEnv(kaos.core.service.directory.EntityHostEnvDescription eheDescription,
boolean guarded,
boolean replace)
throws DirectoryFailure,
AlreadyRegisteredException,
kaos.policy.guard.GuardInstantiationException
eheDescription - EntityHostEnvDescription describes the hosting environment for agents and guards.guarded - boolean indicating the guarded/unguarded status for the environment. If the hosted environemnt is to be guarded, the implementation of this method will
instantiate a guard, or check if a guard already exists and proceed with the registration via the guard.replace - boolean indicating whether to replace existing EntityHostEnvDescription.
DirectoryFailure - if the connection to the DS cannot be established.
AlreadyRegisteredException - if the registering hosting environment has been already registered in the DS (if the replace = false and there is already registration for
the specified EntityHostEnvDescription).
kaos.policy.guard.GuardInstantiationException
void deregisterEntityHostingEnv(kaos.core.service.directory.EntityHostEnvDescription hostEnvDescription)
throws DirectoryFailure,
NotRegisteredException
hostEnvDescription - EntityHostEnvDescription of the entity hosting environment to be deregistered.
DirectoryFailure - if the connection to the DS cannot be established.
NotRegisteredException - if the entity to be deregistered has not been registered in the DS.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||