kaos.core.csi.registration
Interface DomainRegistration

All Known Subinterfaces:
Registration
All Known Implementing Classes:
RegistrationImpl

public interface DomainRegistration

Defines the operations to register and deregister entities in the specified domain.


Method Summary
 void deregisterEntityFromDomain(DomainDescription domain, KAoSEntityDescription entityDesc)
          Deregister the entity described by the given KAoSEntityDescription from the specified domain.
 void registerEntityInDomain(DomainDescription domain, KAoSEntityDescription entityDesc)
          Register the entity described by the given KAoSEntityDescription in the specified domain.
 

Method Detail

registerEntityInDomain

void registerEntityInDomain(DomainDescription domain,
                            KAoSEntityDescription entityDesc)
                            throws DirectoryFailure,
                                   AlreadyRegisteredException
Register the entity described by the given KAoSEntityDescription in the specified domain.

Parameters:
domain - DomainDescription describing the domain, in which to register the given entity.
entityDesc - KAoSEntityDescription describes the entity to be registered in the given domain.
Throws:
DirectoryFailure - if the connection to the DS cannot be established.
AlreadyRegisteredException - if the registering entity has been already registered in the the given domain.

deregisterEntityFromDomain

void deregisterEntityFromDomain(DomainDescription domain,
                                KAoSEntityDescription entityDesc)
                                throws DirectoryFailure,
                                       NotRegisteredException
Deregister the entity described by the given KAoSEntityDescription from the specified domain.

Parameters:
domain - DomainDescription describing the domain, from which to deregister the given entity.
entityDesc - KAoSEntityDescription describes the entity to be deregistered from the given domain.
Throws:
DirectoryFailure - if the connection to the DS cannot be established.
NotRegisteredException - if the deregistering entity has not been registered in the the given domain.