org.aselect.agent.ntservice
Class AgentNTService

java.lang.Object
  extended by org.aselect.agent.ntservice.AgentNTService
All Implemented Interfaces:
IAgentEventListener

public class AgentNTService
extends java.lang.Object
implements IAgentEventListener

A-Select agent service wrapper.

Description:
This class can be used to use the start the A-Select Agent as a Windows service.

Concurrency issues:
none.

Author:
Alfa & Ariss

Field Summary
static java.lang.String MODULE
          The MODULE name.
 
Constructor Summary
AgentNTService()
          Create a new intance.
 
Method Summary
 void handleAgentEvent(AgentEvent oAgentEvent)
          Handles Agent events.
static void main(java.lang.String[] saArgs)
          main[] entry point for starting the Agent in service mode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODULE

public static final java.lang.String MODULE
The MODULE name.

See Also:
Constant Field Values
Constructor Detail

AgentNTService

public AgentNTService()
Create a new intance.

Description:
Instantiates an A-Select Agent and lets it start by calling the init() method and then the startServices() method.

Concurrency issues:
-

Preconditions:
none.

Postconditions:
The A-Select agent is started and the listeners and handling threads are started.

Method Detail

main

public static void main(java.lang.String[] saArgs)
main[] entry point for starting the Agent in service mode.


Description:
Instantiates an AgentNTService.

Concurrency issues:
none.

Preconditions:
none.

Postconditions:
none.

Parameters:
saArgs - the commandline parameters.

handleAgentEvent

public void handleAgentEvent(AgentEvent oAgentEvent)
Handles Agent events.

Specified by:
handleAgentEvent in interface IAgentEventListener
Parameters:
oAgentEvent - The event that should be processed.
See Also:
IAgentEventListener.handleAgentEvent(org.aselect.agent.ntservice.AgentEvent)


Copyright © 2008 SURFnet BV. All Rights Reserved.