public interface DomainManager
Modifier and Type | Method and Description |
---|---|
void |
deregister(String id)
Deregister with the domain being managed.
|
boolean |
isAnythingRegistered()
Checks if anything is currently registered with the domain being managed.
|
boolean |
isRegistered(String id)
Checks if a given Id is registered.
|
void |
register(String id,
RoleChangeHandler roleChangeHandler)
Register with the domain being managed.
|
void register(String id, RoleChangeHandler roleChangeHandler)
Ids must be unique to this manager. Attempting to register the same Id twice will result in an exception.
The methods specified by the RoleChangeHandler
passed to this method must not block.
id
- the Id to registerroleChangeHandler
- the role change handler to registervoid deregister(String id)
id
- the Id to registerboolean isRegistered(String id)
id
- the Id to checkboolean isAnythingRegistered()
Copyright © 2021. All rights reserved.