public interface MetadataServiceApp extends ServiceApp
The methods of this interface are calls by the metadata service application holder to its client, the metadata service application.
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getEntityName()
Gets the entity name.
|
boolean |
onNewMetadata(Metadata metadata)
Called on new metadata.
|
boolean |
setUp(MetadataService service)
Sets up the application.
|
createStats, onAlert, onEvent, onServicesNotReady, onServicesReady, onSignal, setUp, start, stop, tearDown@Nonnull @CheckReturnValue Optional<String> getEntityName()
@CheckReturnValue
boolean onNewMetadata(@Nonnull
Metadata metadata)
Overidden as needed.
Called by the framework and by overriding classes at the end of the override.
metadata - The new metadata.@CheckReturnValue
boolean setUp(@Nonnull
MetadataService service)
Overidden as needed.
Called by the framework and by overriding classes at the beginning of the override.
service - The service holding this application.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.