public class LogConfigReader extends Object implements ServiceListener
LogConfigReader is very Speicific to DSAME.
java.util.logging.config.class System property should point to this class, since LogManager uses this property instantiates this class to load the configuration.
Modifier and Type | Field and Description |
---|---|
static String |
localLogServiceID
Local Log service identifier
|
ADDED, MODIFIED, REMOVED
Constructor and Description |
---|
LogConfigReader()
The constructor loads the configuration from the DS using
DSAME SDK.
|
Modifier and Type | Method and Description |
---|---|
void |
globalConfigChanged(String servName,
String ver,
String frpName,
String servComp,
int type)
This method will be invoked when a service's global configuration data
has been changed.
|
void |
organizationConfigChanged(String servName,
String ver,
String orgName,
String grpName,
String servComp,
int type)
This method will be invoked when a service's organization configuration
data has been changed.
|
void |
schemaChanged(String servName,
String ver)
This method will be invoked when a service's schema has been changed.
|
public static String localLogServiceID
public LogConfigReader() throws IOException
Example1: iplanet-am-logging-backend=FILE \r\n
Example2: iplanet-am-logging-logfields=TIME, DOMAIN, IPADDR, HOSTNAME, DATA, LEVEL, LOGINID \r\n
The input stream hence constructed is converted into a ByteArrayInputStream and is loaded into LogManager.
IOException
public void globalConfigChanged(String servName, String ver, String frpName, String servComp, int type)
ServiceListener
groupName
denote the name
of the configuration grouping (e.g. default) and
serviceComponent
denotes the service's sub-component that
changed (e.g. /NamedPolicy
, /Templates
).globalConfigChanged
in interface ServiceListener
servName
- name of the service.ver
- version of the service.frpName
- name of the configuration grouping.servComp
- name of the service components that changed.type
- change type, i.e., ADDED, REMOVED or MODIFIED.public void organizationConfigChanged(String servName, String ver, String orgName, String grpName, String servComp, int type)
ServiceListener
orgName
,
groupName
and serviceComponent
denotes the
organization name, configuration grouping name and service's
sub-component that are changed respectively.organizationConfigChanged
in interface ServiceListener
servName
- name of the servicever
- version of the serviceorgName
- organization name as DNgrpName
- name of the configuration groupingservComp
- the name of the service components that changedtype
- change type, i.e., ADDED, REMOVED or MODIFIEDpublic void schemaChanged(String servName, String ver)
ServiceListener
schemaChanged
in interface ServiceListener
servName
- name of the servicever
- version of the serviceCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.