com.ibm.ws.ffdc
Class FFDCConfigurator
java.lang.Object
com.ibm.ws.ffdc.FFDCConfigurator
public class FFDCConfigurator
- extends java.lang.Object
Configurator: Uses a LogProvider configuration to initialize the FFDC service.
The log provider is required to provide a non-null delegate. This delegate
can not be reset.
Method Summary |
static com.ibm.wsspi.logprovider.FFDCFilterService |
getDelegate()
|
static java.io.File |
getFFDCLocation()
|
static TextFileOutputStreamFactory |
getFileOutputStreamFactory()
|
static void |
init(com.ibm.wsspi.logprovider.LogProviderConfig config)
Initialize FFDC (and underlying FFDC service). |
static void |
stop()
Stop the FFDC service (the disabled delegate will be used until
reconfigured). |
static void |
update(java.util.Map<java.lang.String,java.lang.Object> newConfig)
Update FFDC service with new configuration values (based on injection via config
admin). |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FFDC_DIR
public static final java.lang.String FFDC_DIR
- See Also:
- Constant Field Values
FFDC_FILE_NAME
public static final java.lang.String FFDC_FILE_NAME
- See Also:
- Constant Field Values
FFDC_SUMMARY_FILE_NAME
public static final java.lang.String FFDC_SUMMARY_FILE_NAME
- See Also:
- Constant Field Values
FFDC_EXTENSION
public static final java.lang.String FFDC_EXTENSION
- See Also:
- Constant Field Values
FFDCConfigurator
public FFDCConfigurator()
init
public static void init(com.ibm.wsspi.logprovider.LogProviderConfig config)
- Initialize FFDC (and underlying FFDC service).
update
public static void update(java.util.Map<java.lang.String,java.lang.Object> newConfig)
- Update FFDC service with new configuration values (based on injection via config
admin). The parameter map should be modified to match actual values used
(e.g. substitution in case of error).
- Parameters:
newConfig
-
getDelegate
public static com.ibm.wsspi.logprovider.FFDCFilterService getDelegate()
stop
public static void stop()
- Stop the FFDC service (the disabled delegate will be used until
reconfigured).
getFFDCLocation
public static java.io.File getFFDCLocation()
getFileOutputStreamFactory
public static TextFileOutputStreamFactory getFileOutputStreamFactory()
- Returns: