- ActionClause() - Constructor for class org.jboss.byteman.contrib.dtest.RuleConstructor.ActionClause
-
- after(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked AFTER
point which is specified with parameter.
- afterInvoke(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked after invocation of method within the trigger method.
- afterInvoke(String, int) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked after invocation of method within the trigger method
where occurencePosition
defines Nth
textual occurrence
of the method invocation.
- afterRead(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked after point where method reads a variable.
- afterRead(String, int) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked after point where method reads a variable where occurencePosition
defines Nth
textual occurrence of the field access.
- afterSynchronize() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked after invocation of method within the trigger method.
Location specifier is set as AFTER SYNCHRONIZE
.
- afterSynchronize(int) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked after invocation of method within the trigger method
where occurencePosition
defines Nth
textual occurrence
of the method invocation.
- afterWrite(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked after point where method writes to a variable.
- afterWrite(String, int) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked after point where method writes to a variable where occurencePosition
defines Nth
textual occurrence of the field write.
- assertKnownInstances(int) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
-
Checks that the number of known, distinct object instances of this class is as stated.
- assertMethodCallCount(String, String, CallCount) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
-
Checks that the number of known invocations of the given method falls within the specified
range for each known instances of the class.
- assertMethodCallCount(String, String, int) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
-
Checks that the number of known invocations of the given method is specified count.
- assertMethodCallCount(String, int) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
-
Checks that the number of known invocations of the given method is specified count.
- assertMethodCallCount(String, String, CallCount) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedInstance
-
Checks that the number of known invocations of the given method falls
within the specified range.
- assertMethodCalled(String) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
-
Checks that the given method has been called at least once on each known instance of the class.
- assertMethodNotCalled(String) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
-
Checks that the given method has not been seen to be called on any known instance of the class.
- assertSumMethodCallCount(String, int) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
-
Check that number of known invocations of the given method of all known instances
is specified count.
Difference against
assertMethodCallCount(String, int)
is that here we query
against all know instances.
- at(String) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
-
Deprecated.
- at(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked AT
point which is specified with parameter.
- atEntry() - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
-
Deprecated.
- atEntry() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked at entry point of method.
- atExceptionExit() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Identifies the point where a method returns control back to its caller via
unhandled exceptional control flow.
- atExit() - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
-
Deprecated.
- atExit() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked at exit point of method.
- atInvoke(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked at point of invocation of method within the trigger method.
- atInvoke(String, int) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked at point of invocation of method within the trigger method
where occurencePosition
defines Nth
textual occurrence
of the method invocation.
- atLine(int) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
-
Deprecated.
- atLine(int) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked at specific line of code
within the method.
- atRead(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked at point where method reads a variable.
- atRead(String, int) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked at point where method reads a variable
where occurencePosition
defines Nth
textual occurrence of the field access.
- atSynchronize() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked at entry of synchronization block in the target method.
- atSynchronize(int) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked at point of invocation of method within the trigger method
where occurencePosition
defines Nth
textual
occurrence of the method invocation.
- atThrow() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Identifies a throw operation within the trigger method.
- atThrow(int) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Identifies a throw operation within the trigger method,
specified with count as Nth textual occurrence of a throw
inside of the method defining only that occurrence to trigger
execution of the rule.
- atWrite(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked at point where method writes to a variable.
- atWrite(String, int) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
-
Rule is invoked at point where method writes to a variable where occurencePosition
defines Nth
textual occurrence of the field write.
- ifCondition(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ConditionClause
-
Rule condition when rule will be executed.
- ifFalse() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ConditionClause
-
Condition ensuring that rule won't be executed.
- ifTrue() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ConditionClause
-
Condition ensuring that rule will be executed.
- imports(String...) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ConditionClause
-
Setting module import definition for the rule.
- inClassInitMethod() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.MethodClause
-
Defining class initialization method as place for rule injection.
- inClassInitMethod(String...) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.MethodClause
-
Defining class initialization method as place for rule injection.
- includeSubclases() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.MethodClause
-
Defining that the rule will be injected to all sub-classes
or classes implementing the interface.
- inConstructor() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.MethodClause
-
Defining constructor, special method type,
as place for rule injection.
- inConstructor(String...) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.MethodClause
-
Defining constructor, special method type,
as place for rule injection.
- injectFault(Class, String, Class<? extends Throwable>, Object[]) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Inject a fault (i.e.
- injectOnCall(Class, String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Inject an action to take place upon the invocation of the specified class.method
- injectOnCall(String, String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Inject an action to take place upon the invocation of the specified class.method
- injectOnExit(Class, String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Inject an action to take place upon exit of the specified class.method
- injectOnExit(String, String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Inject an action to take place upon exit of the specified class.method
- injectOnMethod(Class, String, String, String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Inject an action to take place at a given point within the specified class.method
- injectOnMethod(String, String, String, String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Inject an action to take place at a given point within the specified class.method
- injectOnMethodWhere(Class, String, String, String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Inject an action to take place at a given point within the specified class.method
- injectOnMethodWhere(String, String, String, String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Inject an action to take place at a given point within the specified class.method
- inMethod(String) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
-
Deprecated.
- inMethod(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.MethodClause
-
Defining method where the rule is injected to.
- inMethod(String, String...) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.MethodClause
-
Defining method specified by argument types where the rule is injected to.
- installHelperJar(String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Add the specified jar to the remote app's system classpath.
- installRule(RuleConstructor) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
- installScript(String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Pass the assembled script to the remote JVM, either via.
- instrumentClass(Class) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Add method tracing rules to the specified class.
- instrumentClass(Class, Set<String>) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Add method tracing rules to the specified class.
- instrumentClass(String, Set<String>) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
-
Add method tracing rules to the specified class name.
If a null set of method names is supplied,
NullPointerException
is thrown.
- InstrumentedClass - Class in org.jboss.byteman.contrib.dtest
-
InstrumentedClass instances serve two purposes:
Internally to the framework they provide a communication endpoint for
receiving information from the remote, Byteman instrumented code execution.
- InstrumentedInstance - Class in org.jboss.byteman.contrib.dtest
-
InstrumentedInstance instances serve two purposes:
Internally to the framework they provide storage of traced method invocation information
received from the remote execution via BytemanTestHelper->InstrumentedClass->this.
- Instrumentor - Class in org.jboss.byteman.contrib.dtest
-
The Instrumentor provides for installing tracing and other rules into a remote JVM.
- Instrumentor(Submit, int) - Constructor for class org.jboss.byteman.contrib.dtest.Instrumentor
-
- Instrumentor() - Constructor for class org.jboss.byteman.contrib.dtest.Instrumentor
-
- Instrumentor(String, int) - Constructor for class org.jboss.byteman.contrib.dtest.Instrumentor
-
- Instrumentor(String, int, int) - Constructor for class org.jboss.byteman.contrib.dtest.Instrumentor
-