protected static interface Advice.Dispatcher
Modifier and Type | Interface and Description |
---|---|
static class |
Advice.Dispatcher.Active
A dispatcher for active advise.
|
static class |
Advice.Dispatcher.Inactive
An implementation for inactive devise that does not write any byte code.
|
static interface |
Advice.Dispatcher.Resolved
Represents a resolved dispatcher.
|
Modifier and Type | Field and Description |
---|---|
static MethodVisitor |
IGNORE_METHOD
Indicates that a method does not represent advise and does not need to be visited.
|
Modifier and Type | Method and Description |
---|---|
Advice.Dispatcher.Resolved.ForMethodEnter |
asMethodEnter()
Resolves this dispatcher as a dispatcher for entering a method.
|
Advice.Dispatcher.Resolved.ForMethodExit |
asMethodExitTo(Advice.Dispatcher.Resolved.ForMethodEnter dispatcher)
Resolves this dispatcher as a dispatcher for exiting a method.
|
boolean |
isAlive()
Returns
true if this dispatcher is alive. |
static final MethodVisitor IGNORE_METHOD
boolean isAlive()
true
if this dispatcher is alive.true
if this dispatcher is alive.Advice.Dispatcher.Resolved.ForMethodEnter asMethodEnter()
Advice.Dispatcher.Resolved.ForMethodExit asMethodExitTo(Advice.Dispatcher.Resolved.ForMethodEnter dispatcher)
dispatcher
- The dispatcher for entering a method.Copyright © 2014–2016. All rights reserved.