Package com.seeq.link.agent
Class Program
java.lang.Object
com.seeq.link.agent.Program
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic ClassFactory
static Thread
static com.seeq.link.sdk.ClassFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
static Program.Configuration
void
void
initializeRemoteAppender
(boolean comSeeqOnly) static boolean
Returns whether an agent restart has been requested or not.static int
void
run
(ClassFactory agentClassFactory, com.seeq.link.sdk.ClassFactory sdkClassFactory, Program.Configuration config) void
run
(String[] args, ClassFactory agentClassFactory, com.seeq.link.sdk.ClassFactory sdkClassFactory) static void
setRestartRequested
(boolean restart) Requests a restart of the agent to re-establish connections to appserver.
-
Field Details
-
MainThread
-
AgentClassFactory
-
SDKClassFactory
public static com.seeq.link.sdk.ClassFactory SDKClassFactory
-
-
Constructor Details
-
Program
public Program()
-
-
Method Details
-
main
-
initializeRemoteAppender
public void initializeRemoteAppender() -
initializeRemoteAppender
public void initializeRemoteAppender(boolean comSeeqOnly) -
run
public void run(String[] args, ClassFactory agentClassFactory, com.seeq.link.sdk.ClassFactory sdkClassFactory) -
getDefaultConfiguration
-
run
public void run(ClassFactory agentClassFactory, com.seeq.link.sdk.ClassFactory sdkClassFactory, Program.Configuration config) -
destroy
public void destroy() -
setRestartRequested
public static void setRestartRequested(boolean restart) Requests a restart of the agent to re-establish connections to appserver.- Parameters:
restart
- True if agent restart should be requested, false otherwise.
-
isRestartRequested
public static boolean isRestartRequested()Returns whether an agent restart has been requested or not.- Returns:
- True if agent restart has been requested, false otherwise.
-