@JsType(namespace="hal.meta") public class MetadataProcessor extends Object
MetadataRegistry. If you're sure the metadata is present, use the MetadataRegistry instead.| Modifier and Type | Class and Description |
|---|---|
static interface |
MetadataProcessor.JsMetadataCallback |
static interface |
MetadataProcessor.MetadataCallback |
| Constructor and Description |
|---|
MetadataProcessor(Environment environment,
Dispatcher dispatcher,
StatementContext statementContext,
RequiredResources requiredResources,
MetadataRegistry metadataRegistry,
SecurityContextDatabase securityContextDatabase,
SecurityContextRegistry securityContextRegistry,
ResourceDescriptionDatabase resourceDescriptionDatabase,
ResourceDescriptionRegistry resourceDescriptionRegistry,
WorkerChannel workerChannel) |
| Modifier and Type | Method and Description |
|---|---|
void |
jsLookup(Object template,
MetadataProcessor.JsMetadataCallback callback)
Reads the metadata for the template and passes it to the callback.
|
void |
lookup(AddressTemplate template,
Progress progress,
MetadataProcessor.MetadataCallback callback) |
void |
process(String id,
Progress progress,
com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) |
@Inject @JsIgnore public MetadataProcessor(Environment environment, Dispatcher dispatcher, StatementContext statementContext, RequiredResources requiredResources, MetadataRegistry metadataRegistry, SecurityContextDatabase securityContextDatabase, SecurityContextRegistry securityContextRegistry, ResourceDescriptionDatabase resourceDescriptionDatabase, ResourceDescriptionRegistry resourceDescriptionRegistry, WorkerChannel workerChannel)
@JsIgnore public void process(String id, Progress progress, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
@JsIgnore public void lookup(AddressTemplate template, Progress progress, MetadataProcessor.MetadataCallback callback)
@JsMethod(name="lookup") public void jsLookup(Object template, MetadataProcessor.JsMetadataCallback callback)
template - The address template to lookup.callback - The callback which receives the metadata.Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.