Skip navigation links
powermock-module-javaagent
A B C D E G H I J L N O P R S T V W 

A

AbstractClassTransformer - Class in org.powermock.modules.agent
 
AbstractClassTransformer() - Constructor for class org.powermock.modules.agent.AbstractClassTransformer
 
AgentInitializationException - Exception in com.sun.tools.attach
The exception thrown when an agent fails to initialize in the target Java virtual machine.
AgentInitializationException() - Constructor for exception com.sun.tools.attach.AgentInitializationException
Constructs an AgentInitializationException with no detail message.
AgentInitializationException(String) - Constructor for exception com.sun.tools.attach.AgentInitializationException
Constructs an AgentInitializationException with the specified detail message.
AgentInitializationException(String, int) - Constructor for exception com.sun.tools.attach.AgentInitializationException
Constructs an AgentInitializationException with the specified detail message and the return value from the execution of the agent's Agent_OnAttach function.
AgentLoadException - Exception in com.sun.tools.attach
The exception thrown when an agent cannot be loaded into the target Java virtual machine.
AgentLoadException() - Constructor for exception com.sun.tools.attach.AgentLoadException
Constructs an AgentLoadException with no detail message.
AgentLoadException(String) - Constructor for exception com.sun.tools.attach.AgentLoadException
Constructs an AgentLoadException with the specified detail message.
agentmain(String, Instrumentation) - Static method in class org.powermock.modules.agent.PowerMockAgent
 
attach(String) - Static method in class com.sun.tools.attach.VirtualMachine
Attaches to a Java virtual machine.
attach(VirtualMachineDescriptor) - Static method in class com.sun.tools.attach.VirtualMachine
Attaches to a Java virtual machine.
AttachNotSupportedException - Exception in com.sun.tools.attach
Thrown by VirtalMachine.attach when attempting to attach to a Java virtual machine for which a compatible AttachProvider does not exist.
AttachNotSupportedException() - Constructor for exception com.sun.tools.attach.AttachNotSupportedException
Constructs an AttachNotSupportedException with no detail message.
AttachNotSupportedException(String) - Constructor for exception com.sun.tools.attach.AttachNotSupportedException
Constructs an AttachNotSupportedException with the specified detail message.
AttachProvider - Class in com.sun.tools.attach.spi
Attach provider class for attaching to a Java virtual machine.
AttachProvider() - Constructor for class com.sun.tools.attach.spi.AttachProvider
Initializes a new instance of this class.
attachVirtualMachine(String) - Method in class com.sun.tools.attach.spi.AttachProvider
Attaches to a Java virtual machine.
attachVirtualMachine(VirtualMachineDescriptor) - Method in class com.sun.tools.attach.spi.AttachProvider
Attaches to a Java virtual machine.

B

BsdVirtualMachine - Class in sun.tools.attach
 
BsdVirtualMachine(AttachProvider, String) - Constructor for class sun.tools.attach.BsdVirtualMachine
Attaches to the target VM

C

clear() - Method in class org.powermock.modules.agent.support.JavaAgentClassRegisterImpl
 
com.sun.tools.attach - package com.sun.tools.attach
 
com.sun.tools.attach.spi - package com.sun.tools.attach.spi
 

D

DefinalizingClassTransformer - Class in org.powermock.modules.agent
 
DefinalizingClassTransformer() - Constructor for class org.powermock.modules.agent.DefinalizingClassTransformer
 
detach() - Method in class com.sun.tools.attach.VirtualMachine
Detach from the virtual machine.
detach() - Method in class sun.tools.attach.BsdVirtualMachine
Detach from the target VM
detach() - Method in class sun.tools.attach.LinuxVirtualMachine
Detach from the target VM
detach() - Method in class sun.tools.attach.SolarisVirtualMachine
Detach from the target VM
detach() - Method in class sun.tools.attach.WindowsVirtualMachine
 
displayName() - Method in class com.sun.tools.attach.VirtualMachineDescriptor
Return the display name component of this descriptor.
dumpHeap(Object...) - Method in class sun.tools.attach.HotSpotVirtualMachine
 

E

equals(Object) - Method in class com.sun.tools.attach.VirtualMachine
Tests this VirtualMachine for equality with another object.
equals(Object) - Method in class com.sun.tools.attach.VirtualMachineDescriptor
Tests this VirtualMachineDescriptor for equality with another object.
executeJCmd(String) - Method in class sun.tools.attach.HotSpotVirtualMachine
 

G

getAgentProperties() - Method in class com.sun.tools.attach.VirtualMachine
Returns the current agent properties in the target virtual machine.
getAgentProperties() - Method in class sun.tools.attach.HotSpotVirtualMachine
 
getClasstransformer() - Static method in class org.powermock.modules.agent.PowerMockAgent
 
getSystemProperties() - Method in class com.sun.tools.attach.VirtualMachine
Returns the current system properties in the target virtual machine.
getSystemProperties() - Method in class sun.tools.attach.HotSpotVirtualMachine
 

H

hashCode() - Method in class com.sun.tools.attach.VirtualMachine
Returns a hash-code value for this VirtualMachine.
hashCode() - Method in class com.sun.tools.attach.VirtualMachineDescriptor
Returns a hash-code value for this VirtualMachineDescriptor.
heapHisto(Object...) - Method in class sun.tools.attach.HotSpotVirtualMachine
 
HotSpotVirtualMachine - Class in sun.tools.attach
 

I

id() - Method in class com.sun.tools.attach.VirtualMachine
Returns the identifier for this Java virtual machine.
id() - Method in class com.sun.tools.attach.VirtualMachineDescriptor
Return the identifier component of this descriptor.
initialize(Class<?>, JavaAgentClassRegister) - Static method in class org.powermock.modules.agent.support.PowerMockAgentTestInitializer
 
initializeIfNeeded() - Static method in class org.powermock.modules.agent.PowerMockAgent
 
initializeIfPossible() - Static method in class org.powermock.modules.agent.PowerMockAgent
 
instrumentation() - Static method in class org.powermock.modules.agent.PowerMockAgent
 
isJava6OrLater() - Static method in class org.powermock.modules.agent.PowerMockAgent
 
isModifiedByAgent(ClassLoader, String) - Method in class org.powermock.modules.agent.support.JavaAgentClassRegisterImpl
 

J

JavaAgentClassRegisterImpl - Class in org.powermock.modules.agent.support
Basic not thread-safety implementation of the JavaAgentClassRegister
JavaAgentClassRegisterImpl() - Constructor for class org.powermock.modules.agent.support.JavaAgentClassRegisterImpl
 

L

LinuxVirtualMachine - Class in sun.tools.attach
 
LinuxVirtualMachine(AttachProvider, String) - Constructor for class sun.tools.attach.LinuxVirtualMachine
Attaches to the target VM
list() - Static method in class com.sun.tools.attach.VirtualMachine
Return a list of Java virtual machines.
listVirtualMachines() - Method in class com.sun.tools.attach.spi.AttachProvider
Lists the Java virtual machines known to this provider.
loadAgent(String, String) - Method in class com.sun.tools.attach.VirtualMachine
Loads an agent.
loadAgent(String) - Method in class com.sun.tools.attach.VirtualMachine
Loads an agent.
loadAgent(String, String) - Method in class sun.tools.attach.HotSpotVirtualMachine
 
loadAgentLibrary(String, String) - Method in class com.sun.tools.attach.VirtualMachine
Loads an agent library.
loadAgentLibrary(String) - Method in class com.sun.tools.attach.VirtualMachine
Loads an agent library.
loadAgentLibrary(String, String) - Method in class sun.tools.attach.HotSpotVirtualMachine
 
loadAgentPath(String, String) - Method in class com.sun.tools.attach.VirtualMachine
Load a native agent library by full pathname.
loadAgentPath(String) - Method in class com.sun.tools.attach.VirtualMachine
Load a native agent library by full pathname.
loadAgentPath(String, String) - Method in class sun.tools.attach.HotSpotVirtualMachine
 
localDataDump() - Method in class sun.tools.attach.HotSpotVirtualMachine
 

N

name() - Method in class com.sun.tools.attach.spi.AttachProvider
Return this provider's name.

O

org.powermock.modules.agent - package org.powermock.modules.agent
 
org.powermock.modules.agent.support - package org.powermock.modules.agent.support
 

P

PowerMockAgent - Class in org.powermock.modules.agent
This is the "agent class" that initializes the PowerMock "Java agent".
PowerMockAgentTestInitializer - Class in org.powermock.modules.agent.support
 
PowerMockAgentTestInitializer() - Constructor for class org.powermock.modules.agent.support.PowerMockAgentTestInitializer
 
PowerMockClassRedefiner - Class in org.powermock.modules.agent
 
PowerMockClassRedefiner() - Constructor for class org.powermock.modules.agent.PowerMockClassRedefiner
 
premain(String, Instrumentation) - Static method in class org.powermock.modules.agent.PowerMockAgent
This method must only be called by the JVM, to provide the instrumentation object.
printFlag(String) - Method in class sun.tools.attach.HotSpotVirtualMachine
 
provider() - Method in class com.sun.tools.attach.VirtualMachine
Returns the provider that created this virtual machine.
provider() - Method in class com.sun.tools.attach.VirtualMachineDescriptor
Return the AttachProvider that this descriptor references.
providers() - Static method in class com.sun.tools.attach.spi.AttachProvider
Returns a list of the installed attach providers.

R

redefine(String[], String[], JavaAgentClassRegister) - Static method in class org.powermock.modules.agent.PowerMockClassRedefiner
 
registerClass(ClassLoader, String) - Method in class org.powermock.modules.agent.support.JavaAgentClassRegisterImpl
 
remoteDataDump(Object...) - Method in class sun.tools.attach.HotSpotVirtualMachine
 
resetPackagesToIgnore() - Method in class org.powermock.modules.agent.AbstractClassTransformer
 
returnValue() - Method in exception com.sun.tools.attach.AgentInitializationException
If the exception was created with the return value from the agent Agent_OnAttach function then this returns that value, otherwise returns 0.

S

setFlag(String, String) - Method in class sun.tools.attach.HotSpotVirtualMachine
 
setPackagesToIgnore(List<String>) - Method in class org.powermock.modules.agent.AbstractClassTransformer
 
shouldIgnore(String) - Method in class org.powermock.modules.agent.AbstractClassTransformer
 
SolarisVirtualMachine - Class in sun.tools.attach
 
SolarisVirtualMachine(AttachProvider, String) - Constructor for class sun.tools.attach.SolarisVirtualMachine
Attaches to the target VM
sun.tools.attach - package sun.tools.attach
 

T

toString() - Method in class com.sun.tools.attach.VirtualMachine
Returns the string representation of the VirtualMachine.
toString() - Method in class com.sun.tools.attach.VirtualMachineDescriptor
Returns the string representation of the VirtualMachineDescriptor.
transform(ClassLoader, String, Class<?>, ProtectionDomain, byte[]) - Method in class org.powermock.modules.agent.DefinalizingClassTransformer
 
type() - Method in class com.sun.tools.attach.spi.AttachProvider
Return this provider's type.

V

verifyInitialization() - Static method in class org.powermock.modules.agent.PowerMockAgent
 
VirtualMachine - Class in com.sun.tools.attach
A Java virtual machine.
VirtualMachine(AttachProvider, String) - Constructor for class com.sun.tools.attach.VirtualMachine
Initializes a new instance of this class.
VirtualMachineDescriptor - Class in com.sun.tools.attach
Describes a Java virtual machine.
VirtualMachineDescriptor(AttachProvider, String, String) - Constructor for class com.sun.tools.attach.VirtualMachineDescriptor
Creates a virtual machine descriptor from the given components.
VirtualMachineDescriptor(AttachProvider, String) - Constructor for class com.sun.tools.attach.VirtualMachineDescriptor
Creates a virtual machine descriptor from the given components.

W

WindowsVirtualMachine - Class in sun.tools.attach
 
WindowsVirtualMachine(AttachProvider, String) - Constructor for class sun.tools.attach.WindowsVirtualMachine
 
A B C D E G H I J L N O P R S T V W 
Skip navigation links
powermock-module-javaagent