public class BusinessTransactionHandler extends Object
| Constructor and Description |
|---|
BusinessTransactionHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBusinessTransactions(javax.ws.rs.core.SecurityContext context,
javax.ws.rs.container.AsyncResponse response,
String tenantId,
List<BusinessTransaction> btxns) |
protected static void |
decodeCorrelationIdentifiers(Set<CorrelationIdentifier> correlations,
String encoded)
This method processes a comma separated list of correlation identifiers, defined as a scope|value pair.
|
protected static void |
decodeProperties(Map<String,String> properties,
String encoded)
This method processes a comma separated list of properties, defined as a name|value pair.
|
void |
getBusinessTransaction(javax.ws.rs.core.SecurityContext context,
javax.ws.rs.container.AsyncResponse response,
String id) |
void |
queryBusinessTransactions(javax.ws.rs.core.SecurityContext context,
javax.ws.rs.container.AsyncResponse response,
String name,
long startTime,
long endTime,
String properties,
String correlations) |
public void addBusinessTransactions(@Context
javax.ws.rs.core.SecurityContext context,
@Suspended
javax.ws.rs.container.AsyncResponse response,
@HeaderParam(value="tenantId")
String tenantId,
List<BusinessTransaction> btxns)
public void getBusinessTransaction(@Context
javax.ws.rs.core.SecurityContext context,
@Suspended
javax.ws.rs.container.AsyncResponse response,
String id)
public void queryBusinessTransactions(@Context
javax.ws.rs.core.SecurityContext context,
@Suspended
javax.ws.rs.container.AsyncResponse response,
String name,
long startTime,
long endTime,
String properties,
String correlations)
protected static void decodeProperties(Map<String,String> properties, String encoded)
properties - The properties mapencoded - The string containing the encoded propertiesprotected static void decodeCorrelationIdentifiers(Set<CorrelationIdentifier> correlations, String encoded)
correlations - The correlation identifier setencoded - The string containing the encoded correlation identifiersCopyright © 2015 Red Hat, Inc.. All rights reserved.