|
||||||||||
| 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(java.io.File targetDir)
|
java.lang.String |
createZipFile(java.lang.String sourceDir)
|
void |
deleteLoggingProperties(java.util.Map<java.lang.String,java.lang.String> properties)
|
void |
deleteLoggingProperties(java.util.Map<java.lang.String,java.lang.String> properties,
java.lang.String targetConfigName)
|
java.util.Map<java.lang.String,java.lang.String> |
getDefaultLoggingProperties()
|
java.lang.String |
getLoggingFileDetails()
|
java.lang.String |
getLoggingFileDetails(java.lang.String targetConfigName)
|
java.util.Map<java.lang.String,java.lang.String> |
getLoggingProperties()
|
java.util.Map<java.lang.String,java.lang.String> |
getLoggingProperties(java.lang.String targetConfigName)
|
void |
postConstruct()
Constructor |
java.lang.String |
setLoggingProperty(java.lang.String propertyName,
java.lang.String propertyValue)
setLoggingProperty() sets an existing propertyName to be propertyValue if the property doesn't exist the property will be added. |
java.lang.String |
setLoggingProperty(java.lang.String propertyName,
java.lang.String propertyValue,
java.lang.String targetConfigName)
setLoggingProperty() sets an existing propertyName to be propertyValue if the property doesn't exist the property will be added. |
void |
setupConfigDir(java.io.File file,
java.io.File installDir)
|
java.util.Map<java.lang.String,java.lang.String> |
updateLoggingProperties(java.util.Map<java.lang.String,java.lang.String> properties)
|
java.util.Map<java.lang.String,java.lang.String> |
updateLoggingProperties(java.util.Map<java.lang.String,java.lang.String> properties,
java.lang.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(java.io.File file,
java.io.File installDir)
public boolean copyLoggingPropertiesFile(java.io.File targetDir)
throws java.io.IOException
java.io.IOException
public java.lang.String setLoggingProperty(java.lang.String propertyName,
java.lang.String propertyValue)
throws java.io.IOException
setLoggingProperty in interface LoggingConfigpropertyName - Name of the property to setpropertyValue - Value to set
java.io.IOException
public java.lang.String setLoggingProperty(java.lang.String propertyName,
java.lang.String propertyValue,
java.lang.String targetConfigName)
throws java.io.IOException
setLoggingProperty in interface LoggingConfigpropertyName - Name of the property to setpropertyValue - Value to set
java.io.IOException
public java.util.Map<java.lang.String,java.lang.String> updateLoggingProperties(java.util.Map<java.lang.String,java.lang.String> properties)
throws java.io.IOException
updateLoggingProperties in interface LoggingConfigjava.io.IOException
public java.util.Map<java.lang.String,java.lang.String> updateLoggingProperties(java.util.Map<java.lang.String,java.lang.String> properties,
java.lang.String targetConfigName)
throws java.io.IOException
updateLoggingProperties in interface LoggingConfigjava.io.IOException
public java.util.Map<java.lang.String,java.lang.String> getLoggingProperties(java.lang.String targetConfigName)
throws java.io.IOException
getLoggingProperties in interface LoggingConfigjava.io.IOException
public java.util.Map<java.lang.String,java.lang.String> getLoggingProperties()
throws java.io.IOException
getLoggingProperties in interface LoggingConfigjava.io.IOException
public void deleteLoggingProperties(java.util.Map<java.lang.String,java.lang.String> properties)
throws java.io.IOException
deleteLoggingProperties in interface LoggingConfigjava.io.IOException
public void deleteLoggingProperties(java.util.Map<java.lang.String,java.lang.String> properties,
java.lang.String targetConfigName)
throws java.io.IOException
deleteLoggingProperties in interface LoggingConfigjava.io.IOException
public java.lang.String createZipFile(java.lang.String sourceDir)
throws java.io.IOException
createZipFile in interface LoggingConfigjava.io.IOException
public java.lang.String getLoggingFileDetails()
throws java.io.IOException
java.io.IOException
public java.lang.String getLoggingFileDetails(java.lang.String targetConfigName)
throws java.io.IOException
java.io.IOException
public java.util.Map<java.lang.String,java.lang.String> getDefaultLoggingProperties()
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||