Skip navigation links
A B C D G H I L M N O R S T U W 

A

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.

B

bind(String...) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ConditionClause
Definition of bind clause.
build() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor
Builds the rule defined by this instance of RuleConstructor and returns its representation as string.
BytemanTestHelper - Class in org.jboss.byteman.contrib.dtest
Helper class containing functions used by Byteman rules created by the dtest framework.
BytemanTestHelper(Rule) - Constructor for class org.jboss.byteman.contrib.dtest.BytemanTestHelper
 

C

CallCount - Class in org.jboss.byteman.contrib.dtest
Represents a number range, for use in expressing the limits on the number of expected methods calls to be observed.
CallCount(int, int) - Constructor for class org.jboss.byteman.contrib.dtest.CallCount
 
ClassClause() - Constructor for class org.jboss.byteman.contrib.dtest.RuleConstructor.ClassClause
 
compile() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ConditionClause
Defines rule for being compiled.
ConditionClause() - Constructor for class org.jboss.byteman.contrib.dtest.RuleConstructor.ConditionClause
 
crashAtMethod(String, String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Inject a Rule to kill the target JVM at a given point within the specified Class.method()
crashAtMethodEntry(Class, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Inject a Rule to kill the target JVM upon entry to the specified Class.method()
crashAtMethodEntry(String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Inject a Rule to kill the target JVM upon entry to the specified Class.method()
crashAtMethodExit(Class, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Inject a Rule to kill the target JVM upon exit of the specified Class.method()
crashAtMethodExit(String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Inject a Rule to kill the target JVM upon exit of the specified Class.method()
createRule(String) - Static method in class org.jboss.byteman.contrib.dtest.RuleConstructor
This is where you start.

D

debug(String, Object) - Method in class org.jboss.byteman.contrib.dtest.BytemanTestHelper
Print a message during rule execution.
doAction(String) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
Deprecated.
 
doAction(String...) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ActionClause
Definition of actions for the rule.

G

getHelperClass() - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Returns a helper class which this Instrumentor instance defines as parameter of HELPER clause.
getInstances() - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
Returns the set of known instances of the class.
getInvocationCount(String) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
Returns number of method calls for the class.
Sum number of method calls on all instrumented instances belonging to this instrumented class.
getInvocationCount(String) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedInstance
Returns the number of known invocations of the given method upon the object instance.
getMax() - Method in class org.jboss.byteman.contrib.dtest.CallCount
 
getMin() - Method in class org.jboss.byteman.contrib.dtest.CallCount
 
getRedirectedSubmissionsFile() - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Returns the file to which Rule submission is currently redirected

H

helper(Class<?>) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ConditionClause
Byteman helper class to be used in rule definition.
helper(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ConditionClause
Class name of Byteman helper class.

I

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
Installing rule based on definition available by building RuleConstructor.
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
 

L

LocationClause() - Constructor for class org.jboss.byteman.contrib.dtest.RuleConstructor.LocationClause
 

M

main(String[]) - Static method in class org.jboss.byteman.contrib.dtest.RuleBuilder
Deprecated.
 
MethodClause() - Constructor for class org.jboss.byteman.contrib.dtest.RuleConstructor.MethodClause
 

N

nocompile() - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ConditionClause
Defines rule for not being compiled.

O

onClass(Class) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
Deprecated.
 
onClass(String) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
Deprecated.
 
onClass(Class<?>) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ClassClause
Class that rule event is associated to.
onClass(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ClassClause
Class name that rule event is associated to.
onInterface(Class) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
Deprecated.
 
onInterface(String) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
Deprecated.
 
onInterface(Class<?>) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ClassClause
Interface that rule event is associated to.
onInterface(String) - Method in class org.jboss.byteman.contrib.dtest.RuleConstructor.ClassClause
Interface name that rule event is associated to.
org.jboss.byteman.contrib.dtest - package org.jboss.byteman.contrib.dtest
 

R

RemoteInterface - Interface in org.jboss.byteman.contrib.dtest
RMI communication endpoint interface, exposed by the test runner for the purpose of receiving remote method trace information from code instrumented by Byteman Rules.
remoteTrace(String, String, Object[]) - Method in class org.jboss.byteman.contrib.dtest.BytemanTestHelper
Send trace information to a remote listener.
removeAllInstrumentation() - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Flush any instrumentation for the given class in the remote system and clean up the local cache.
removeLocalState() - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Flush the local cache of scripts and proxies to remote instrumented classes.
removeRule(RuleConstructor) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Removing particular script installed as a rule by RuleConstructor.
removeScript(String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Removing particular script from the remote byteman agent.
RMIREGISTRY_PORT_PROPERTY_NAME - Static variable in class org.jboss.byteman.contrib.dtest.BytemanTestHelper
 
RuleBuilder - Class in org.jboss.byteman.contrib.dtest
Deprecated.
RuleBuilder(String) - Constructor for class org.jboss.byteman.contrib.dtest.RuleBuilder
Deprecated.
 
RuleConstructor - Class in org.jboss.byteman.contrib.dtest
Provides a fluent API for creating Byteman rules without needing to mess around with String concatenation.
RuleConstructor.ActionClause - Class in org.jboss.byteman.contrib.dtest
 
RuleConstructor.ClassClause - Class in org.jboss.byteman.contrib.dtest
 
RuleConstructor.ConditionClause - Class in org.jboss.byteman.contrib.dtest
 
RuleConstructor.LocationClause - Class in org.jboss.byteman.contrib.dtest
 
RuleConstructor.MethodClause - Class in org.jboss.byteman.contrib.dtest
 

S

setHelperClass(Class<?>) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Redefine a helper class which is used as parameter of HELPER clause by this instance of Instrumentor
setRedirectedSubmissionsFile(File) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Sets the file to which Rule submissions should be redirected.

T

toString() - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
Deprecated.
 
trace(String, Object[]) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
Receiving side of the remote communication between the test code and the BytemanTestHelper.
trace(String, Object[]) - Method in interface org.jboss.byteman.contrib.dtest.RemoteInterface
 

U

usingHelper(Class) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
Deprecated.
 
usingHelper(String) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
Deprecated.
 

W

when(String) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
Deprecated.
 
when(boolean) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
Deprecated.
 
whenFalse() - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
Deprecated.
 
whenTrue() - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
Deprecated.
 
A B C D G H I L M N O R S T U W 
Skip navigation links

Copyright © 2017. All rights reserved.