|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.common.util.logging.LoggingConfigImpl
@Service @Contract public class LoggingConfigImpl
Implementation of Logging Commands
| Constructor Summary | |
|---|---|
LoggingConfigImpl()
|
|
| Method Summary | |
|---|---|
boolean |
copyLoggingPropertiesFile(File targetDir)
|
String |
createZipFile(String sourceDir)
|
void |
deleteLoggingProperties(Map<String,String> properties)
|
void |
deleteLoggingProperties(Map<String,String> properties,
String targetConfigName)
|
Map<String,String> |
getDefaultLoggingProperties()
|
String |
getLoggingFileDetails()
|
String |
getLoggingFileDetails(String targetConfigName)
|
Map<String,String> |
getLoggingProperties()
|
Map<String,String> |
getLoggingProperties(String targetConfigName)
|
void |
postConstruct()
Constructor |
String |
setLoggingProperty(String propertyName,
String propertyValue)
setLoggingProperty() sets an existing propertyName to be propertyValue if the property doesn't exist the property will be added. |
String |
setLoggingProperty(String propertyName,
String propertyValue,
String targetConfigName)
setLoggingProperty() sets an existing propertyName to be propertyValue if the property doesn't exist the property will be added. |
void |
setupConfigDir(File file,
File installDir)
|
Map<String,String> |
updateLoggingProperties(Map<String,String> properties)
|
Map<String,String> |
updateLoggingProperties(Map<String,String> properties,
String targetConfigName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoggingConfigImpl()
| Method Detail |
|---|
public void postConstruct()
postConstruct in interface org.jvnet.hk2.component.PostConstruct
public void setupConfigDir(File file,
File installDir)
public boolean copyLoggingPropertiesFile(File targetDir)
throws IOException
IOException
public String setLoggingProperty(String propertyName,
String propertyValue)
throws IOException
setLoggingProperty in interface LoggingConfigpropertyName - Name of the property to setpropertyValue - Value to set
IOException
public String setLoggingProperty(String propertyName,
String propertyValue,
String targetConfigName)
throws IOException
setLoggingProperty in interface LoggingConfigpropertyName - Name of the property to setpropertyValue - Value to set
IOException
public Map<String,String> updateLoggingProperties(Map<String,String> properties)
throws IOException
updateLoggingProperties in interface LoggingConfigIOException
public Map<String,String> updateLoggingProperties(Map<String,String> properties,
String targetConfigName)
throws IOException
updateLoggingProperties in interface LoggingConfigIOException
public Map<String,String> getLoggingProperties(String targetConfigName)
throws IOException
getLoggingProperties in interface LoggingConfigIOException
public Map<String,String> getLoggingProperties()
throws IOException
getLoggingProperties in interface LoggingConfigIOException
public void deleteLoggingProperties(Map<String,String> properties)
throws IOException
deleteLoggingProperties in interface LoggingConfigIOException
public void deleteLoggingProperties(Map<String,String> properties,
String targetConfigName)
throws IOException
deleteLoggingProperties in interface LoggingConfigIOException
public String createZipFile(String sourceDir)
throws IOException
createZipFile in interface LoggingConfigIOException
public String getLoggingFileDetails()
throws IOException
IOException
public String getLoggingFileDetails(String targetConfigName)
throws IOException
IOException
public Map<String,String> getDefaultLoggingProperties()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||