Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
c1404b1e
Commit
c1404b1e
authored
Sep 25, 2014
by
Dave Syer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tidy some Javadocs
parent
336b96b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
AuditEvent.java
...va/org/springframework/boot/actuate/audit/AuditEvent.java
+4
-3
AuditListener.java
...gframework/boot/actuate/audit/listener/AuditListener.java
+2
-3
No files found.
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/AuditEvent.java
View file @
c1404b1e
...
@@ -22,8 +22,8 @@ import java.util.Date;
...
@@ -22,8 +22,8 @@ import java.util.Date;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.Map
;
import
java.util.Map
;
import
org.springframework.context.ApplicationEventPublisher
;
import
org.springframework.context.ApplicationEventPublisherAware
;
import
org.springframework.context.ApplicationEventPublisherAware
;
import
org.springframework.security.authentication.AuthenticationEventPublisher
;
import
org.springframework.util.Assert
;
import
org.springframework.util.Assert
;
/**
/**
...
@@ -32,8 +32,9 @@ import org.springframework.util.Assert;
...
@@ -32,8 +32,9 @@ import org.springframework.util.Assert;
* such an event.
* such an event.
* <p>
* <p>
* Users can inject a {@link AuditEventRepository} to publish their own events or
* Users can inject a {@link AuditEventRepository} to publish their own events or
* alternatively use Springs {@link AuthenticationEventPublisher} (usually obtained by
* alternatively use Spring's {@link ApplicationEventPublisher} (usually obtained by
* implementing {@link ApplicationEventPublisherAware}).
* implementing {@link ApplicationEventPublisherAware}) to publish AuditApplicationEvents
* (wrappers for AuditEvent).
*
*
* @author Dave Syer
* @author Dave Syer
* @see AuditEventRepository
* @see AuditEventRepository
...
...
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/listener/AuditListener.java
View file @
c1404b1e
...
@@ -18,13 +18,12 @@ package org.springframework.boot.actuate.audit.listener;
...
@@ -18,13 +18,12 @@ package org.springframework.boot.actuate.audit.listener;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.LogFactory
;
import
org.apache.commons.logging.LogFactory
;
import
org.springframework.boot.actuate.audit.AuditEvent
;
import
org.springframework.boot.actuate.audit.AuditEventRepository
;
import
org.springframework.boot.actuate.audit.AuditEventRepository
;
import
org.springframework.context.ApplicationListener
;
import
org.springframework.context.ApplicationListener
;
/**
/**
* {@link ApplicationListener} that listens for {@link Audit
Event}s and stores them in a
* {@link ApplicationListener} that listens for {@link Audit
ApplicationEvent}s and stores
* {@link AuditEventRepository}.
*
them in a
{@link AuditEventRepository}.
*
*
* @author Dave Syer
* @author Dave Syer
*/
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment