Skip to content

Commit 8ca4dcd

Browse files
Janith BandaraJanith Bandara
authored andcommitted
Added @Nonbinding annotatin, Polishing
1 parent fe51a83 commit 8ca4dcd

File tree

1 file changed

+5
-2
lines changed
  • src/main/java/org/audit4j/core/annotation

1 file changed

+5
-2
lines changed

src/main/java/org/audit4j/core/annotation/Audit.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,14 @@
2424
import java.lang.annotation.RetentionPolicy;
2525
import java.lang.annotation.Target;
2626

27+
import javax.enterprise.util.Nonbinding;
2728
import javax.interceptor.InterceptorBinding;
2829

2930
/**
3031
* The Audit annotation.
3132
*
3233
* This annotation can be used either in class level or method level. When
33-
* applying this annotation, the class or methos is marked as auditable.
34+
* applying this annotation, the class or method is marked as auditable.
3435
*
3536
* @author <a href="mailto:[email protected]">Janith Bandara</a>
3637
*
@@ -47,6 +48,7 @@
4748
*
4849
* @return the string
4950
*/
51+
@Nonbinding
5052
public String action() default "action";
5153

5254
/**
@@ -71,9 +73,10 @@
7173
public String tag() default "default";
7274

7375
/**
74-
* Repository.
76+
* Repository. This attribute using to define the repository where audit log located.
7577
*
7678
* @return the string
7779
*/
80+
@Nonbinding
7881
public String repository() default "default";
7982
}

0 commit comments

Comments
 (0)