public class HelperManager extends Object
Constructor and Description |
---|
HelperManager(Instrumentation inst,
ModuleSystem moduleSystem)
construct a manager
|
Modifier and Type | Method and Description |
---|---|
ModuleSystem |
getModuleSystem() |
long |
getObjectSize(Object o)
This method exposes a capability of the Byteman agent's
Instrumentation instance while avoiding exposing the instance
itself.
|
void |
installed(Rule rule) |
void |
uninstalled(Rule rule) |
public HelperManager(Instrumentation inst, ModuleSystem moduleSystem)
inst
- will be non-null if we are running in an agentmoduleSystem
- must be non-null, use NonModuleSystem if nothing specal is neededpublic void installed(Rule rule)
public void uninstalled(Rule rule)
public long getObjectSize(Object o)
o
- the object to be sizedpublic ModuleSystem getModuleSystem()
Copyright © 2016. All Rights Reserved.