2009-01-09 1.2.0

org.eclipse.soda.dk.agent
Class Agent

java.lang.Object
  extended by org.eclipse.soda.dk.core.EscObject
      extended by org.eclipse.soda.dk.core.ConfigurableObject
          extended by org.eclipse.soda.dk.agent.Agent
All Implemented Interfaces:
AgentService, ConfigurableService

public class Agent
extends ConfigurableObject
implements AgentService

Since:
1.0
Version:
1.2.0

Field Summary
protected  int logLevel
          Define the log level (int) field.
protected  org.eclipse.soda.dk.notification.service.NotificationService notificationService
          Define the notification service (NotificationService) field.
 
Fields inherited from class org.eclipse.soda.dk.core.ConfigurableObject
BUNDLE_VERSION_PROPERTY
 
Fields inherited from class org.eclipse.soda.dk.core.EscObject
CLONE_EXCEPTION_RESOURCE, EMPTY_BYTES, EMPTY_STRING, ERROR_OCCURRED_EXCEPTION_RESOURCE, ID_FILTER_KEY, ID_KEY, ID_KEY_ANY, ID_NAME_KEY, INTEGER_TABLE, INTEGER_TABLE_SIZE, KEY_KEY, LOG_DEBUG, LOG_DEFAULT, LOG_ERROR, LOG_INFO, LOG_LEVEL_KEY, LOG_TRACE, LOG_WARNING, LONG_TABLE, LONG_TABLE_SIZE, PREFIX_KEY, READONLY_EMPTY_COLLECTION, READONLY_EMPTY_LIST, READONLY_EMPTY_MAP, RESOURCE_BUNDLE, SLEEP_EXCEPTION_RESOURCE, SYSTEM_INFO_RESOURCE, TO_STRING_CONFIGURATION_KEYS, TRACE_LEVEL_HIGH, TRACE_LEVEL_LOW, TRACE_LEVEL_MAX, TRACE_LEVEL_MIN, TRACE_LEVEL_NONE, TRACE_LEVEL_NORMAL, TRACELEVEL_KEY, UNKNOWN_ERROR_RESOURCE, Unmodifiable
 
Fields inherited from interface org.eclipse.soda.dk.agent.service.AgentService
SERVICE_NAME
 
Constructor Summary
Agent()
          Constructs an instance of this class.
 
Method Summary
 void exit()
          Exit.
 java.util.Dictionary getConfigurationInformation()
          Gets the configuration information (Dictionary) value.
 int getLogLevel()
          Gets the log level (int) value.
 org.eclipse.soda.dk.notification.service.NotificationService getNotificationService()
          Gets the notification service value.
 void setConfigurationInformation(java.util.Dictionary configurationInformation)
          Sets the configuration information value.
 void setLogLevel(int logLevel)
          Sets the log level value.
 void setNotificationService(org.eclipse.soda.dk.notification.service.NotificationService notificationService)
          Sets the notification service value.
 void start()
          Start.
 void stop()
          Stop.
 
Methods inherited from class org.eclipse.soda.dk.core.ConfigurableObject
createPropertiesFromHeaders, getConfigurationService, getId, putConfigurationInformation, setConfigurationService, setId, validateConfiguration
 
Methods inherited from class org.eclipse.soda.dk.core.EscObject
attemptRecoveryFromError, createBoolean, createDefaultLogService, createException, createException, createInteger, createIntegerTable, createLong, createLongTable, createNumber, format, getBoolean, getByte, getChar, getCurrentTimestamp, getDefaultLogService, getDefaultResource, getDouble, getErrorSeverity, getFloat, getIdName, getInt, getLoadLibraryName, getLogDetails, getLogDetails, getLogDetails0, getLogDetails1, getLogDetails2, getLogDetails3, getLogDetails4, getLogDetails5, getLogDetails6, getLogDetails7, getLogService, getLong, getObject, getOutputName, getReadOnlyEmptyCollection, getReadOnlyEmptyList, getReadOnlyEmptyMap, getResource, getShort, getSimpleClassName, getStaticBoolean, getStaticByte, getStaticChar, getStaticDouble, getStaticFloat, getStaticInt, getStaticLong, getStaticObject, getStaticShort, getStaticString, getString, getTraceLevel, getVmLibraryVersion, handleError, handleError, handleError, handleError, handleErrorInternal, handleStaticError, handleStaticException, isBackward, isDebug, isLogging, isTrace, isUnmodifiable, loadService, log, log, log, report, report, report, report, report, report, report, reportError, reportSystemInfo, setBackward, setDebug, setDefaultLogService, setLogService, setTraceLevel, setUnmodifiable, shouldLog, sleep, startupEscStatic, toString, toStringConfigurationKeys, toStringInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

notificationService

protected org.eclipse.soda.dk.notification.service.NotificationService notificationService
Define the notification service (NotificationService) field.


logLevel

protected int logLevel
Define the log level (int) field.

Constructor Detail

Agent

public Agent()
Constructs an instance of this class.

Method Detail

exit

public void exit()
Exit.

Specified by:
exit in interface AgentService

getConfigurationInformation

public java.util.Dictionary getConfigurationInformation()
Gets the configuration information (Dictionary) value.

Specified by:
getConfigurationInformation in interface AgentService
Specified by:
getConfigurationInformation in interface ConfigurableService
Overrides:
getConfigurationInformation in class ConfigurableObject
Returns:
The configuration information (Dictionary) value.
See Also:
setConfigurationInformation(Dictionary)

getLogLevel

public int getLogLevel()
Gets the log level (int) value.

Overrides:
getLogLevel in class EscObject
Returns:
The log level (int) value.
See Also:
setLogLevel(int)

getNotificationService

public org.eclipse.soda.dk.notification.service.NotificationService getNotificationService()
Gets the notification service value.

Specified by:
getNotificationService in interface AgentService
Returns:
The notification service (NotificationService) value.
See Also:
setNotificationService(NotificationService)

setConfigurationInformation

public void setConfigurationInformation(java.util.Dictionary configurationInformation)
Sets the configuration information value.

Specified by:
setConfigurationInformation in interface AgentService
Specified by:
setConfigurationInformation in interface ConfigurableService
Overrides:
setConfigurationInformation in class ConfigurableObject
Parameters:
configurationInformation - The configuration information (Dictionary) parameter.
See Also:
getConfigurationInformation()

setLogLevel

public void setLogLevel(int logLevel)
Sets the log level value.

Parameters:
logLevel - The log level (int) parameter.
See Also:
getLogLevel()

setNotificationService

public void setNotificationService(org.eclipse.soda.dk.notification.service.NotificationService notificationService)
Sets the notification service value.

Specified by:
setNotificationService in interface AgentService
Parameters:
notificationService - The notification service (NotificationService) parameter.
See Also:
getNotificationService()

start

public void start()
Start.

Specified by:
start in interface AgentService

stop

public void stop()
Stop.

Specified by:
stop in interface AgentService

2009-01-09 1.2.0

Copyright (c) 2009 IBM. See license in Legal section.