JBoss Security SPI - Aggregator 2.0.4.SP8

org.jboss.security.audit
Class AuditEvent

java.lang.Object
  extended by org.jboss.security.audit.AuditEvent

public class AuditEvent
extends Object

Holder of audit information

Since:
Aug 21, 2006
Version:
$Revision$
Author:
Anil Saldhana

Constructor Summary
AuditEvent(String level)
           
AuditEvent(String level, Map<String,Object> map)
           
AuditEvent(String level, Map<String,Object> map, Exception ex)
           
 
Method Summary
 String getAuditLevel()
          Return the Audit Level
 Map<String,Object> getContextMap()
          Get the Contextual Map
 Exception getUnderlyingException()
          Get the Exception part of the audit
 void setContextMap(Map<String,Object> cmap)
          Set a non-modifiable Context Map
 void setUnderlyingException(Exception underlyingException)
          Set the exception on which an audit is happening
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuditEvent

public AuditEvent(String level)

AuditEvent

public AuditEvent(String level,
                  Map<String,Object> map)

AuditEvent

public AuditEvent(String level,
                  Map<String,Object> map,
                  Exception ex)
Method Detail

getAuditLevel

public String getAuditLevel()
Return the Audit Level

Returns:

getContextMap

public Map<String,Object> getContextMap()
Get the Contextual Map

Returns:
Map that is final

setContextMap

public void setContextMap(Map<String,Object> cmap)
Set a non-modifiable Context Map

Parameters:
cmap - Map that is final

getUnderlyingException

public Exception getUnderlyingException()
Get the Exception part of the audit

Returns:

setUnderlyingException

public void setUnderlyingException(Exception underlyingException)
Set the exception on which an audit is happening

Parameters:
underlyingException -

toString

public String toString()
Overrides:
toString in class Object

JBoss Security SPI - Aggregator 2.0.4.SP8

Copyright © 2012 JBoss Inc.. All Rights Reserved.