Package com.ibm.ws.ffdc
Class FFDCConfigurator
- java.lang.Object
-
- com.ibm.ws.ffdc.FFDCConfigurator
-
public class FFDCConfigurator extends java.lang.ObjectConfigurator: 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.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFFDC_DIRstatic java.lang.StringFFDC_EXTENSIONstatic java.lang.StringFFDC_FILE_NAMEstatic java.lang.StringFFDC_SUMMARY_FILE_NAME
-
Constructor Summary
Constructors Constructor Description FFDCConfigurator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.ibm.wsspi.logprovider.FFDCFilterServicegetDelegate()static java.io.FilegetFFDCLocation()static TextFileOutputStreamFactorygetFileOutputStreamFactory()static voidinit(com.ibm.wsspi.logprovider.LogProviderConfig config)Initialize FFDC (and underlying FFDC service).static voidstop()Stop the FFDC service (the disabled delegate will be used until reconfigured).static voidupdate(java.util.Map<java.lang.String,java.lang.Object> newConfig)Update FFDC service with new configuration values (based on injection via config admin).
-
-
-
Field Detail
-
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
-
-
Method Detail
-
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:
-
-