|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.platform.security.audit.destination.AbstractAuditDestination
com.metamatrix.platform.security.audit.destination.ConsoleAuditDestination
public class ConsoleAuditDestination
This is the default logging destination - System.out.
| Field Summary | |
|---|---|
protected static java.lang.String |
DEFAULT_CONSOLE_AUDIT_FORMAT_PROPERTY_NAME
|
static java.lang.String |
MESSAGE_FORMAT_PROPERTY_NAME
The name of the property that contains the name of the LogMessageFormat class that is used to format messages sent to the console. |
| Fields inherited from class com.metamatrix.platform.security.audit.destination.AbstractAuditDestination |
|---|
DEFAULT_LOG_FORMAT_PROPERTY_NAME |
| Fields inherited from interface com.metamatrix.platform.security.audit.destination.AuditDestination |
|---|
PROPERTY_PREFIX |
| Constructor Summary | |
|---|---|
ConsoleAuditDestination()
Construct a ConsoleDestination. |
|
| Method Summary | |
|---|---|
protected java.lang.String |
getDefaultFormatClassName()
|
java.lang.String |
getDescription()
Return description |
java.util.List |
getPropertyNames()
Get names of all properties used for this destination. |
void |
initialize(java.util.Properties props)
Initialize this destination with the specified properties. |
void |
record(AuditMessage message)
Print to System.out. |
void |
shutdown()
Shutdown - nothing to do. |
| Methods inherited from class com.metamatrix.platform.security.audit.destination.AbstractAuditDestination |
|---|
getFormat, setFormat |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String DEFAULT_CONSOLE_AUDIT_FORMAT_PROPERTY_NAME
public static final java.lang.String MESSAGE_FORMAT_PROPERTY_NAME
| Constructor Detail |
|---|
public ConsoleAuditDestination()
| Method Detail |
|---|
public java.lang.String getDescription()
public void initialize(java.util.Properties props)
throws AuditDestinationInitFailedException
initialize in interface AuditDestinationinitialize in class AbstractAuditDestinationprops - the properties that this destination should use to initialize
itself.
LogDestinationInitFailedException - if there was an error during initialization.
AuditDestinationInitFailedException - if there was an error during initialization.public java.util.List getPropertyNames()
public void record(AuditMessage message)
message - Message to printpublic void shutdown()
protected java.lang.String getDefaultFormatClassName()
getDefaultFormatClassName in class AbstractAuditDestination
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||