public class AgentLoader extends Object
Modifier and Type | Field and Description |
---|---|
protected Object |
agent |
static AgentLoader |
INSTANCE |
protected ObjectSizer |
sizer |
Constructor and Description |
---|
AgentLoader() |
Modifier and Type | Method and Description |
---|---|
protected <I> I |
getAgent(Class<I> type) |
ObjectSizer |
getSizer() |
protected Object |
load() |
protected void |
loadAgent() |
protected void |
loadAgentIfNeeded() |
protected Object |
loadInstance() |
protected String |
locateAgentJar(File dir) |
public static final AgentLoader INSTANCE
protected ObjectSizer sizer
public AgentLoader()
public ObjectSizer getSizer()
protected Object loadInstance() throws ClassNotFoundException, NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException
protected void loadAgentIfNeeded() throws NoSuchMethodException, SecurityException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, MalformedURLException, URISyntaxException
protected void loadAgent() throws NoSuchMethodException, SecurityException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, MalformedURLException, URISyntaxException
protected String locateAgentJar(File dir)
Copyright © 2016 Nuxeo SA. All rights reserved.