public final class PropertiesBasedTraceFilterConfiguration extends Object implements TraceFilterConfiguration
PropertyChain.
The default property chain may be obtained by the loadPropertyChain() method.TraceFilterConfiguration.Channel| Constructor and Description |
|---|
PropertiesBasedTraceFilterConfiguration(PropertyChain propertyChain) |
PropertiesBasedTraceFilterConfiguration(PropertyChain propertyChain,
String profileName) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
filterDeniedParams(Map<String,String> unfiltered,
TraceFilterConfiguration.Channel channel) |
int |
generatedInvocationIdLength() |
int |
generatedSessionIdLength() |
static PropertyChain |
loadPropertyChain()
Loads a layered property chain based on:
System properties
merged entries from all
/META-INF/Builder.properties files on the classpath (loaded in undefined order)
merged entries from all /META-INF/Builder.default.properties files on the classpath (loaded in undefined order)
|
boolean |
shouldGenerateInvocationId() |
boolean |
shouldGenerateSessionId() |
boolean |
shouldProcessContext(TraceFilterConfiguration.Channel channel) |
boolean |
shouldProcessParam(String paramName,
TraceFilterConfiguration.Channel channel) |
public PropertiesBasedTraceFilterConfiguration(PropertyChain propertyChain)
public PropertiesBasedTraceFilterConfiguration(PropertyChain propertyChain, String profileName)
public static PropertyChain loadPropertyChain()
/META-INF/Builder.properties files on the classpath (loaded in undefined order)/META-INF/Builder.default.properties files on the classpath (loaded in undefined order)public boolean shouldProcessParam(String paramName, TraceFilterConfiguration.Channel channel)
shouldProcessParam in interface TraceFilterConfigurationpublic boolean shouldProcessContext(TraceFilterConfiguration.Channel channel)
shouldProcessContext in interface TraceFilterConfigurationpublic boolean shouldGenerateInvocationId()
shouldGenerateInvocationId in interface TraceFilterConfigurationpublic int generatedInvocationIdLength()
generatedInvocationIdLength in interface TraceFilterConfigurationpublic boolean shouldGenerateSessionId()
shouldGenerateSessionId in interface TraceFilterConfigurationpublic int generatedSessionIdLength()
generatedSessionIdLength in interface TraceFilterConfigurationpublic Map<String,String> filterDeniedParams(Map<String,String> unfiltered, TraceFilterConfiguration.Channel channel)
filterDeniedParams in interface TraceFilterConfigurationCopyright © 2019. All rights reserved.