public interface CoreService
| Modifier and Type | Field and Description |
|---|---|
static ProviderId |
CORE_PROVIDER_ID |
| Modifier and Type | Method and Description |
|---|---|
ApplicationId |
getAppId(Short id)
Returns an existing application id from a given id.
|
Set<ApplicationId> |
getAppIds()
Returns the set of currently registered application identifiers.
|
IdGenerator |
getIdGenerator(String topic)
Returns an id generator for a given topic.
|
ApplicationId |
registerApplication(String identifier)
Registers a new application by its name, which is expected
to follow the reverse DNS convention, e.g.
|
Version |
version()
Returns the product version.
|
static final ProviderId CORE_PROVIDER_ID
Version version()
Set<ApplicationId> getAppIds()
ApplicationId getAppId(Short id)
id - the short value of the idApplicationId registerApplication(String identifier)
org.flying.circus.appidentifier - string identifierIdGenerator getIdGenerator(String topic)
topic - topic identifiedCopyright © 2015. All rights reserved.