|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.byteman.agent.Location
public abstract class Location
Specifies a location in a method at which a rule trigger should be inserted
Nested Class Summary | |
---|---|
private static class |
Location.AccessLocation
location identifying a generic access trigger point |
private static class |
Location.EntryLocation
location identifying a method entry trigger point |
private static class |
Location.ExitLocation
location identifying a method exit trigger point |
private static class |
Location.FieldAccessLocation
location identifying a field access trigger point |
private static class |
Location.InvokeLocation
location identifying a method invocation trigger point |
private static class |
Location.LineLocation
location identifying a method line trigger point |
private static class |
Location.SynchronizeLocation
location identifying a synchronization trigger point |
private static class |
Location.ThrowLocation
location identifying a throw trigger point |
private static class |
Location.VariableAccessLocation
location identifying a variable access trigger point |
Field Summary | |
---|---|
static int |
ACCESS_READ
flag indicating that a field access location refers to field READ operations |
static int |
ACCESS_WRITE
flag indicating that a field access location refers to field WRITE operations |
Constructor Summary | |
---|---|
Location()
|
Method Summary | |
---|---|
static Location |
create(LocationType type,
java.lang.String parameters)
create a location object of a given type |
abstract LocationType |
getLocationType()
identify the type of this location |
abstract RuleTriggerAdapter |
getRuleAdapter(ClassVisitor cv,
TransformContext transformContext)
return an adapter which can be used to insert a trigger call in a method containing a trigger point whose position matches this location |
abstract RuleCheckAdapter |
getRuleCheckAdapter(ClassVisitor cv,
TransformContext transformContext)
return an adapter which can be used to check whether a method contains a trigger point whose position matches this location |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ACCESS_READ
public static final int ACCESS_WRITE
Constructor Detail |
---|
public Location()
Method Detail |
---|
public static Location create(LocationType type, java.lang.String parameters)
type
- the type of location being specifiedparameters
- the text of the parameters appended to the location specifier
public abstract RuleCheckAdapter getRuleCheckAdapter(ClassVisitor cv, TransformContext transformContext)
public abstract RuleTriggerAdapter getRuleAdapter(ClassVisitor cv, TransformContext transformContext)
public abstract LocationType getLocationType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |