public enum AgentConnector extends java.lang.Enum<AgentConnector>
Created by gupele on 5/7/2015.
Modifier and Type | Class and Description |
---|---|
static class |
AgentConnector.RegistrationResult |
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
AgentConnector.RegistrationResult |
register(java.lang.ClassLoader classLoader,
java.lang.String name)
Registers the caller, and returning a key to represent that data.
|
boolean |
registerSelf()
Registers the caller, and returning a key to represent that data.
|
static AgentConnector |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AgentConnector[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentConnector INSTANCE
public static AgentConnector[] values()
for (AgentConnector c : AgentConnector.values()) System.out.println(c);
public static AgentConnector valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic AgentConnector.RegistrationResult register(java.lang.ClassLoader classLoader, java.lang.String name)
The method is basically delegating the call to the relevant Agent class.
classLoader
- The class loader that is associated with the caller.name
- The name that is associated with the callerpublic boolean registerSelf()
The method is basically delegating the call to the relevant Agent class.