use of org.apache.qpid.server.model.ConfigurationExtractor in project qpid-broker-j by apache.
the class AbstractVirtualHost method extractConfig.
@Override
public Map<String, Object> extractConfig(final boolean includeSecureAttributes) {
return doSync(doOnConfigThread(new Task<ListenableFuture<Map<String, Object>>, RuntimeException>() {
@Override
public ListenableFuture<Map<String, Object>> execute() throws RuntimeException {
ConfigurationExtractor configExtractor = new ConfigurationExtractor();
Map<String, Object> config = configExtractor.extractConfig(AbstractVirtualHost.this, includeSecureAttributes);
return Futures.immediateFuture(config);
}
@Override
public String getObject() {
return AbstractVirtualHost.this.toString();
}
@Override
public String getAction() {
return "extractConfig";
}
@Override
public String getArguments() {
return "includeSecureAttributes=" + String.valueOf(includeSecureAttributes);
}
}));
}
Aggregations