Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
70783426
authored
Jun 21, 2016
by
xueli.xue
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
“@JobHandler”添加“@Inherited”注解,解决BEAN在事务代理情况下,无法获取自定义代理的BUG
parent
f9f8c89e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
xxl-job-core/src/main/java/com/xxl/job/core/handler/annotation/JobHander.java
xxl-job-core/src/main/java/com/xxl/job/core/handler/annotation/JobHander.java
View file @
70783426
package
com
.
xxl
.
job
.
core
.
handler
.
annotation
;
package
com
.
xxl
.
job
.
core
.
handler
.
annotation
;
import
java.lang.annotation.ElementType
;
import
java.lang.annotation.ElementType
;
import
java.lang.annotation.Inherited
;
import
java.lang.annotation.Retention
;
import
java.lang.annotation.Retention
;
import
java.lang.annotation.RetentionPolicy
;
import
java.lang.annotation.RetentionPolicy
;
import
java.lang.annotation.Target
;
import
java.lang.annotation.Target
;
...
@@ -11,6 +12,7 @@ import java.lang.annotation.Target;
...
@@ -11,6 +12,7 @@ import java.lang.annotation.Target;
*/
*/
@Target
({
ElementType
.
TYPE
})
@Target
({
ElementType
.
TYPE
})
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Inherited
public
@interface
JobHander
{
public
@interface
JobHander
{
String
name
();
String
name
();
...
...
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