A B C D E F G H I J K L M N O P Q R S T U V W X Z

A

ADD_HISTORY_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the 'addHistory' method name
ADD_INBOX_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the 'addInbox' method name
ADD_OUTBOX_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the 'addOutbox' method name
addAgentToWatch(String) - Method in class com.ls.lars.communication.MessageRouter
Adds an agent to the list of watched agents, i.e. when that agent gets connected the AgentMessageRouter will be notified about that.
addAttribute(String, String) - Method in class com.ls.util.xml.XMLFragment
Adds an attribute with the given name and value to the root element of this XMLFragment.
addChild(String, String) - Method in class com.ls.util.xml.XMLFragment
Adds a new sub element to this XMLFragment.
addChild(XMLFragment) - Method in class com.ls.util.xml.XMLFragment
Adds a new sub element to this XMLFragment as given by element
addChildren(Map) - Method in class com.ls.util.xml.XMLFragment
Adds a new sub element to this XMLFragment.
addConnectionParameter(String, Object) - Method in class com.ls.lars.communication.CommunicationTemplate
Sets a connection parameter e.g. compression settings, secure settings, ...
addContent(String) - Method in class com.ls.util.xml.XMLFragment
Adds the given stringContent to this XMLFragment's content.
addFailedAgentName(String) - Method in class com.ls.lars.communication.ServiceException
adds an agent name to the collection of agents, for whom this service exception is valid
addForward(String, String) - Method in class com.ls.lars.communication.MessageRouter
adds a forward to an agent to the forward list
addMessenger(String, Messenger) - Method in class com.ls.lars.communication.MessageRouter
Adds a messenger of an agent to the list of messengers.
addPlatform(String, String, int) - Method in class com.ls.lars.communication.MessageRouter
adds a platform to the list of connected platforms
addPlatformToVectorOfPlatforms(AgentSynchronization.LarsPlatformRepresentation, Vector) - Method in class com.ls.lars.server.AgentSynchronization
This method adds a given platform to a Vector of platforms.
ADDRESS_CONFIG - Static variable in class com.ls.lars.communication.Message
used as sender address, if this message was read from a config file
ADDRESS_LARS_INTERNAL - Static variable in class com.ls.lars.communication.Message
used as receiver or sender address, if this message is used only lars internal
addRule(String, Map) - Method in class com.ls.util.validation.BaseValidation
The following function group adds a rule to the know rule sets.
addRule(String, Map) - Method in class com.ls.util.validation.Validation
The following function group adds a rule to the know rule sets.
addRule(String, ValidatorRuleSet) - Method in class com.ls.util.validation.Validator
The following function group adds a rule to the know rule sets.
addRuleType(String, Map) - Method in class com.ls.util.validation.BaseValidation
The following function adds a rule type to the typeHash.
addRuleType(String, Map) - Method in class com.ls.util.validation.Validation
The following function adds a rule type to the typeHash.
addStaticDataObject(Object) - Method in class com.ls.util.xml.JavaXMLConverter
Allows to specify the object which contain the static data.
addSystemErrorLog(ISystemErrorLog) - Static method in class com.ls.service.log.LoggerFactory
configures the LoggerFactory to use an additional system error log implementation
addTrustedAgents(List, String) - Method in class com.ls.lars.security.ConnectionController.AccessControl
adds the given list of agent names to the list of trustedAgents.
addTrustedIpAddresses(List, String) - Method in class com.ls.lars.security.ConnectionController.AccessControl
adds the given list of IP addresses to the list of trustedIpAddresses.
addTrustedPlatforms(List, String) - Method in class com.ls.lars.security.ConnectionController.AccessControl
adds the given list of platform names to the list of trustedPlatforms.
addUntrustedAgents(List, String) - Method in class com.ls.lars.security.ConnectionController.AccessControl
adds the given list of agent names to the list of untrustedAgents.
addUntrustedIpAddresses(List, String) - Method in class com.ls.lars.security.ConnectionController.AccessControl
adds the given list of IP addresses to the list of untrustedIpAddresses.
addUntrustedPlatforms(List, String) - Method in class com.ls.lars.security.ConnectionController.AccessControl
adds the given list of platform names to the list of untrustedPlatforms.
ADMIN_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the administrator name to shutdown the lars
ADMINISTRATOR_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the administrator TAG to shutdown the lars
AGENT_LIST_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the agentList TAG
AGENT_MANAGER_NAME - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the AgentManager's name for sending messages to AgentManager
AGENT_NUMBER_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the number of the serialized agent to do something with
AGENT_SYNCHRONIZE_SUPERVISOR_NAME - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the AgentSynchronizeSupervisor's name for sending messages to this agent
AgentCron - class com.ls.lars.server.AgentCron.
to Class Specification The role of this agent is: if an agent wants to do a job periodically; then that agent sends a request to AgentCron to be notified at a specified period of time to do a specified job.
AgentCron(String, String, List) - Constructor for class com.ls.lars.server.AgentCron
Constructor with the agentName, its homePlatform and a List containing the names of the configuration file(s) of the new agent.
AgentJMSListener - class com.ls.lars.server.AgentJMSListener.
This class is the wrapper agent needed for the communication of a JMS listener.
AgentJMSListener(String, String, List) - Constructor for class com.ls.lars.server.AgentJMSListener
Constructor that only calls AgentListener(agentName, homePlatform, agentConfigFiles)
AgentJSecureSocketListener - class com.ls.lars.server.AgentJSecureSocketListener.
This class is the wrapper agent needed for the communication of a jsecure socket listener.
AgentJSecureSocketListener(String, String, List) - Constructor for class com.ls.lars.server.AgentJSecureSocketListener
Constructor that only calls super(agentName, homePlatform, agentConfigFiles) and sets the default login agent name.
AgentJSocketListener - class com.ls.lars.server.AgentJSocketListener.
This class is the wrapper agent needed for the communication of a j-socket listener.
AgentJSocketListener(String, String, List) - Constructor for class com.ls.lars.server.AgentJSocketListener
Constructor that only calls super(agentName, homePlatform, agentConfigFiles)
agentListener - Variable in class com.ls.lars.server.AgentSynchronization
Member variable stores names of the agent listeners
AgentListener - class com.ls.lars.server.AgentListener.
This agent is managing a part of the security regarding the client-to-lars- and the inter-lars-communication and provides for trusted ip addresses, denied agents and the communication port for all inheriting listener agents.
AgentListener(String, String, List) - Constructor for class com.ls.lars.server.AgentListener
Constructor with the agentName, its homePlatform and a List containing the names of the configuration file(s) of the new agent.
AgentLogin - class com.ls.lars.server.AgentLogin.
This agent handles the login process pertaining JSecureSocket communication.
AgentLogin(String, String, List) - Constructor for class com.ls.lars.server.AgentLogin
Constructor with the agentName, its homePlatform and a List containing the names of the configuration file(s) of the new agent.
It initializes the administration of all authorized users.
AgentManager - class com.ls.lars.server.AgentManager.
This agent creates, serializes and removes agents on request.
AgentManager(String, String, List) - Constructor for class com.ls.lars.server.AgentManager
Constructor with the agentName, its homePlatform and a List containing the names of the configuration files of the new agent
agentMaxPool - Variable in class com.ls.lars.server.AgentTemplate
the maxim number of agents in the pool
AgentMessageRouter - class com.ls.lars.server.AgentMessageRouter.
This class is the wrapper agent for the MessageRouter class.
AgentMessageRouter(String, String, List) - Constructor for class com.ls.lars.server.AgentMessageRouter
Constructor with the agentName, its homePlatform and a List containing the names of the configuration file(s) of the new agent.
It calls super(agentName, homePlatform, agentConfigFiles) and gets a reference to the local platform's message router by calling MessageRouter.getMessageRouter().
agentMessageRouterName - Variable in class com.ls.lars.server.AgentTemplate
Name of the local platforms AgentMessageRouter.
agentMinPool - Variable in class com.ls.lars.server.AgentTemplate
the minim number of agents in the pool
agentName - Variable in class com.ls.lars.communication.CommunicationTemplate
Name of this agent, initialized in the constructor.
AgentPlatformSecurity - class com.ls.lars.server.AgentPlatformSecurity.
The lars platform synchronization process allows the inter-connection of lars platforms in order to enable cross-platform messaging.
AgentPlatformSecurity(String, String, List) - Constructor for class com.ls.lars.server.AgentPlatformSecurity
Constructor with the agentName, its homePlatform and the name of the configuration file of the new agent
agentPlatformSecurityName - Variable in class com.ls.lars.server.AgentSynchronization
Member variable stores agent name of the AgentPlatformSecurity (default: aps)
AgentRMIListener - class com.ls.lars.server.AgentRMIListener.
This class is the wrapper agent needed for the communication of a RMI listener.
AgentRMIListener(String, String, List) - Constructor for class com.ls.lars.server.AgentRMIListener
Constructor that only calls AgentListener.AgentListener(agentName, homePlatform, agentConfigFiles)
AgentSocketListener - class com.ls.lars.server.AgentSocketListener.
This class is the wrapper agent needed for the communication of a socket listener.
AgentSocketListener(String, String, List) - Constructor for class com.ls.lars.server.AgentSocketListener
Constructor that only calls super(agentName, homePlatform, agentConfigFiles)
agentSychronizeConnectionHandlerName - Variable in class com.ls.lars.server.AgentSynchronization
Member variable stores agent name of the AgentSynchronizeConnectionHandler (default: asch)
agentSychronizeSupervisorName - Variable in class com.ls.lars.server.AgentSynchronization
Member variable stores agent name of the AgentSynchronizeSupervisor (default: ass)
AgentSynchronization - class com.ls.lars.server.AgentSynchronization.
This agent is the abstract super class of all agent synchronization classes!
AgentSynchronization.LarsPlatformRepresentation - class com.ls.lars.server.AgentSynchronization.LarsPlatformRepresentation.
Inner class that represents lars remote platforms.
AgentSynchronization.LarsPlatformRepresentation(AgentSynchronization, Map) - Constructor for class com.ls.lars.server.AgentSynchronization.LarsPlatformRepresentation
Constructor receiving the remote platform information as a map.
AgentSynchronization(String, String, List) - Constructor for class com.ls.lars.server.AgentSynchronization
Constructor with the agentName, its homePlatform and the name of the configuration file of the new agent.
AgentSynchronizeConnectionHandler - class com.ls.lars.server.AgentSynchronizeConnectionHandler.
AgentSynchronizeConnectionHandler manages the connections to the remote platforms.
AgentSynchronizeConnectionHandler(String, String, List) - Constructor for class com.ls.lars.server.AgentSynchronizeConnectionHandler
Constructor with the agentName, its homePlatform and the name of the configuration file of the new agent
AgentSynchronizeSupervisor - class com.ls.lars.server.AgentSynchronizeSupervisor.
This agent is the supervisor of the platform synchronization!
AgentSynchronizeSupervisor(String, String, List) - Constructor for class com.ls.lars.server.AgentSynchronizeSupervisor
Constructor with the agentName, its homePlatform and the name of the configuration file of the new agent.
AgentSystemInformation - class com.ls.lars.server.AgentSystemInformation.
This agent is able to write system information in the system's log file.
AgentSystemInformation(String, String, List) - Constructor for class com.ls.lars.server.AgentSystemInformation
Constructor with the agentName, its homePlatform and a List containing the names of the configuration file(s) of the new agent.
AgentTemplate - class com.ls.lars.server.AgentTemplate.
provides everything a lars agent needs to execute its life cycle
All other agents descend from this class.
AgentTemplate(String, String, List) - Constructor for class com.ls.lars.server.AgentTemplate
Constructor, that creates a local messenger and does the basic initialization of a new agent.
AgentTimer - class com.ls.lars.server.AgentTimer.
to Class Specification Note: AgentTimer logs ERROR and WARNING log information in both the system's log file and it's own log file, alll log messages with a less important log level are logged in AgentTimer's own log file.
AgentTimer(String, String, List) - Constructor for class com.ls.lars.server.AgentTimer
Constructor with the agentName, its homePlatform and a List containing the names of the configuration file(s) of the new agent.
ALIAS_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the alias TAG for generating new command classes
ALIASES_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the aliases TAG for generating alias names corresponding command's
allMessengersCloseConnection() - Method in class com.ls.lars.communication.MessageRouter
sends a 'close_connection' message to all connected messengers
ARCHIVE_STRING - Static variable in class com.ls.util.xml.XMLConfigLoader
constant for the String 'archive'
areMatching(String, String) - Method in class com.ls.util.text.WildcardString
Retrieves the result of matching
areMatching(String, String, boolean) - Method in class com.ls.util.text.WildcardString
Retrieves the result of matching
areNotMatching(String, String) - Method in class com.ls.util.text.WildcardString
Retrieves the result of "not matching" function
areNotMatching(String, String, boolean) - Method in class com.ls.util.text.WildcardString
Retrieves the result of "not matching" function
askToSaveHistory() - Method in interface com.ls.cockpit.IUserInterface
asks if the history should be saved if a new history will be loaded or cockpit will be ended.
askToSaveHistory() - Method in class com.ls.cockpit.shell.CockpitShell
asks if the history should be saved if a new history will be loaded or cockpit will be ended.
ATTEMPT_CONNECTIONS - Static variable in class com.ls.lars.server.AgentSynchronization
Constant representing a string constant in the cfg-file
AUTHENTICATE_BLOWFISH_KEY - Static variable in interface com.ls.lars.ILarsConstants
constant for getting the blowfish key used in com.ls.lars.communication.JSecureSocketMessenger's authentification mechanism
AUTHENTICATE_FINGERPRINT - Static variable in interface com.ls.lars.ILarsConstants
constant for getting the authentication key's fingerprint used in com.ls.lars.communication.JSecureSocketMessenger's authentification mechanism
AUTHENTICATE_KEY_MAP - Static variable in interface com.ls.lars.ILarsConstants
constant for getting the authentication key map used in com.ls.lars.communication.JSecureSocketMessenger's authentification mechanism
AUTHENTICATE_PUBLIC_KEY - Static variable in interface com.ls.lars.ILarsConstants
constant for getting the public key used in com.ls.lars.communication.JSecureSocketMessenger's authentification mechanism
AUTHENTICATE_SEED - Static variable in interface com.ls.lars.ILarsConstants
constant for getting the authentication key's seed used in com.ls.lars.communication.JSecureSocketMessenger's authentification mechanism
AUTHENTICATE_TIMEOUT - Static variable in interface com.ls.cockpit.ICockpitConstants
constant for default timeout on authentication
AUTHENTICATE_USER - Static variable in interface com.ls.lars.ILarsConstants
constant for getting the user to authenticate used in com.ls.lars.communication.JSecureSocketMessenger's authentification mechanism
AUTHENTICATION_PASSWORD - Static variable in interface com.ls.lars.communication.ICommunication
Constant for setting the password in JSecureSocketMessenger's authentication mechanism
Value is set to "connectionAuthenticationPassword"
AUTHENTICATION_USER - Static variable in interface com.ls.lars.communication.ICommunication
Constant for setting the user in JSecureSocketMessenger's authentication mechanism
Value is set to "connectionAuthenticationUser"
AUTO_COMPRESSION_START_SIZE_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the autoCompressionStartSize TAG
AUTO_COMPRESSION_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the autoCompression TAG

B

Base64 - class com.ls.util.bytes.Base64.
Encode arbitrary binary into printable ASCII using BASE64 encoding.
Base64() - Constructor for class com.ls.util.bytes.Base64
 
Base64TestCase - class com.ls.util.bytes.Base64TestCase.
TestCase for Base64
Base64TestCase(String) - Constructor for class com.ls.util.bytes.Base64TestCase
Constructor which gives a name to the test case object.
BaseException - exception com.ls.BaseException.
Living systems base exception for all other exceptions (but no runtime exceptions).
BaseException() - Constructor for class com.ls.BaseException
Creates a BaseException with no specified detail message.
BaseException(String) - Constructor for class com.ls.BaseException
Creates a BaseException with the specified detail message.
BaseException(String, Throwable) - Constructor for class com.ls.BaseException
Creates a BaseException with the specified detail message and nested exception.
BaseRuntimeException - exception com.ls.BaseRuntimeException.
Living systems base runtime exception for all other runtime exceptions.
BaseRuntimeException() - Constructor for class com.ls.BaseRuntimeException
Creates a BaseRuntimeException with no specified detail message.
BaseRuntimeException(String) - Constructor for class com.ls.BaseRuntimeException
Creates a BaseRuntimeException with the specified detail message.
BaseRuntimeException(String, Throwable) - Constructor for class com.ls.BaseRuntimeException
Creates a BaseRuntimeException with the specified detail message and nested exception.
BaseValidation - class com.ls.util.validation.BaseValidation.
This class is for testing of regular expressions.
BaseValidation() - Constructor for class com.ls.util.validation.BaseValidation
Creates a new Validator object.
bd - Static variable in class com.ls.lars.server.AgentManager
contains the build date (automatically maintained by the BuildNumberParser)
bigDecimalToString(BigDecimal) - Static method in class com.ls.util.Tool
Returns a date object from the given day, month and year value
bnr - Static variable in class com.ls.lars.server.AgentManager
contains the build number (automatically maintained by the BuildNumberParser)
BROADCAST_MESSAGE_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the broadcast message (change to the Message constants if supported)
BROADCAST_MESSAGE_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the broadcast message TAG
buffer - Variable in class com.ls.util.io.BufferedOutputSource
byte array to write the bytes in.
BufferedInputSource - class com.ls.util.io.BufferedInputSource.
The InputSource class reads and buffers from an Input Source.
BufferedInputSource(InputStream) - Constructor for class com.ls.util.io.BufferedInputSource
Constructor with no additional method calls.
BufferedOutputSource - class com.ls.util.io.BufferedOutputSource.
The OutputSource class writes byte wise data into a buffer.
BufferedOutputSource() - Constructor for class com.ls.util.io.BufferedOutputSource
Constructor with no additional method calls.
bufferIndex - Variable in class com.ls.util.io.BufferedOutputSource
the index of the byte array BufferedOutputSource.buffer
BuildException - exception com.ls.util.threading.BuildException.
This exception class is used by ObjectBuilder to indicate an error while constructing an object.
buildGlobalName(String) - Static method in class com.ls.lars.communication.LarsNaming
returns an agent's global name by appending the '@' symbol and this platforms homePlatform.
buildGlobalName(String, String) - Static method in class com.ls.lars.communication.LarsNaming
returns an agent's global name by appending the '@' symbol and the given platform name.
buildString(String, Map) - Method in class com.ls.util.xml.XMLComplexHandler
creates the string representation of an xml structure as specified in the given map.
buildString(String, Map) - Method in class com.ls.util.xml.XMLHandler
creates a XML document from a map
BundleAccess - class com.ls.util.resource.BundleAccess.
Class for retrieving database error codes
BundleAccess() - Constructor for class com.ls.util.resource.BundleAccess
 

C

cacheAdd(Map) - Static method in class com.ls.security.PublicKeyCache
Adds several public key certificates to the cache.
cacheAdd(String, byte[]) - Static method in class com.ls.security.PublicKeyCache
Adds a public key certificate with the given keyID as key to the cache.
cacheCheck(String) - Static method in class com.ls.security.PublicKeyCache
checks if the given keyID exists in the cache
cacheClear() - Static method in class com.ls.security.PublicKeyCache
empties the cache
cacheGet(String) - Static method in class com.ls.security.PublicKeyCache
Gets the publicKeyCertificate with the given keyID from the cache
cacheGetAll() - Static method in class com.ls.security.PublicKeyCache
Gets all publicKeyCertificates stored in the cache.
cacheRemove(String) - Static method in class com.ls.security.PublicKeyCache
removes the public key certificate of the given key from cache
CacheStatistic - class com.ls.util.cache.CacheStatistic.
Statistic class that can be used by any cacher class.
CacheStatistic() - Constructor for class com.ls.util.cache.CacheStatistic
Constructor, that initialize the internal variables
CacheStatistic(int, int, int, int) - Constructor for class com.ls.util.cache.CacheStatistic
Constructor, that initialize the variables
CacheTimer - class com.ls.util.cache.CacheTimer.
This class is used for caching data that will be used in different class.
CacheTimer(String) - Constructor for class com.ls.util.cache.CacheTimer
Constructor, that creates the hash table for a specific "cacheId".
CacheTimer(String, long) - Constructor for class com.ls.util.cache.CacheTimer
Constructor, that creates the hash table and sets the life time of a variable.
CacheTimerTestCase - class com.ls.util.cache.CacheTimerTestCase.
Test class for CacheTimer.
CacheTimerTestCase(String) - Constructor for class com.ls.util.cache.CacheTimerTestCase
Constructor.
calculateEquation(String) - Method in class com.ls.util.math.FormulaCalculator
Calculating the given equation (formula).
calculateEquation(String, Hashtable) - Method in class com.ls.util.math.FormulaCalculator
Calculating the given equation (formula).
canLog(int) - Method in interface com.ls.service.log.ILogger
determines, if a notice with the given log level will be logged
canLog(int) - Method in class com.ls.service.log.log4j.Logger4j
determines, if a notice with the given log level will be logged
canLog(int) - Method in class com.ls.service.log.Logger
determines, if a notice with the given log level will be logged
canLog(int) - Static method in class com.ls.service.log.SystemLogger
detemines, if a notice with the given log level will be logged
CertificateRequestException - exception com.ls.security.pki.CertificateRequestException.
Exception specific to the certificate request preparation, for example, if the DName string is not correct.
CertificateRequestException(String) - Constructor for class com.ls.security.pki.CertificateRequestException
Creates a CertificateRequestException with the specified detail message.
CertificateRequestException(String, Throwable) - Constructor for class com.ls.security.pki.CertificateRequestException
Creates a CertificateRequestException with the specified detail message and nested exception.
CertificateValidityException - exception com.ls.security.pki.CertificateValidityException.
This exception is thrown when the cached certificate's validity expires or the certificate will be valid in future ( (still not valid)
CertificateValidityException(String) - Constructor for class com.ls.security.pki.CertificateValidityException
Creates a CertificateValidityException with the specified detail message.
CertificateValidityException(String, Throwable) - Constructor for class com.ls.security.pki.CertificateValidityException
Creates a CertificateValidityException with the specified detail message and nested exception.
CFG_FILE_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the config file TAG for starting new agents
characters(char[], int, int) - Method in class com.ls.util.xml.XMLComplexHandler
any character within an element node will be interpreted as the value of this element node.
characters(char[], int, int) - Method in class com.ls.util.xml.XMLHandler
Any character within an element node will be interpreted as the value of this element node.
CHECK_CONNECTIONS - Static variable in class com.ls.lars.server.AgentSynchronization
Constant representing a string constant in the cfg-file
check() - Method in class com.ls.util.threading.ObjectBuilder
Performes a check if all set properites are correct.
check(IPoolObjectValidationCheckStrategy) - Method in class com.ls.util.Pool
This method allows the user to specify an algorithm (strategy) for checking all pool objects by implementing the interface IPoolObjectValidationCheckStrategy.
check(Object) - Method in interface com.ls.util.IPoolObjectValidationCheckStrategy
Checks a given object if it's valid.
checkConnectionRequest(String, String, String) - Static method in class com.ls.lars.security.ConnectionController
checks whether an agent having the given name, homePlatform, IP address is allowed to connect to the local platform
checkForEqualPlatformConnections(AgentSynchronization.LarsPlatformRepresentation, AgentSynchronization.LarsPlatformRepresentation) - Method in class com.ls.lars.server.AgentSynchronization
This method returns true, if two platfrom connections are equal.
checkForEqualPlatforms(AgentSynchronization.LarsPlatformRepresentation, AgentSynchronization.LarsPlatformRepresentation) - Method in class com.ls.lars.server.AgentSynchronization
This method returns true, if two platfroms are equal.
checkPermission(Permission) - Method in class com.ls.lars.security.LarsSecurityManager
Throws a SecurityException if the requested access, specified by the given permission, is not permitted based on the security policy currently in effect.
checkPlatformInVectorOfPlatforms(AgentSynchronization.LarsPlatformRepresentation, Vector) - Method in class com.ls.lars.server.AgentSynchronization
This method returns true, if the platform is already stored in the platform Vector, false otherwise.
checkSendSystemReply(Message, String, int, String) - Method in class com.ls.lars.communication.CommunicationTemplate
Called to check, whether the system needs to generate and send a reply to the given message for the specified failure code.
checkTheValidityOfCachedCertificate(byte[]) - Method in interface com.ls.lars.security.IPKIHandler
This method takes a byte array representation of a certificate, and checks it agains the current date. if OK, nothing is returned, if not, exception will be thrown.
checkTheValidityOfCachedCertificate(byte[]) - Method in class com.ls.lars.security.PKIHandler
Takes a byte array representation of a certificate, and checks it agains the current date.
checkTheValidityOfCachedCertificate(byte[]) - Method in interface com.ls.security.pki.IPKIUtil
Takes a byte array representation of a certificate, and checks it agains the current date.
CLASS_CREATION_EXCEPTION - Static variable in class com.ls.util.xml.XMLToJavaConversionException
error type 101 : indicates that a classname is part of the xml string that is not in the CLASSPATH
CLASS_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the class TAG for agent's class
clear() - Method in class com.ls.util.cache.CacheTimer
Clears all data in the hash
clear() - Method in class com.ls.util.container.ReferenceIdentityHashtable
Removes all keys and values.
clear() - Method in class com.ls.util.xml.XMLFragment
Any call to this method throws always an UnsupportedOperationException!
clearFailedAgentNames() - Method in class com.ls.lars.communication.ServiceException
clears the collection of all agent names, for whom this service exception is valid
clearOldData() - Method in class com.ls.util.cache.CacheTimer
Clears all data which are old (duration > maxDuration)
clearPropertyError(String) - Method in class com.ls.util.threading.ObjectBuilder
Resets a previously set property error.
clearSystemErrorLogs() - Static method in class com.ls.service.log.LoggerFactory
removes all configured system error log implementations
ClientCommunication - class com.ls.lars.communication.ClientCommunication.
This class is used to connect to the lars platform.
ClientCommunication(String, Map, IFromLars) - Constructor for class com.ls.lars.communication.ClientCommunication
Constructor.
ClientMessengerFactory - class com.ls.lars.communication.ClientMessengerFactory.
This messenger factory returns an instance of one of several possible messenger classes depending on the data provided to it.
ClientMessengerFactory() - Constructor for class com.ls.lars.communication.ClientMessengerFactory
 
ClientSynchronization - class com.ls.lars.communication.ClientSynchronization.
This class is used to connect to other lars platform.
ClientSynchronization(String, String, int, String, String, ILogger, Map) - Constructor for class com.ls.lars.communication.ClientSynchronization
Constructor which builds the communication part for the messenger of the platform synchronization.
clone() - Method in class com.ls.lars.communication.Message
Returns a new message that is the clone of this message.
CLOSE_CFG_FILE_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the close config file TAG for starting new agents
CLOSE_CONTENT_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the close content TAG for sending messages
closeConnection() - Method in interface com.ls.lars.communication.IRMIConnector
closes the remote connection that the remote object can unbind itself from rmi registry
closeConnection() - Method in class com.ls.lars.communication.JMSMessenger
calls closeConnection method with the parameter EVALUATE_CONNECTION_STATUS
closeConnection() - Method in class com.ls.lars.communication.RMIConnector
closes the remote connection that the remote object can unbind itself from rmi registry
closeConnection(boolean) - Method in class com.ls.lars.communication.JMSMessenger
Behaviour depends on the connection status:
If connection status is CommunicationTemplate.STATUS_NOT_CONNECTED: returns after writing a warning in the system log file.
closeLogFile() - Method in interface com.ls.service.log.ILogger
Closes the log file.
closeLogFile() - Method in class com.ls.service.log.log4j.Logger4j
closes the logfile
closeLogFile() - Method in class com.ls.service.log.Logger
closes the logfile
closeMessengerConnection() - Method in class com.ls.lars.communication.ClientSynchronization
Method closes given connections to remote platforms actively by calling closeConnection() of the messenger.
closePlatformConnection(String) - Static method in class com.ls.lars.communication.ClientSynchronization
Method closes given connections to remote platforms actively and removes the Messenger from the MessageRouter.
COCKPIT_APPLET_CLASS_NAME - Static variable in interface com.ls.cockpit.ICockpitConstants
The name of the CockpitApplet class
COCKPIT_GUI_CLASS_NAME - Static variable in interface com.ls.cockpit.ICockpitConstants
The name of the CockpitSwing class
COCKPIT_SERVLET_CLASS_NAME - Static variable in interface com.ls.cockpit.ICockpitConstants
The name of the CockpitServlet class
COCKPIT_SHELL_CLASS_NAME - Static variable in interface com.ls.cockpit.ICockpitConstants
The name of the CockpitShell class
CockpitShell - class com.ls.cockpit.shell.CockpitShell.
The shell implementation of cockpit to connect lars and sending messages, ...
CockpitShell() - Constructor for class com.ls.cockpit.shell.CockpitShell
the default constructor
CockpitShell(ICommand, Map) - Constructor for class com.ls.cockpit.shell.CockpitShell
the constructor containing a reference to cockpit (CommandInterface)
COMMAND_ADD_MONITOR_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'addMonitor'
COMMAND_CLEAR_HISTORY_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'clearHistory'
COMMAND_CLEAR_INBOX_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'clearInbox'
COMMAND_CLEAR_MONITOR_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'clearMonitor'
COMMAND_CLEAR_OUTBOX_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'clearOutbox'
COMMAND_COMMAND_PATH_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'commandPath'
COMMAND_COMPRESSION_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'compression'
COMMAND_CONNECT_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'connect'
COMMAND_CONNECTION_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'connection'
COMMAND_CREATE_REPLY_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'createReply'
COMMAND_CURRENT_CONNECTION_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'currentConnection'
COMMAND_DELETE_GROUP_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'deleteGroup'
COMMAND_DELETE_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'delete'
COMMAND_DISCONNECT_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'disconnect'
COMMAND_FORWARD_MESSAGE_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'forwardMessage'
COMMAND_HELP_PATH_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'helpPath'
COMMAND_HELP_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'help'
COMMAND_HISTORY_ENTRY_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'historyEntry'
COMMAND_HISTORY_PATH_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'historyPath'
COMMAND_HISTORY_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'history'
COMMAND_INBOX_ENTRY_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'inboxEntry'
COMMAND_INBOX_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'inbox'
COMMAND_KILL_GROUP_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'killGroup'
COMMAND_KILL_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'kill'
COMMAND_LIST_ACTIVE_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'listActive'
COMMAND_LIST_INACTIVE_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'listInactive'
COMMAND_LIST_PLATFORMS_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'listPlatforms'
COMMAND_LIST_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'list'
COMMAND_LOAD_COMMAND_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'loadCommand'
COMMAND_LOAD_HELP_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'loadHelp'
COMMAND_LOAD_HISTORY_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'loadHistory'
COMMAND_LOAD_MONITOR_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'loadMonitor'
COMMAND_LOG_SYSTEM_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'logSystem'
COMMAND_MANAGER_CLASS_NAME - Static variable in interface com.ls.cockpit.ICockpitConstants
The name of the CommandManager class
COMMAND_MANAGER_PARAMETERS - Static variable in interface com.ls.cockpit.ICockpitConstants
All valid CommandManager parameters
COMMAND_MONITOR_PATH_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'monitorPath'
COMMAND_MONITOR_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'monitor'
COMMAND_NEW_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'new'
COMMAND_OUTBOX_ENTRY_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'outboxEntry'
COMMAND_OUTBOX_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'outbox'
COMMAND_PING_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'ping'
COMMAND_QUIT_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'quit'
COMMAND_RELOAD_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'reload'
COMMAND_REMOVE_CONNECTION_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'removeConnection'
COMMAND_REMOVE_MONITOR_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'removeMonitor'
COMMAND_RESTART_GROUP_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'restartGroup'
COMMAND_RESTART_LARS_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'restartLars'
COMMAND_RESTART_MONITOR_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'restartMonitor'
COMMAND_RESTART_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'restart'
COMMAND_SAVE_HISTORY_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'saveHistory'
COMMAND_SEND_HISTORY_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'sendHistory'
COMMAND_SEND_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'send'
COMMAND_SEND_SYNC_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'sendSync'
COMMAND_SET_COMMAND_PATH_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'setCommandPath'
COMMAND_SET_COMPRESSION_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'setCompression'
COMMAND_SET_CONNECTION_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'setConnection'
COMMAND_SET_HELP_PATH_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'setHelpPath'
COMMAND_SET_HISTORY_PATH_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'setHistoryPath'
COMMAND_SET_MONITOR_PATH_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'setMonitorPath'
COMMAND_SHUTDOWN_LARS_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'shutdownLars'
COMMAND_START_LARS_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'startLars'
COMMAND_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command TAG for generating new command classes
COMMAND_UPDATE_MONITOR_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the command 'updateMonitor'
COMMANDLIST_DIR_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the commandList default search directory
COMMANDLIST_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the COMMANDLIST TAG
CommandNotAvailableException - exception com.ls.cockpit.CommandNotAvailableException.
This exception is used if a command is called which is not available at the moment.
CommandNotAvailableException() - Constructor for class com.ls.cockpit.CommandNotAvailableException
Creates a CommandNotAvailableException with no specified detail message.
CommandNotAvailableException(String) - Constructor for class com.ls.cockpit.CommandNotAvailableException
Creates a CommandNotAvailableException with the specified detail message.
CommandNotAvailableException(String, Throwable) - Constructor for class com.ls.cockpit.CommandNotAvailableException
Creates a CommandNotAvailableException with the specified detail message and nested exception.
CommandNotFoundException - exception com.ls.cockpit.CommandNotFoundException.
This exception is used if a command is called which doesn't exists.
CommandNotFoundException() - Constructor for class com.ls.cockpit.CommandNotFoundException
Creates a CommandNotFoundException with no specified detail message.
CommandNotFoundException(String) - Constructor for class com.ls.cockpit.CommandNotFoundException
Creates a CommandNotFoundException with the specified detail message.
CommandNotFoundException(String, Throwable) - Constructor for class com.ls.cockpit.CommandNotFoundException
Creates a CommandNotFoundException with the specified detail message and nested exception.
CommunicationTemplate - class com.ls.lars.communication.CommunicationTemplate.
provides the basic communication and logging functionalities needed by lars agents
CommunicationTemplate(String, Map) - Constructor for class com.ls.lars.communication.CommunicationTemplate
Constructor, that is used, if the agent wants to use and set up a it's own remote messenger (for example a SocketMessenger for socket communication).
CommunicationTemplate(String, String) - Constructor for class com.ls.lars.communication.CommunicationTemplate
Constructor, that creates a local messenger and does the basic initialization of a new agent.
compareTo(Object) - Method in class com.ls.lars.communication.Message
Compares this message to another Object.
compareTo(Object) - Method in class com.ls.util.xml.XMLFragment
Compares this object with the specified object for order.
COMPRESSION_AUTO_COMPRESSION - Static variable in interface com.ls.lars.communication.ICommunication
Constant for setting/getting whether or not automatic compression shall be used for socket communication
Value is set to "connectionAutoCompression"
COMPRESSION_AUTO_COMPRESSION_START_SIZE - Static variable in interface com.ls.lars.communication.ICommunication
Constant for setting/getting the start size being used for socket communication (if auto compression is activated)
Value is set to "connectionAutoCompressionStartSize"
COMPRESSION_CLASS_NAME - Static variable in interface com.ls.cockpit.ICockpitConstants
The name of the Compression class
COMPRESSION_LEVEL - Static variable in interface com.ls.lars.communication.ICommunication
Constant for setting/getting the compression level being used for socket communication
Value is set to "connectionCompressionLevel"
COMPRESSION_LEVEL_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the compressionLevel TAG
COMPRESSION_PARAMETERS - Static variable in interface com.ls.cockpit.ICockpitConstants
All valid compression parameters
COMPRESSION_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the COMPRESSION TAG
COMPRESSION_TYPE - Static variable in interface com.ls.lars.communication.ICommunication
Constant for setting/getting the compression type being used for socket communication
Value is set to "connectionCompressionType"
COMPRESSION_TYPE_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the compressionType TAG
COMPRESSION_ZIP_ENTRY_NAME - Static variable in interface com.ls.lars.communication.ICommunication
Constant for setting/getting the compression zip entry name being used for socket communication
Value is set to "connectionZipEntryName"
CompressionTypeException - exception com.ls.lars.communication.CompressionTypeException.
The wrong or none compression type is send.
CompressionTypeException() - Constructor for class com.ls.lars.communication.CompressionTypeException
Creates a CompressionTypeException with no specified detail message.
CompressionTypeException(String) - Constructor for class com.ls.lars.communication.CompressionTypeException
Creates a CompressionTypeException with the specified detail message.
CompressionTypeException(String, Throwable) - Constructor for class com.ls.lars.communication.CompressionTypeException
Creates a CompressionTypeException with the specified detail message and nested exception.
ConfigLoader - class com.ls.lars.communication.ConfigLoader.
This class loads a config file into a map.
ConfigLoader() - Constructor for class com.ls.lars.communication.ConfigLoader
the default constructor
ConfigLoader(String) - Constructor for class com.ls.lars.communication.ConfigLoader
constructor
ConfigLoader(String, IXMLHandler) - Constructor for class com.ls.lars.communication.ConfigLoader
constructor
ConfigurationException - exception com.ls.util.objectcontrol.ConfigurationException.
exception handling class for the configuration
ConfigurationException() - Constructor for class com.ls.util.objectcontrol.ConfigurationException
Creates a ConfigurationException with no specified detail message.
ConfigurationException(String) - Constructor for class com.ls.util.objectcontrol.ConfigurationException
Creates a ConfigurationException with the specified detail message.
ConfigurationException(String, Throwable) - Constructor for class com.ls.util.objectcontrol.ConfigurationException
Creates a ConfigurationException with the specified detail message and nested throwable.
configure(Map) - Method in interface com.ls.util.objectcontrol.IConfigurable
configures the implementing class
CONNECT_CLASS_NAME - Static variable in interface com.ls.cockpit.ICockpitConstants
The name of the Connect class
connect() - Method in class com.ls.lars.communication.CommunicationTemplate
Initiates to connect to the lars system and then calls Messenger#waitForConnection().
connect() - Method in interface com.ls.lars.communication.IToLars
Connects to the lars system.
CONNECTION_PARAMETERS - Static variable in interface com.ls.cockpit.ICockpitConstants
All valid compression parameters
CONNECTION_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the CONNECTION TAG
CONNECTION_TYPE - Static variable in interface com.ls.lars.communication.ICommunication
Collection of all connection types
Values are set to "rmi", "socket", "jsocket", "jsecuresocket", "http", "jms" (in that order)
CONNECTION_TYPE_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the connectionType TAG
ConnectionController - class com.ls.lars.security.ConnectionController.
This component is used by the AgentPlatformSecurity for checking wether or not a remote client is allowed to connect to the local platform.
ConnectionController.AccessControl - class com.ls.lars.security.ConnectionController.AccessControl.
This component is used for configuring the ConnectionController.
ConnectionException - exception com.ls.lars.communication.ConnectionException.
Connection exception handling class
ConnectionException() - Constructor for class com.ls.lars.communication.ConnectionException
Creates a ConnectionException with no specified detail message.
ConnectionException(String) - Constructor for class com.ls.lars.communication.ConnectionException
Creates a ConnectionException with the specified detail message.
ConnectionException(String, Throwable) - Constructor for class com.ls.lars.communication.ConnectionException
Creates a ConnectionException with the specified detail message and nested exception.
connectionParameters - Variable in class com.ls.lars.communication.RMIListener
contains the connection parameters for this Listener, e.g the port
connectionParameters - Variable in class com.ls.lars.communication.SocketListener
contains the connection parameters for this Listener, e.g the compression settings
connectionStatus(String, String, ILogger) - Static method in class com.ls.lars.communication.ClientSynchronization
Method checks the connection status of an messenger.
constantMap - Static variable in class com.ls.lars.communication.QualityOfService
for easy conversion of Strings into quality constants
containsKey(Object) - Method in class com.ls.util.container.ReferenceIdentityHashtable
Returns true, if the object reference passed is existing as key in the attribute container.
containsKey(Object) - Method in class com.ls.util.xml.XMLFragment
Returns whether or not this XMLFragment contains a sub element element .
containsValue(Object) - Method in class com.ls.util.container.ReferenceIdentityHashtable
Returns true, if the object reference passed is existing as value in the attribute container.
containsValue(Object) - Method in class com.ls.util.xml.XMLFragment
Returns whether or not this XMLFragment contains a sub element element .
CONTENT_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the content TAG for sending messages
controlInboxSize(int) - Method in class com.ls.lars.communication.MessageRouter
Checks the size of the inbox of all known messengers, whether or not the given delimiter is reached.
convertAttributesToMap(Attributes) - Method in class com.ls.util.xml.XMLComplexHandler
converts the given instance of Attributes into a Map and returns it.
convertToStandardMap(XMLFragment) - Static method in class com.ls.util.xml.XMLFragment
Converts the given XMLFragment object into a 'normal' the java.util.HashMap implementations of the Map interface and returns it.
convertValues(Map) - Method in class com.ls.util.validation.BaseValidation
Convert values like MIN_LENGTH, MAX_LENGTH to integers and add them again to the map and returns it afterwards.
convertValues(Map) - Method in class com.ls.util.validation.Validation
Convert values like MIN_LENGTH, MAX_LENGTH to integers and add them again to the map and returns it afterwards.
createAgentName(String, String, String) - Static method in class com.ls.lars.communication.LarsNaming
creates an agent name from the given elements. if the ipAddress and/or the larsId is null or empty, the current platform's id will be used for creating the agent's name.
createClientSocketMessenger(Socket) - Method in class com.ls.lars.communication.JSecureSocketListener
creates a client socket messenger (here: a JSecureSocketMessenger)
createClientSocketMessenger(Socket) - Method in class com.ls.lars.communication.JSocketListener
creates a client socket messenger (here: a JSocketMessenger)
createClientSocketMessenger(Socket) - Method in class com.ls.lars.communication.SocketListener
creates a client socket messenger (here: a SocketMessenger)
createConnection(String) - Method in interface com.ls.lars.communication.IRMIListener
creates a new connection with the sepcified agentName (After the remote agent connects to the platform he requests a own RMI connection by calling this remote method).
createConnection(String) - Method in class com.ls.lars.communication.RMIListener
Creates a RMI connection to be used by remote agents.
createController() - Static method in class com.ls.lars.security.ConnectionController
creates an empty AccessControl object & initiates it
createElementHash() - Method in class com.ls.util.xml.OrderedXMLHandler
overiding this method to keep the hashtable keys order
createElementHash() - Method in class com.ls.util.xml.XMLHandler
Creates a map.
createInstance() - Static method in class com.ls.lars.server.Lars
Creates a new Lars object and returns it, if no Lars is yet running in this JVM.
createKey() - Static method in class com.ls.lars.communication.KeyG
Creates a unique key by adding one to the current key and returning it.
createMessage(Map) - Static method in class com.ls.lars.communication.Message
Creates a message object from a Map by calling different constructors depending on the specified message type.
createMessage(Map) - Method in class com.ls.lars.communication.MessageFactory
This method just calls Message.createMessage(Map) in order to create a Message object from the given map.
createMessageRouter(String, String) - Static method in class com.ls.lars.communication.MessageRouter
creates the message router of this platform
createReply(Message, String, int, String, String) - Static method in class com.ls.lars.communication.QualityOfService
Checks quality of service of the given message and the given failureCode and determines therefrom, if an error notification needs to be sent to the originator of the message.
createReply(String, Object) - Method in class com.ls.lars.communication.Message
Creates a new SingleMessage object, which is a reply to the message from which is invoked.
createReplyId() - Method in class com.ls.lars.communication.CommunicationTemplate
returns a unique number / key to be used as reply ID of a message
createSocketListener() - Method in class com.ls.lars.server.AgentJSecureSocketListener
creates and returns the appropriate socket listener (here: a JSecureSocketListener)
createSocketListener() - Method in class com.ls.lars.server.AgentJSocketListener
creates and returns the appropriate socket listener (here: a JSocketListener)
createSocketListener() - Method in class com.ls.lars.server.AgentSocketListener
creates and returns the appropriate socket listener (here: a SocketListener)
createXMLdocument(String, Map) - Method in class com.ls.util.xml.XMLHandler
creates a XML document from a map
criteriaFromVector(Vector) - Method in class com.ls.util.validation.Validator
Turns a vector of hashtables into criteria / regex pairs stored in the private member criteria.
CURRENT_HOPS_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the current hops for sending messages

D

DATA_KEYS - Static variable in interface com.ls.lars.security.IPKIHandler
the Map key to store the data-keys list
dateValidation(String, String, String) - Static method in class com.ls.util.Tool
Checks a date from the given day, month and year values.
DAY - Static variable in interface com.ls.IBaseConstants
One day in milli seconds.
DAY - Static variable in interface com.ls.lars.ILarsConstants
constant, which represents a day (measured in milli seconds)
dc - Static variable in class com.ls.util.Tool
Variable for decimal format definition
decimalSeparator - Static variable in class com.ls.util.Tool
Decimal seperator of decimal numbers
decode(String) - Static method in class com.ls.util.bytes.Base64
Decodes a well-formed complete Base64 string back into an array of bytes.
decode(String) - Static method in class com.ls.util.text.HTTPEncodeDecode
Decode a string that is encoded to the original one.
decode(String, char[], String[]) - Static method in class com.ls.util.text.EncoderDecoder
decodes the value of the variables before they get displayed in the template
decode(String, int) - Static method in class com.ls.util.text.EncoderDecoder
decodes the value of the variables before they get displayed in the template
DECRYPT - Static variable in interface com.ls.lars.security.IPKIHandler
PKI-Handling type to decrypt messages
DECRYPT_VERIFY - Static variable in interface com.ls.lars.security.IPKIHandler
PKI-Handling type to decrypt and verify signatures in messages
DecryptionException - exception com.ls.security.pki.DecryptionException.
This exception is thrown when there is error in decryption process, for example, if the private key is not correct, if the password not correct, or if the decryption process error.
DecryptionException(String) - Constructor for class com.ls.security.pki.DecryptionException
Creates a DecryptionException with the specified detail message.
DecryptionException(String, Throwable) - Constructor for class com.ls.security.pki.DecryptionException
Creates a DecryptionException with the specified detail message and nested exception.
decryptMessage(Map) - Method in class com.ls.lars.security.PKIHandler
Decrypts a Message.
decryptMessage(Message) - Method in class com.ls.lars.security.PKIHandler
Decrypts a message.
decryptMessage(String, Object) - Method in interface com.ls.security.pki.IPKIUtil
decrypts a text
decryptMessage(String, String, String, String) - Method in interface com.ls.security.pki.IPKIUtil
decrypts a text
DEFAULT_AUTO_COMPRESSION - Static variable in interface com.ls.cockpit.ICockpitConstants
The default string for the auto compression
DEFAULT_AUTO_COMPRESSION_START_SIZE - Static variable in interface com.ls.cockpit.ICockpitConstants
The default string for the auto compression start size
DEFAULT_COMPRESSION_LEVEL - Static variable in interface com.ls.cockpit.ICockpitConstants
The default string for the compression level (for zip)
DEFAULT_COMPRESSION_TYPE - Static variable in interface com.ls.cockpit.ICockpitConstants
The default string for the compression type
DEFAULT_CONFIG_FILE_NAME - Static variable in interface com.ls.cockpit.ICockpitConstants
The default string for the config file name
DEFAULT_CONNECTION_TYPE - Static variable in interface com.ls.cockpit.ICockpitConstants
The default string for the platform connection type
DEFAULT_ERROR_MESSAGE - Static variable in interface com.ls.util.IErrorHandler
Default error message if it could not be retrieved from the database and the resource bundle.
DEFAULT_HELP_FILE_NAME - Static variable in interface com.ls.cockpit.ICockpitConstants
The default string for help file
DEFAULT_KEY_FILE - Static variable in interface com.ls.cockpit.ICockpitConstants
The default string for the key file
DEFAULT_LOCALE - Static variable in interface com.ls.util.IErrorHandler
The default local string value for the system.
DEFAULT_LOG_FILE_NAME - Static variable in interface com.ls.cockpit.ICockpitConstants
The default string for the log file
DEFAULT_LOG_LEVEL - Static variable in interface com.ls.cockpit.ICockpitConstants
The default string for the log level
DEFAULT_LOGIN_AGENT_NAME - Static variable in class com.ls.lars.server.AgentJSecureSocketListener
the default login agent name: "AgentLogin"
DEFAULT_MAX_LIFETIME - Static variable in class com.ls.util.cache.CacheTimer
The default maximum lifetime for an object in the hash (60 seconds)
DEFAULT_MESSAGE_LENGTH - Static variable in interface com.ls.cockpit.ICockpitConstants
The default string for the message length can be received
DEFAULT_PASSWORD - Static variable in interface com.ls.cockpit.ICockpitConstants
The default string for the password
DEFAULT_PLATFORM_DIRECTORY - Static variable in interface com.ls.cockpit.ICockpitConstants
The default string for the platform directory
DEFAULT_PLATFORM_ID - Static variable in interface com.ls.cockpit.ICockpitConstants
The default string for the platform id
DEFAULT_PLATFORM_IP - Static variable in interface com.ls.cockpit.ICockpitConstants
The default string for the platform ip
DEFAULT_PLATFORM_PORT - Static variable in interface com.ls.cockpit.ICockpitConstants
The default string for the platform port
DEFAULT_PROTOCOL - Static variable in interface com.ls.cockpit.ICockpitConstants
The default string for the protocol
DEFAULT_PROVIDER - Static variable in interface com.ls.cockpit.ICockpitConstants
The default string for the provider
DEFAULT_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the 'default' String
DEFAULT_STRING_BUFFER_SIZE - Static variable in interface com.ls.IBaseConstants
The default size of a string buffer.
DEFAULT_USER - Static variable in interface com.ls.cockpit.ICockpitConstants
The default string for the user
DEFAULT_USER_INTERFACE_TYPE - Static variable in interface com.ls.cockpit.ICockpitConstants
The default string for user interface type
DEFAULT_ZIP_ENTRY_NAME - Static variable in interface com.ls.cockpit.ICockpitConstants
The default string for the zip entry name (for zip)
defaultServiceAccessPermission - Variable in class com.ls.lars.server.AgentTemplate
the default setting for specific access settings
defaultServiceAccessPrivilege - Variable in class com.ls.lars.server.AgentTemplate
the default setting for general access
defaultValue - Variable in class com.ls.util.validation.ValidatorRuleSet
The default value
defineObject(Object, String) - Method in class com.ls.util.objectcontrol.DynamicObjectController
Defines access of an object of the given class.
defineObject(Object, String, Map) - Method in class com.ls.util.objectcontrol.DynamicObjectController
Stores an object definition of the given class in an internal Map under the given key.
deletePlaformFromVectorOfPlatforms(AgentSynchronization.LarsPlatformRepresentation, Vector) - Method in class com.ls.lars.server.AgentSynchronization
This method deletes a given platform from a Vector of platforms.
DEPENDENCIES_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the dependencies TAG for generating new command classes
deregisterFromServiceStatusChangedNotification(String) - Method in class com.ls.lars.communication.MessageRouter
Deregisters the given agent from getting notified on the status changing of any service
DESCRIPTION_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the description TAG for generating new command classes
descriptionMap - Static variable in class com.ls.lars.communication.QualityOfService
for easy conversion of quality constants into Strings
DIRECTORIES_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the DIRECTORIES TAG
disconnect() - Method in class com.ls.lars.communication.ClientCommunication
Disconnects from the LARS platform and stops the communication thread.
disconnect() - Method in class com.ls.lars.communication.CommunicationTemplate
Disconnects from the lars system (if already connected).
disconnect() - Method in interface com.ls.lars.communication.IToLars
Disconnects from the lars system (if already connected).
disconnectForMigration() - Method in class com.ls.lars.communication.CommunicationTemplate
used for disconnecting an agent form a platform when he's mirating
doCheck() - Method in class com.ls.util.threading.ObjectBuilder
This method has to be overwritten by subclasses to perform specific operations when the method ObjectBuilder.check() is called.
doCheck() - Method in class com.ls.util.threading.StaticThreadPoolBuilder
Overwritten to provide special checking operations, in this case: empty implementation.
documentAttributes - Variable in class com.ls.util.xml.XMLFragment
holds the root element's attributes
documentChildren - Variable in class com.ls.util.xml.XMLFragment
holds the root element's sub elements (its 'children')
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.ls.lars.communication.HTTPListenerServlet
Any doGet message will also forwarded to the doPost method
doNewInstance() - Method in class com.ls.util.threading.ObjectBuilder
This method has to be overwritten by subclasses to perform the actual instantiation of the java object.
doNewInstance() - Method in class com.ls.util.threading.StaticThreadPoolBuilder
Overwritten to provide the actual instantiation code of a static thread pool according to the properties "name" and "threadCount".
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.ls.lars.communication.HTTPListenerServlet
All incomming requests for this servlet are handled in this method.
doReceivingPKIHandling(Message) - Method in interface com.ls.lars.security.IPKIHandler
does the PKI handling for incoming messages (decrypting and/or validating signatures of the given message-content) PKI handling means: - Check whether the current service has to be handled - Doing the PKI-handling if necessary - Returning of the modified message (which is actually the reference on the given message)
doReceivingPKIHandling(Message) - Method in class com.ls.lars.security.PKIHandler
Does the PKI handling for incoming messages (decrypting and/or validating signatures of the given message-content).
doReset() - Method in class com.ls.util.threading.ObjectBuilder
This method has to be overwritten by subclasses to perform specific operations when the method ObjectBuilder.reset() is called, e.g. resetting of subclass specific properties.
doReset() - Method in class com.ls.util.threading.StaticThreadPoolBuilder
Overwritten to provide special reset operations, in this case: clearing the properties "name" and "threadCount".
doSendingPKIHandling(Message) - Method in interface com.ls.lars.security.IPKIHandler
Does the PKI handling for incoming messages (signing and/or encrypting of the given message-content) PKI handling means: - Check whether the current service has to be handled - Doing the PKI-handling if necessary - Returning of the modified message (which is actually the reference on the given message)
doSendingPKIHandling(Message) - Method in class com.ls.lars.security.PKIHandler
Does the PKI handling for incoming messages (signing and/or encrypting of the given message-content).
dynamicObjectController - Variable in class com.ls.lars.server.AgentTemplate
Allows the storage of (configured) objects and of object definitions and the access of those with help of keys.
DynamicObjectController - class com.ls.util.objectcontrol.DynamicObjectController.
Object controller class, which allows to dynamically instantiate and configure objects in two ways: Instantiate an object of a specified class once, configure it (if wanted) and store the object under a specified key in an internal map.
DynamicObjectController() - Constructor for class com.ls.util.objectcontrol.DynamicObjectController
 

E

elements() - Method in class com.ls.util.container.ReferenceIdentityHashtable
Returns an enumeration of the values of this class.
elementValue - Variable in class com.ls.util.xml.XMLHandler
the value of an element
EMTPY_ATTRIBUTE - Static variable in class com.ls.util.xml.XMLFragment
constant for specifying that an element's attribute is empty
EMTPY_CONTENT - Static variable in class com.ls.util.xml.XMLFragment
constant for specifying that an element's content is empty
encode(byte[]) - Static method in class com.ls.util.bytes.Base64
Encode an arbitrary array of bytes as Base64 printable ASCII.
encode(String) - Static method in class com.ls.util.text.HTTPEncodeDecode
Encode a string that will be included in a URL String.
encode(String, char[], String[]) - Static method in class com.ls.util.text.EncoderDecoder
encodes the values of the variables before they get displayed in the template
encode(String, int) - Static method in class com.ls.util.text.EncoderDecoder
encodes the values of the variables before they get displayed in the template
EncoderDecoder - class com.ls.util.text.EncoderDecoder.
 
EncoderDecoder() - Constructor for class com.ls.util.text.EncoderDecoder
 
EncoderDecoderTestCase - class com.ls.util.text.EncoderDecoderTestCase.
Test class for the Encoding and decoding which contains the test of the method which will check for variables in the logic environment.
EncoderDecoderTestCase(String) - Constructor for class com.ls.util.text.EncoderDecoderTestCase
Constructor for the workflow bean test case
ENCRYPT - Static variable in interface com.ls.lars.security.IPKIHandler
PKI-Handling type to encrypt messages
ENCRYPTED - Static variable in interface com.ls.lars.security.IPKIHandler
the Map key to store the encrypted data
EncryptionException - exception com.ls.security.pki.EncryptionException.
This exception is thrown when there is error in encryption process, for example, if the public key is not correct, or if the encryption process error.
EncryptionException(String) - Constructor for class com.ls.security.pki.EncryptionException
Creates a EncryptionException with the specified detail message.
EncryptionException(String, Throwable) - Constructor for class com.ls.security.pki.EncryptionException
Creates a EncryptionException with the specified detail message and nested exception.
encryptMessage(Map, List, byte[]) - Method in class com.ls.lars.security.PKIHandler
encrypts the content or parts of the content of a message
encryptMessage(Map, List, String) - Method in class com.ls.lars.security.PKIHandler
encrypts a message
encryptMessage(Message, List) - Method in class com.ls.lars.security.PKIHandler
Encrypts a Message.
encryptMessage(String, byte[]) - Method in interface com.ls.security.pki.IPKIUtil
encrypts a text
encryptMessage(String, Object) - Method in interface com.ls.security.pki.IPKIUtil
encrypts a text
encryptMessage(String, String, String) - Method in interface com.ls.security.pki.IPKIUtil
encrypts a text
endDocument() - Method in class com.ls.util.xml.XMLComplexHandler
if the document is finished there should be only one map left in the list.
endDocument() - Method in class com.ls.util.xml.XMLHandler
If the document is finished there should be only one map left in the list.
endElement(String) - Method in class com.ls.util.xml.XMLHandler
If the Parser receives the end tag of an element, he will remove it from the list of stuff to parse.
endElement(String, String, String) - Method in class com.ls.util.xml.XMLComplexHandler
if the Parser receives the end tag of an element, he will remove it from the list of stuff to parse.
endPrefixMapping(String) - Method in class com.ls.util.xml.XMLComplexHandler
end the scope of a prefix-URI mapping. This method is currently not be used in this class.
entrySet() - Method in class com.ls.util.xml.XMLFragment
Returns a set view of the sub elements contained in this XMLFragment.
equals(Object) - Method in class com.ls.util.xml.XMLFragment
Returns whether or not the given Object is equal to this XMLFragment.
ERROR - Static variable in interface com.ls.service.log.ILogger
Declares a log message as an error.
ERROR - Static variable in class com.ls.util.validation.BaseValidation
The constant that store the "error" string
ERROR - Static variable in class com.ls.util.validation.Validation
The constant that store the "error" string
EXAMPLE_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the 'Example:' String replacing it in the description map
EXAMPLE_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the example TAG descriptions on loading classes
execute() - Method in class com.ls.util.taskrun.TaskRunner
Executes the task batch according to the task definitions.
executeCommand(String, Object) - Method in interface com.ls.cockpit.ICommand
executes a command and calls the defined method
executeLifeCycle() - Method in class com.ls.lars.communication.ClientCommunication
This medhod waits for messages to arrive and sends them to the owner.
executeLifeCycle() - Method in class com.ls.lars.communication.CommunicationTemplate
Implements the "until the thread" loop (which probably in a while loop receives messages from the inbox by calling CommunicationTemplate.receiveBlockedMessage() and interprets them).
executeLifeCycle() - Method in class com.ls.lars.server.AgentTemplate
Executes when this agent thread gets started.
executeShutdownHook() - Static method in class com.ls.lars.server.Lars
logs the current stack trace and all system information
executeWhileRunning() - Method in class com.ls.lars.server.AgentManager
Main method of AgentManager, that is called in a loop as long as the agent's run level is less than STOPPED.
executeWhileRunning() - Method in class com.ls.lars.server.AgentMessageRouter
Receives a message from this agent's inbox.
executeWhileRunning() - Method in class com.ls.lars.server.AgentTemplate
Main method of every agent, that is called in a loop as long as the agent's run level is less than STOPPED.
EXPIRE_HOPS_DEFAULT - Static variable in class com.ls.lars.communication.Message
default value: how many hops a Message is allowed to do, before it expires
EXPIRE_HOPS_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the expire hops for sending messages
ExternalCommand - class com.ls.cockpit.ExternalCommand.
this class is used to disjoin external and internal commands
ExternalCommand() - Constructor for class com.ls.cockpit.ExternalCommand
the default constuctor
ExternalCommand(Map, Map, Map) - Constructor for class com.ls.cockpit.ExternalCommand
the constructor containing initialize parameters

F

FIELD_RETRIEVE_EXCEPTION - Static variable in class com.ls.util.xml.XMLConversionException
error type 4 : unable to access an attribute of a java object
FIELD_SETTING_EXCEPTION - Static variable in class com.ls.util.xml.XMLToJavaConversionException
error type 103 : unable to change an attribute of a java object
fieldName - Variable in class com.ls.util.validation.ValidatorRuleSet
The field name
FILE_STRING - Static variable in class com.ls.util.xml.XMLConfigLoader
constant for the String 'file'
FileTool - class com.ls.util.io.FileTool.
The FileTool class loads files and caches them if needed.
FileTool() - Constructor for class com.ls.util.io.FileTool
Constructor with no additional method calls.
fillBuffer() - Method in class com.ls.util.io.BufferedInputSource
buffers the loaded input stream
fillStringBuffer() - Method in class com.ls.util.io.BufferedOutputSource
fills the internal StringBuffer with the bytes from the byte array ('internal cache' BufferedOutputSource.buffer to speed up the performance)
finalize() - Method in class com.ls.lars.communication.CommunicationTemplate
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
finalize() - Method in class com.ls.service.log.log4j.Logger4j
closes the log file if this object gets deleted
finalize() - Method in class com.ls.service.log.Logger
closes the log file if this object gets deleted
formatBigDecimalString(String) - Static method in class com.ls.util.Tool
Returns a date object from the given day, month and year value
FormulaCalculationException - exception com.ls.util.math.FormulaCalculationException.
FormulaCalculationException is a class which is thrown by FormulaCalculator.
FormulaCalculationException() - Constructor for class com.ls.util.math.FormulaCalculationException
Creates a FormulaCalculationException with no specified detail message.
FormulaCalculationException(String) - Constructor for class com.ls.util.math.FormulaCalculationException
Creates a FormulaCalculationException with the specified detail message.
FormulaCalculationException(String, Throwable) - Constructor for class com.ls.util.math.FormulaCalculationException
Creates a FormulaCalculationException with the specified detail message and nested exception.
FormulaCalculator - class com.ls.util.math.FormulaCalculator.
This class performs calculation of a generic String expression (mathematic formula).
FormulaCalculator() - Constructor for class com.ls.util.math.FormulaCalculator
Default Constructor..
FormulaCalculator(int) - Constructor for class com.ls.util.math.FormulaCalculator
Constructor which sets the scale to which results are set.
forwardMessage(Message, List) - Method in class com.ls.lars.communication.CommunicationTemplate
Forwards a message by creating a shallow copy and then exchanging the receiver in the copy.
forwardMessage(Message, List) - Method in interface com.ls.lars.communication.ICommunication
Forwards a message by creating a shallow copy and then exchanging the receiver in the copy.
forwardMessage(Message, String) - Method in class com.ls.lars.communication.CommunicationTemplate
Forwards a message by creating a shallow copy and then exchanging the receiver in the copy.
forwardMessage(Message, String) - Method in interface com.ls.lars.communication.ICommunication
Forwards a message by creating a shallow copy and then exchanging the receiver in the copy.
FULL_SERVICE_ACCESS - Static variable in class com.ls.lars.server.AgentTemplate
constant specifying full access to services

G

GeneralPKIException - exception com.ls.security.pki.GeneralPKIException.
General PKI exception, thrown when there are following errors: 1).
GeneralPKIException(String) - Constructor for class com.ls.security.pki.GeneralPKIException
Creates a PKIBaseException with the specified detail message.
GeneralPKIException(String, Throwable) - Constructor for class com.ls.security.pki.GeneralPKIException
Creates a PKIBaseException with the specified detail message and nested exception.
generateKeyPairs(String, String, String) - Method in interface com.ls.security.pki.IPKIUtil
Uses "RSA" algorithm and generates the private key (private_key.p12, PKCS#8 encoded), and public key (public_key.p12) and saves it in the directory specified in the parameter.
generateKeyPairs(String, String, String, String) - Method in interface com.ls.security.pki.IPKIUtil
Uses "RSA" algorithm and generates the private key (private_key.p12, PKCS#8 encoded), and public key (public_key.p12) and saves it in the directory specified in the parameter.
generatePKCS10Request(String, String, String, String, Map) - Method in interface com.ls.security.pki.IPKIUtil
Generates and requests the PKCS#10-certificate.
generateSignature(String, Object) - Method in interface com.ls.security.pki.IPKIUtil
signs a text
generateSignature(String, String, String, String) - Method in interface com.ls.security.pki.IPKIUtil
signs a text
GET_AGENTS_STATUS_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the 'getAgentsStatus' method name
GET_DEPENDENCY_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the 'getDepencency' method name
get() - Method in class com.ls.util.Pool
Returns (removes) an object from the pool.
get(Object) - Method in class com.ls.util.cache.CacheTimer
Retrieves a data from the internal hash
get(Object) - Method in class com.ls.util.container.ReferenceIdentityHashtable
This function returns the attribute list of an object generated while parsing.
get(Object) - Method in class com.ls.util.xml.XMLFragment
Returns the Object which is mapped to the given object.
getAgentName() - Method in class com.ls.lars.communication.CommunicationTemplate
returns the name of the agent
getAgentName() - Method in interface com.ls.lars.communication.ICommunication
Returns the agent name.
getAgentRevisionInformation() - Method in class com.ls.lars.server.AgentTemplate
Builds a well formatted string containing the revision information of the subclass (derived agent).
getAlias() - Method in class com.ls.cockpit.ExternalCommand
initializes all aliases if it's implemented in the commands class You have to imlement this method that it can be called by run method.
getAlias() - Method in class com.ls.cockpit.InternalCommand
initializes all aliases if it's implemented in the commands class You have to imlement this method that it can be called by run method.
getAllErrors() - Method in class com.ls.util.validation.BaseValidation
Returns a list of all errors that occured during validation of an input map.
getAllErrors() - Method in class com.ls.util.validation.Validation
Returns a list of all errors that occured during validation of an input map.
getAllMessageGroupMemberNames() - Method in class com.ls.lars.communication.MessageRouter
returns a set of the names of all agents, that are currently subscribed to any message group
getAllServiceProviderNames() - Method in class com.ls.lars.communication.MessageRouter
returns a set of the names of all agents, that are currently registered as a service provider for any service
getAttribute(String) - Method in class com.ls.util.xml.XMLFragment
Returns the value of the given attribute.
getAttributes() - Method in class com.ls.util.xml.XMLHandler
returns the list of attributes (which was generated while parsing)
getBigDecimal(String) - Static method in class com.ls.util.Tool
Returns a date object from the given day, month and year value
getBuffer() - Method in class com.ls.util.io.BufferedOutputSource
gets the 'internal cache' (BufferedOutputSource.buffer) of this BufferedOutputSource object
getBufferIndex() - Method in class com.ls.util.io.BufferedOutputSource
gets the index of the 'internal cache' (BufferedOutputSource.bufferIndex)
getCacheStatus() - Method in class com.ls.util.cache.CacheTimer
Returns the cache status and some statistics
getChild(String) - Method in class com.ls.util.xml.XMLFragment
Returns the sub element specified by the given name.
getChildren() - Method in class com.ls.util.xml.XMLFragment
Returns a list of all sub elements.
getChildren(String) - Method in class com.ls.util.xml.XMLFragment
Returns a list of sub elements as specified by the given name.
getClassName() - Method in class com.ls.lars.server.Lars
returns the name of the class
getClassName() - Method in interface com.ls.service.log.ISystemErrorLog
gets the name of the implementing class
getCodeOfLogType(String) - Static method in class com.ls.service.log.LoggerFactory
Converts string name of the logger to the byte value, if the value is empty or it is null the defaultLogType of is return.
getConnectionParameters() - Method in class com.ls.lars.communication.CommunicationTemplate
Gets the connection parameters e.g. compression settings, secure settings, ...
getConnectionParameters() - Method in interface com.ls.lars.communication.IToLars
Gets the connection parameters e.g. compression settings, secure settings, ...
getConstant(String) - Static method in class com.ls.lars.communication.QualityOfService
returns the int value of the given quality of service
getContent() - Method in class com.ls.lars.communication.Message
Returns the content of this message.
getContent() - Method in class com.ls.util.xml.XMLFragment
Returns the content of this XMLFragment.
getCurrentHops() - Method in class com.ls.lars.communication.Message
returns the number of hops this message already did
getDate(String, String, String) - Static method in class com.ls.util.Tool
Returns a date object from the given day, month and year value.
getDefaultLogType() - Static method in class com.ls.service.log.LoggerFactory
returns the default log type
getDescription() - Method in class com.ls.lars.communication.MessageException
returns the short description of this exception
getDescription(int) - Static method in class com.ls.lars.communication.QualityOfService
converts the given int representation of a quality of service into a string.
getDetailedDescription(int) - Static method in class com.ls.lars.communication.QualityOfService
converts the given int representation of a quality of service into a string with the most detailed constants contained in the given qos
getDouble(String) - Static method in class com.ls.util.Tool
converts a String number to a double value
getEncoding() - Static method in class com.ls.lars.server.Lars
returns the name of the character encoding, that is currently in use (e.g.
getEnvironment() - Method in class com.ls.util.taskrun.Task
Returns the environment map used for this task batch.
getEnvironment() - Method in class com.ls.util.taskrun.TaskRunner
Returns the environment used for execution the task batch.
getErrorAction(String, String) - Static method in class com.ls.util.resource.BundleAccess
getErrorAction gets the error action out of the error messages property file
getErrorCause(String, String) - Static method in class com.ls.util.resource.BundleAccess
getErrorCause gets the error cause out of the error messages property file
getErrorCode() - Method in class com.ls.util.xml.XMLConversionException
Returns the error code of the Exception.
getErrorDescription(String, String) - Static method in class com.ls.util.resource.BundleAccess
getErrorDescription gets the error description out of the error messages property file
getErrorID(String, String) - Static method in class com.ls.util.resource.BundleAccess
getErrorID returns the error ID
getErrorMessage(String) - Method in interface com.ls.util.IErrorHandler
Returns a error message from the resourceBundle specified by the key
getErrorMessage(String) - Method in class com.ls.util.ResourceBasedErrorHandler
Returns a error message from the resourceBundle specified by the key It uses IErrorHandler.DEFAULT_LOCALE as local value.
getErrorMessage(String, String) - Method in interface com.ls.util.IErrorHandler
Returns a error message from the resourceBundle specified by the key
getErrorMessage(String, String) - Method in class com.ls.util.ResourceBasedErrorHandler
Returns a error message from the resourceBundle specified by the key
getErrors() - Method in class com.ls.util.validation.BaseValidation
Returns a list with the errors that occured during validation.
getErrors() - Method in class com.ls.util.validation.Validation
Returns a list with the errors that occured during validation.
getExceptionCode() - Method in class com.ls.util.validation.ValidationException
Returns the code of the exception
getExpireHops() - Method in class com.ls.lars.communication.Message
returns the number of hops this message is allowed to do before it expires
getFailedAgentNames() - Method in class com.ls.lars.communication.ServiceException
returns all agent names, for whom this service exception is valid
getFailureCode() - Method in class com.ls.lars.communication.MessageException
returns the failure code
getForeignPublicKeyCertificate(String) - Method in class com.ls.lars.security.PKIHandler
Gets a certain public key certificate from the cache.
getForwardedBy() - Method in class com.ls.lars.communication.Message
returns an unmodifiable list of all forwarders or null, if the message wasn't forwarded
getFreeMemory() - Static method in class com.ls.util.SystemInformation
Get the free memory.
getGlobalConfigPath() - Static method in class com.ls.util.xml.XMLConfigLoader
Returns the path where the config files, that are not addressed via an absolute path, will be found.
getGlobalLogPath() - Static method in class com.ls.service.log.LoggerFactory
Returns the path where the logfiles, that are not addressed via an absolute path, will be written.
getGroup() - Method in class com.ls.lars.communication.GroupMessage
returns the name of the group agent
getGroupMembers(String) - Method in class com.ls.lars.communication.MessageRouter
returns the collection of names of all agents, that are subscribed to the specified message
getHelp() - Method in class com.ls.cockpit.ExternalCommand
initializes all description's if it's implemented in the commands class You have to imlement this method that it can be called by run method.
getHelp() - Method in class com.ls.cockpit.InternalCommand
initializes all description's if it's implemented in the commands class You have to imlement this method that it can be called by run method.
getHomePlatform() - Static method in class com.ls.lars.communication.MessageRouter
returns the name of the local platform
getHomePlatform() - Static method in class com.ls.lars.server.Lars
returns the name of the local platform
getInboxSize() - Method in class com.ls.lars.communication.CommunicationTemplate
returns the size of the inbox
getIndex() - Method in class com.ls.util.io.BufferedOutputSource
gets the index of this BufferedOutputSource object
getInReplyTo() - Method in class com.ls.lars.communication.Message
returns the inReplyTo field of this message
getInstance() - Static method in class com.ls.service.log.LoggerFactory
returns an instance of ILogger, that is the defaut type of logger specified by the variable
getInstance(byte) - Static method in class com.ls.service.log.LoggerFactory
returns an instance of ILogger according to the parameter, in case the creation of the logger specified by the parameter fails try to create the the logger with the type of 'LARS', if this fails than it is thrown an BaseRuntimeException.
getInstance(byte, String, int, Map) - Static method in class com.ls.service.log.LoggerFactory
returns an instance of ILogger according to the parameters, in case the creation of the logger specified by the logType fails try to create the the logger with the type of 'LARS', if this fails than it is thrown an BaseRuntimeException.
getInstance(byte, String, Map) - Static method in class com.ls.service.log.LoggerFactory
returns an instance of ILogger according to the parameters, in case the creation of the logger specified by the logType fails try to create the the logger with the type of 'LARS', if this fails than it is thrown an BaseRuntimeException.
getInstance(byte, String, String, Map) - Static method in class com.ls.service.log.LoggerFactory
returns an instance of ILogger according to the parameters, in case the creation of the logger specified by the logType fails try to create the the logger with the type of 'LARS', if this fails than it is thrown an BaseRuntimeException.
getInstanceFromDefined(Object) - Method in class com.ls.util.objectcontrol.DynamicObjectController
Retrieves a previously stored object defininition from an internal Map and instantiates that object.
getInt(String) - Static method in class com.ls.util.Tool
converts a String number to a int value
getInvalidPublicKeyCertificates(HashMap) - Method in interface com.ls.lars.security.IPKIHandler
Get the list of keys whose certificates are no longer valid.
getInvalidPublicKeyCertificates(HashMap) - Method in class com.ls.lars.security.PKIHandler
Gets the list of keys whose certificates are no longer valid.
getInvalidPublicKeyCertificates(HashMap) - Method in interface com.ls.security.pki.IPKIUtil
Gets the list of keys whose certificates are no longer valid.
getIPKIHandler() - Method in class com.ls.lars.server.AgentTemplate
Method to get the IPKIHandler's Object.
getLarsHost() - Method in class com.ls.lars.communication.CommunicationTemplate
Returns the host name of the lars system.
getLarsHost() - Method in interface com.ls.lars.communication.IToLars
Returns the host name of the lars system.
getLarsId(String) - Static method in class com.ls.lars.communication.LarsNaming
returns the lars id as extracted from the given agent name.
getLarsMessage() - Method in class com.ls.lars.communication.MessageException
returns the com.ls.lars.communicatio.Message instance, that caused this excpetion
getLoaded(Object) - Method in class com.ls.util.objectcontrol.DynamicObjectController
Retrieves a previously loaded object from an internal Map.
getLocalIpAddress() - Static method in class com.ls.lars.communication.MessageRouter
returns the IP address of the local platform
getLocalIpAddress() - Static method in class com.ls.lars.server.Lars
returns the IP address of the local platform
getLocalName(String) - Static method in class com.ls.lars.communication.LarsNaming
returns an agent's local name as extracted from the given name.
getLogFileName() - Method in interface com.ls.service.log.ILogger
gets name of log file, which is currently in use
getLogFileName() - Method in class com.ls.service.log.log4j.Logger4j
gets name of log file, which is currently in use
getLogFileName() - Method in class com.ls.service.log.Logger
gets name of log file, which is currently in use
getLogFileName() - Static method in class com.ls.service.log.SystemLogger
gets name of logfile, which is currently in use
getLogger() - Static method in class com.ls.service.log.SystemLogger
returns the reference of ILogger used from SystemLogger
getLogger() - Method in class com.ls.util.taskrun.Task
Returns the logger instance used for reporting information concerning task.
getLogger() - Method in class com.ls.util.taskrun.TaskRunner
Returns the logger instance to which this class and all associated task objects will report information to.
getLogLevel() - Method in interface com.ls.service.log.ILogger
Returns the current loglevel as number.
getLogLevel() - Method in class com.ls.service.log.log4j.Logger4j
Returns the current loglevel as number.
getLogLevel() - Method in class com.ls.service.log.Logger
Returns the current loglevel as number.
getLogLevel() - Static method in class com.ls.service.log.SystemLogger
Returns the current loglevel as number.
getLogLevelString() - Method in interface com.ls.service.log.ILogger
Returns gets the name of the current log level.
getLogLevelString() - Method in class com.ls.service.log.log4j.Logger4j
Returns gets the name of the current log level.
getLogLevelString() - Method in class com.ls.service.log.Logger
Returns gets the name of the current log level.
getLogLevelString() - Static method in class com.ls.service.log.SystemLogger
Returns gets the name of the current log level.
getLogType() - Method in interface com.ls.service.log.ILogger
Returns the current logging type as a byte.
getLogType() - Method in class com.ls.service.log.log4j.Logger4j
Returns the log type of this logger.
getLogType() - Method in class com.ls.service.log.Logger
Returns the log type of this logger.
getLogType() - Static method in class com.ls.service.log.SystemLogger
returns the type of the logger
getLogTypeString() - Method in interface com.ls.service.log.ILogger
Returns the name of current logging type as a String ('LARS' or 'LOG4J').
getLogTypeString() - Method in class com.ls.service.log.log4j.Logger4j
Returns the log type of this logger, as a string
getLogTypeString() - Method in class com.ls.service.log.Logger
Returns the log type of this logger, as a string
getLong(String) - Static method in class com.ls.util.Tool
converts a String number to a long value
getMessage() - Method in class com.ls.BaseException
Returns the detail message, including the message from the nested exception if there is one.
getMessage() - Method in class com.ls.BaseRuntimeException
Returns the detail message, including the message from the nested exception if there is one.
getMessage() - Method in class com.ls.lars.communication.MessageException
returns the detail description
getMessage() - Method in class com.ls.lars.communication.ServiceException
Returns the detail message, including the collection of agents, for whom this service exception is valid (if there exists such a collection).
getMessage() - Method in class com.ls.util.threading.BuildException
Returns a description of this build exception as a string.
getMessageFactory() - Static method in class com.ls.lars.communication.MessageFactory
Constructs the 'singleton' MessageFactory object and returns it.
getMessageList(Map, String) - Method in class com.ls.lars.communication.ConfigLoader
Converts the config file map into a list of messages.
getMessenger(String) - Method in class com.ls.lars.communication.MessageRouter
returns the object reference of a messenger given the name of the messenger
getMessenger(String, Map) - Static method in class com.ls.lars.communication.ClientMessengerFactory
Creates a messenger depending on the type specified in the parameterList.
getNamespaceURI() - Method in class com.ls.util.xml.XMLFragment
Returns the namespace URI for this XMLFragment.
getNestedThrowable() - Method in class com.ls.BaseException
Returns the nested throwable.
getNestedThrowable() - Method in class com.ls.BaseRuntimeException
Returns the nested throwable.
getNextCRLUpdateDate() - Method in interface com.ls.lars.security.IPKIHandler
This method returns the date of next CRL update.
getNextCRLUpdateDate() - Method in class com.ls.lars.security.PKIHandler
Returns the date of next CRL update.
getNextCRLUpdateDate() - Method in interface com.ls.security.pki.IPKIUtil
returns the date of next CRL update.
getNumberOfProcessedMessages() - Method in class com.ls.lars.communication.CommunicationTemplate
returns the number of processed messages since the start of the agent
getNumberOfProcessedMessagesPerMinute() - Method in class com.ls.lars.communication.CommunicationTemplate
returns the number of processed messages per hour
getObject() - Method in class com.ls.util.xml.JavaToXMLConversionException
Returns the java object thats conversion caused the exception.
getOwnPublicKeyCertificate() - Method in interface com.ls.lars.security.IPKIHandler
Gets the PublicKey Certificate as byte-array.
getOwnPublicKeyCertificate() - Method in class com.ls.lars.security.PKIHandler
gets the PublicKey Certificate as byte-array.
getOwnPublicKeyCertificate() - Method in class com.ls.lars.server.AgentTemplate
Gets the PublicKey Certificate as byte-array.
getParameter() - Method in class com.ls.util.taskrun.Task
Returns the parameters for the current run of the task.
getPKICertificate(Map) - Method in interface com.ls.lars.security.IPKIHandler
Get a certificate of a user.
getPKICertificate(Map) - Method in class com.ls.lars.security.PKIHandler
Gets a certificate of a user.
getPKICertificate(Map) - Method in interface com.ls.security.pki.IPKIUtil
Gets a certificate of a user.
getPlatform() - Method in class com.ls.lars.communication.ServiceMessage
returns the name of the platform where the service shall be accessed
getPlatformAccess() - Method in class com.ls.lars.server.AgentSynchronization.LarsPlatformRepresentation
Gets the kind of access of the remote platform.
getPlatformConnectionParameters() - Method in class com.ls.lars.server.AgentSynchronization.LarsPlatformRepresentation
Gets the connection paramters for the remote platform connection.
getPlatformConnectionType() - Method in class com.ls.lars.server.AgentSynchronization.LarsPlatformRepresentation
Gets the kind of connection the remote platform is connected to the local platform.
getPlatformIP() - Method in class com.ls.lars.server.AgentSynchronization.LarsPlatformRepresentation
Gets the ip of the remote platform.
getPlatformIp(String) - Static method in class com.ls.lars.communication.LarsNaming
returns a platform's ip address as extracted from the given agent name.
getPlatformMessageRouter() - Static method in class com.ls.lars.communication.MessageRouter
returns the message router of this platform
getPlatformName() - Method in class com.ls.lars.server.AgentSynchronization.LarsPlatformRepresentation
Gets the name of the remote platform.
getPlatformName(String) - Static method in class com.ls.lars.communication.LarsNaming
returns the platform name as extracted from the given name.
getPlatformPort() - Method in class com.ls.lars.server.AgentSynchronization.LarsPlatformRepresentation
Gets the port of the remote platform.
getPriority() - Method in class com.ls.lars.communication.Message
returns the priority of this message
getPrivateKey(String, String, String) - Method in interface com.ls.security.pki.IPKIUtil
Loads the given private key file by using the given password and path.
getPropertyErrors() - Method in class com.ls.util.threading.BuildException
In case this exception represents property error this method returns a map of the property errors.
getPublicKeyCertificate(String, String) - Method in interface com.ls.security.pki.IPKIUtil
Loads the given certificateFileName file by using the given path.
getQualifiedName() - Method in class com.ls.util.xml.XMLFragment
Returns the qualified XML Name for this XMLFragment.
getQualityOfService() - Method in class com.ls.lars.communication.Message
returns the qualityOfService field of this message
getRandomDigits(int) - Static method in class com.ls.util.Tool
Get a string with N random digits.
getRandomDigits(int, int) - Static method in class com.ls.util.Tool
Get a string with N random digits.
getRandomLetters(int, int) - Static method in class com.ls.util.Tool
Get N random uppercase letters.
getRandomMixedLetters(int, int) - Static method in class com.ls.util.Tool
Get N random mixed uppercase and lowercase letters.
getReceiver() - Method in class com.ls.lars.communication.MulticastMessage
returns the names of the receiver agent
getReceiver() - Method in class com.ls.lars.communication.SingleMessage
returns the name of the receiver agent
getRegisteredPKIMessages() - Method in interface com.ls.lars.security.IPKIHandler
Gets all before registered message-subjects for trace-purposes.
getRegisteredPKIMessages() - Method in class com.ls.lars.security.PKIHandler
Gets all before registered message-services for trace-purposes.
getReplyWith() - Method in class com.ls.lars.communication.Message
returns the replyWith field of this message
getResult() - Method in class com.ls.util.text.WildcardString
Retrieves the result
getRevisionInformation() - Method in class com.ls.lars.server.AgentCron
gets the revision information of this agent
getRevisionInformation() - Method in class com.ls.lars.server.AgentJMSListener
gets the revision information of this agent
getRevisionInformation() - Method in class com.ls.lars.server.AgentJSecureSocketListener
gets the revision information of this agent
getRevisionInformation() - Method in class com.ls.lars.server.AgentJSocketListener
gets the revision information of this agent
getRevisionInformation() - Method in class com.ls.lars.server.AgentListener
gets the revision information of this agent
getRevisionInformation() - Method in class com.ls.lars.server.AgentLogin
gets the revision information of this agent
getRevisionInformation() - Method in class com.ls.lars.server.AgentManager
gets the revision information of this agent
getRevisionInformation() - Method in class com.ls.lars.server.AgentMessageRouter
gets the revision information of this agent
getRevisionInformation() - Method in class com.ls.lars.server.AgentRMIListener
gets the revision information of this agent
getRevisionInformation() - Method in class com.ls.lars.server.AgentSocketListener
gets the revision information of this agent
getRevisionInformation() - Method in class com.ls.lars.server.AgentSystemInformation
gets the revision information of this class
getRevisionInformation() - Method in class com.ls.lars.server.AgentTemplate
To make sure that every class (subclass) contains the revision information, this method has to be overwritten in every subclass (derived agent).
getRevisionInformation() - Method in class com.ls.lars.server.AgentTimer
gets the revision information of this agent
getRootName() - Method in class com.ls.util.xml.XMLFragment
Returns the name of the root element of this XMLFragment.
getRoundingMode() - Static method in class com.ls.util.Tool
Returns the roundingMode used for bigDecimal
getScale() - Method in class com.ls.util.math.FormulaCalculator
Returns the currently set scale.
getScale() - Static method in class com.ls.util.Tool
Returns the scale used for bigDecimal
getSender() - Method in class com.ls.lars.communication.Message
returns the name of this sender agent
getSentTime() - Method in class com.ls.lars.communication.Message
returns the time, when this message was sent (in ms since 01.01.1970)
getService() - Method in class com.ls.lars.communication.Message
returns the service of this message
getServiceProviderMembers(String) - Method in class com.ls.lars.communication.MessageRouter
returns the names, as a HashSet, of the agents that are regitered for a service specified by the parameter
getStartTime() - Method in class com.ls.lars.communication.CommunicationTemplate
returns the start time this agent in milliseconds since 01-jan-1970
getStartTime() - Static method in class com.ls.lars.server.Lars
returns the start time of lars (in milliseconds since 01-jan-1970)
getStatistics() - Method in class com.ls.util.cache.CacheStatistic
Returns the statistics of this cache
getStringBuffer() - Method in class com.ls.util.io.BufferedOutputSource
returns the complete content of this BufferedOutputSource object.
getStringOfLogType(byte) - Static method in class com.ls.service.log.LoggerFactory
Converts byte value of the logger to the string name
getSystemErrorLogNames() - Static method in class com.ls.service.log.LoggerFactory
gets the name of all configured system error log implementations
getSystemErrorLogSet() - Static method in class com.ls.service.log.LoggerFactory
gets the system error local set variable
getSystemInformation() - Method in class com.ls.lars.server.Lars
collects all available system information (running threads, memory, inbox size of all agents, etc.)
getSystemInformation() - Method in interface com.ls.service.log.ISystemErrorLog
gets system dependant information
getTaskId() - Method in class com.ls.util.taskrun.Task
Returns the id assigned to this task object.
getTotalMemory() - Static method in class com.ls.util.SystemInformation
Get the total memory.
getUsedMemory() - Static method in class com.ls.util.SystemInformation
Get the used memory.
getXMLString() - Method in class com.ls.util.xml.XMLToJavaConversionException
Returns the xml string(max. 5000 character) thats conversion caused the exception.
GLOBAL_DIR_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the global valid directory
GROUP_MESSAGE_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the multicast message
GROUP_MESSAGE_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the multicast message TAG
groupingSeparator - Static variable in class com.ls.util.Tool
Grouping seperator of decimal numbers
GroupMessage - class com.ls.lars.communication.GroupMessage.
Message object for the communication between the agents.
GroupMessage(String, String, Object) - Constructor for class com.ls.lars.communication.GroupMessage
sets all fields of a group message including the content object
GUINotAvailableException - exception com.ls.cockpit.GUINotAvailableException.
This exception is used if it is impossible to start the GUI.
GUINotAvailableException() - Constructor for class com.ls.cockpit.GUINotAvailableException
Creates a GUINotAvailableException with no specified detail message.
GUINotAvailableException(String) - Constructor for class com.ls.cockpit.GUINotAvailableException
Creates a GUINotAvailableException with the specified detail message.
GUINotAvailableException(String, Throwable) - Constructor for class com.ls.cockpit.GUINotAvailableException
Creates a GUINotAvailableException with the specified detail message and nested exception.

H

hasAttributes() - Method in class com.ls.util.xml.XMLFragment
Returns whether or not this XMLFragment's root has attributes.
hasChildren() - Method in class com.ls.util.xml.XMLFragment
Returns whether or not this XMLFragment contains sub elements.
hasInvalidReceiver() - Method in class com.ls.lars.communication.MulticastMessage
calls MulticastMessage.hasInvalidReceiver(this.receiver)
hasInvalidReceiver() - Method in class com.ls.lars.communication.SingleMessage
calls SingleMessage.hasInvalidReceiver(this.receiver)
hasInvalidReceiver(List) - Static method in class com.ls.lars.communication.MulticastMessage
Rudimentary checks this message, if it contains in the list of agent an invalid receiver address.
hasInvalidReceiver(String) - Static method in class com.ls.lars.communication.SingleMessage
Rudimentary checks this message, if it contains an invalid receiver address.
hasInvalidSender() - Method in class com.ls.lars.communication.Message
Rudimentary checks this message, if it contains an invalid sender address.
hasLogFile() - Method in interface com.ls.service.log.ILogger
Checks, if this Logger instance uses a log file or System.out for logging.
hasLogFile() - Method in class com.ls.service.log.log4j.Logger4j
Checks, if this Logger4j instance uses a log file or System.out for logging.
hasLogFile() - Method in class com.ls.service.log.Logger
Checks, if this Logger instance uses a log file or System.out for logging.
hasPropertyError() - Method in class com.ls.util.threading.ObjectBuilder
Checks if there are errors associated with any properties.
hasPropertyError(String) - Method in class com.ls.util.threading.ObjectBuilder
Checks if an error was set on the given property.
HELP_CLASS_NAME - Static variable in interface com.ls.cockpit.ICockpitConstants
The name of the Help class
HELP_DIR_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the helpDir TAG
HELP_FILE_NAME_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the helpFile TAG
HELP_PARAMETERS - Static variable in interface com.ls.cockpit.ICockpitConstants
All valid Help parameters
HIDDEN_ACCESS - Static variable in class com.ls.lars.server.AgentPlatformSecurity
Constant representing a string constant for access
HISTORY_CLASS_NAME - Static variable in interface com.ls.cockpit.ICockpitConstants
The name of the History class
HISTORY_DIR_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the historyDir TAG
HISTORY_PARAMETERS - Static variable in interface com.ls.cockpit.ICockpitConstants
All valid history parameters
homePlatform - Variable in class com.ls.lars.communication.CommunicationTemplate
lars platform where this agent was born
hop() - Method in class com.ls.lars.communication.Message
Counts a message hop.
HOST_ID - Static variable in interface com.ls.lars.communication.ICommunication
Constant for setting/getting the hostId for setting up a connection
Value is set to "connectionHostId"
HOST_IP - Static variable in interface com.ls.lars.communication.ICommunication
Constant for setting/getting the hostIp for setting up a connection
Value is set to "connectionHostIp"
HOST_PORT - Static variable in interface com.ls.lars.communication.ICommunication
Constant for setting/getting the hostPort for setting up a connection
Value is set to "connectionHostPort"
HOUR - Static variable in interface com.ls.IBaseConstants
One hour in milli seconds.
HOUR - Static variable in interface com.ls.lars.ILarsConstants
constant, which represents an hour (measured in milli seconds)
HTTP - Static variable in interface com.ls.lars.communication.ICommunication
Constant indicating the http connection type This is used to set the communication protocol to HTTP
Value is set to "http"
HTTP_META_MESSAGE_PREFIX - Static variable in interface com.ls.lars.ILarsConstants
This is a constant to distinquish the messages.
HTTPEncodeDecode - class com.ls.util.text.HTTPEncodeDecode.
This class is encoding and decoding strings that have to be passed within a URL.
HTTPEncodeDecode() - Constructor for class com.ls.util.text.HTTPEncodeDecode
 
HTTPListenerServlet - class com.ls.lars.communication.HTTPListenerServlet.
This servlet establishes communication betweeen applications and a LARS platform.
HTTPListenerServlet() - Constructor for class com.ls.lars.communication.HTTPListenerServlet
 

I

IBaseConstants - interface com.ls.IBaseConstants.
This interface contains all base constants of living systems.
ICockpitConstants - interface com.ls.cockpit.ICockpitConstants.
This interface contains all constants for cockpit.
ICommand - interface com.ls.cockpit.ICommand.
contains all possible and allowed methods to be called
ICOMMAND_INTERFACE_NAME - Static variable in interface com.ls.cockpit.ICockpitConstants
The name of the ICommand interface
ICommunication - interface com.ls.lars.communication.ICommunication.
This interface is required to use the communication of an Agent from a utility class (e.g. an Bean which is used in an Workflow etc.)
IConfigurable - interface com.ls.util.objectcontrol.IConfigurable.
declares an instance to be able to be configured at runtime
IErrorHandler - interface com.ls.util.IErrorHandler.
Interface that defines methods for error handling
IFromLars - interface com.ls.lars.communication.IFromLars.
This interface is used to define methods which have to be implemented.
ignorableWhitespace(char[], int, int) - Method in class com.ls.util.xml.XMLComplexHandler
receives notification of ignorable whitespace in element content. This method is currently not be used in this class.
ignorableWhitespace(char[], int, int) - Method in class com.ls.util.xml.XMLHandler
empty implementation: method is not needed for the parsing of XML streams but belongs to the interface DocumentHandler
ILarsConstants - interface com.ls.lars.ILarsConstants.
All general constants (static final's) needed (e.g. as message services) in the com.ls.lars package.
ILogger - interface com.ls.service.log.ILogger.
Interface file for all log algorithms.
IN_REPLY_TO_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the replyId for receiving messages
INBOX_CLASS_NAME - Static variable in interface com.ls.cockpit.ICockpitConstants
The name of the Inbox class
INBOX_NUMBER_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the number of the message containing the inbox to create a reply for
incFromCache() - Method in class com.ls.util.cache.CacheStatistic
Increases number of data that retrieved from cache successfully
incInvalidData() - Method in class com.ls.util.cache.CacheStatistic
Increases number of data that are invalid when user wants to access
incNoData() - Method in class com.ls.util.cache.CacheStatistic
Increases the number of data that were not exist in the hash when user requested
increasePriority() - Method in class com.ls.lars.communication.Message
Increases the priority of this message to avoid starvation.
incRemovedFromMemory() - Method in class com.ls.util.cache.CacheStatistic
Increases the number of data that were removed by garbage collector when user requested
index - Variable in class com.ls.util.io.BufferedOutputSource
the index of the output source
indexPool - Variable in class com.ls.util.Pool
Pool of indexes to indicate which objects are available.
INFO - Static variable in interface com.ls.service.log.ILogger
Declares a log message as a programmer's information for the log file reader.
inheritorToMap() - Method in class com.ls.lars.communication.GroupMessage
returns a map containing the GroupMessage specific fields (type and group)
inheritorToMap() - Method in class com.ls.lars.communication.Message
returns a new map containing the message-inheritor specific fields (usually the type and the recipient, which is a group or an agent name or ...)
inheritorToMap() - Method in class com.ls.lars.communication.MulticastMessage
returns a map containing the MulticastMessage specific fields (type and receiver)
inheritorToMap() - Method in class com.ls.lars.communication.ServiceBroadcastMessage
returns a map containing the ServiceBroadcastMessage specific fields (type)
inheritorToMap() - Method in class com.ls.lars.communication.ServiceMessage
returns a map containing the ServiceMessage specific fields (type)
inheritorToMap() - Method in class com.ls.lars.communication.ServiceSingleMessage
returns a map containing the ServiceSingleMessage specific fields (type)
inheritorToMap() - Method in class com.ls.lars.communication.SingleMessage
returns a map containing the SingleMessage specific fields (type and receiver)
inheritorToString() - Method in class com.ls.lars.communication.GroupMessage
returns a well formatted string containing the GroupMessage specific fields (type and group)
inheritorToString() - Method in class com.ls.lars.communication.Message
returns a well formatted string containing the message-inheritor specific fields (usually the type and the recipient, which is a group or an agent name or ...)
inheritorToString() - Method in class com.ls.lars.communication.MulticastMessage
returns a well formatted string containing the MulticastMessage specific fields (type and receivers)
inheritorToString() - Method in class com.ls.lars.communication.ServiceBroadcastMessage
returns a well formatted string containing the ServiceBroadcastMessage specific fields (type)
inheritorToString() - Method in class com.ls.lars.communication.ServiceSingleMessage
returns a well formatted string containing the ServiceSingleMessage specific fields (type)
inheritorToString() - Method in class com.ls.lars.communication.SingleMessage
returns a well formatted string containing the SingleMessage specific fields (type and receiver)
init() - Method in class com.ls.cockpit.ExternalCommand
initializes all the needed commands
init() - Method in class com.ls.cockpit.InternalCommand
initializes all the needed commands
init(ServletConfig) - Method in class com.ls.lars.communication.HTTPListenerServlet
Initiates HttpServlet with its configuration.
initializeAction() - Method in class com.ls.lars.server.AgentCron
Initializes the immediateList, the requestedList, CronQueue and CronThread components. This method gets called, before the config file is interpreted!
initializeAction() - Method in class com.ls.lars.server.AgentTemplate
empty implementation Note for developers: If you overwrite this method (e.g. because your agent needs special actions for its initialization like opening files, creating threads, ...), be sure to call the super classes initializeAction() to assure proper agent initialization!
initializeAction() - Method in class com.ls.lars.server.AgentTimer
Initializes the TimerQueue and TimerThread components. This method gets called, before the config file is interpreted!
initializeMessages() - Method in class com.ls.lars.server.AgentCron
Calls super.initializeMessages() and afterwards registers AgentTimer as a service provider for the service "sender_rip".
initializeMessages() - Method in class com.ls.lars.server.AgentJMSListener
calls super.initializeMessages() and creates a connection to the configured JMS server.
initializeMessages() - Method in class com.ls.lars.server.AgentListener
Calls super.initializeMessages(), calls ILogger.logThreadName(boolean) and afterwards registers AgentListener as a service provider for the service "ask_for_connection_parameters".
initializeMessages() - Method in class com.ls.lars.server.AgentMessageRouter
Registers as a service provider for "sender_rip" service, that is sent, if an agent terminates.
initializeMessages() - Method in class com.ls.lars.server.AgentPlatformSecurity
Method which is called after the cfg-file has been read.
initializeMessages() - Method in class com.ls.lars.server.AgentRMIListener
calls AgentListener.initializeMessages() and opens RMI connection
initializeMessages() - Method in class com.ls.lars.server.AgentSocketListener
sends initialization messages and initializes and starts socket listener thread
initializeMessages() - Method in class com.ls.lars.server.AgentSynchronization
Method which is called after the cfg-file has been read.
initializeMessages() - Method in class com.ls.lars.server.AgentSynchronizeConnectionHandler
Method which is called after the cfg-file has been read.
initializeMessages() - Method in class com.ls.lars.server.AgentSynchronizeSupervisor
Method which is called after the cfg-file has been read.
initializeMessages() - Method in class com.ls.lars.server.AgentTemplate
Sends a "register" initialization message to the local AgentMessageRouter. Note for developers: If you overwrite this method, because your agent needs to send initialization messages to other agents, be sure to call the super classes initializeMessages() to assure proper agent initialization!
initializeMessages() - Method in class com.ls.lars.server.AgentTimer
Calls super.initializeMessages() and afterwards registers AgentTimer as a service provider for the service "sender_rip".
initiallyKnownPlatforms - Variable in class com.ls.lars.server.AgentSynchronization
Member variable representing the lars platforms initially known (read from the cfg-file)
initKey() - Static method in class com.ls.lars.communication.KeyG
Initialize the key with the current time in milliseconds.
innerThrowable - Variable in class com.ls.BaseException
Nested exception to hold wrapped exception.
innerThrowable - Variable in class com.ls.BaseRuntimeException
Nested exception to hold wrapped exception.
InternalCommand - class com.ls.cockpit.InternalCommand.
this class is used to disjoin external and internal commands
InternalCommand() - Constructor for class com.ls.cockpit.InternalCommand
the default constuctor
InternalCommand(Map, Map, Map) - Constructor for class com.ls.cockpit.InternalCommand
the constructor containing initialize parameters
interpret(Message) - Method in interface com.ls.lars.communication.IFromLars
All messages coming from the server can be handled in the interpret method.
interpret(Message) - Method in class com.ls.lars.server.AgentTemplate
Interprets the given message.
interpret(Message) - Method in class com.ls.lars.server.LarsShutdown
This methods awaits either the ILarsConstants.SERVICE_SHUTDOWN_PLATFORM_IN_PROGRESS, ILarsConstants.SERVICE_SHUTDOWN_PLATFORM_DECLINED or ILarsConstants.SERVICE_CLOSE_CONNECTION in the message's service attribute.
interpretAccessDenied(Message) - Method in class com.ls.lars.server.AgentTemplate
Writes a log entry to the agent's log file, because the recipient of a message, that this agent has sent, denied the acces to the specified service.
Note, that the logged message contains a content independent of the configured system log level!
interpretAddForward(Message) - Method in class com.ls.lars.server.AgentManager
adds a forward for the specified agent to message router
interpretAgentConnected(Message) - Method in class com.ls.lars.server.AgentMessageRouter
Notifies this agent that a specifc agent has been connected to the platform
interpretAgentConnected(Message) - Method in class com.ls.lars.server.AgentPlatformSecurity
Is the reply from AgentMessageRouter, when AgentSocketListener, AgentRMIListener, etc. is known by the AgentMessageRouter.
interpretAgentConnected(Message) - Method in class com.ls.lars.server.AgentTemplate
Takes the name of the connected agent and checks whether or not there are more agents to wait for.
interpretAgentNotNotified(Message) - Method in class com.ls.lars.server.AgentMessageRouter
Writes a log message to the system's log file and to the agent's log file, because a "agent_not_notified" message was received (probably from AgentCron).
interpretAskForConnectionParameters(Message) - Method in class com.ls.lars.server.AgentListener
Another agent can ask the listener for the connection parameters.
interpretAskGroupMembers(Message) - Method in class com.ls.lars.server.AgentMessageRouter
interprets the message "ask_group_members" and responds by sending the names of the agents to the requester
interpretAskServiceProviderMembers(Message) - Method in class com.ls.lars.server.AgentMessageRouter
interprets the message "ask_service_providers_members" and responds by sending the names of the agents to the requester
interpretAuthenticate(Message) - Method in class com.ls.lars.server.AgentLogin
Checks, if an user is authorized.
interpretCancelNotify(Message) - Method in class com.ls.lars.server.AgentCron
Cancels the notification, specified in the content of the message, of an agent.
interpretCancelNotify(Message) - Method in class com.ls.lars.server.AgentTimer
Cancels the notification of an agent.
interpretCheckInboxSize(Message) - Method in class com.ls.lars.server.AgentMessageRouter
Checks the inbox size of all local agents.
interpretCheckRegisteredServices(Message) - Method in class com.ls.lars.server.AgentTemplate
returns the service which are registered for pki-handling
interpretCloseConnection(Message) - Method in class com.ls.lars.server.AgentMessageRouter
Instructs the underlying message router to forward this 'close_connection' to all connected messengers.
interpretCloseConnection(Message) - Method in class com.ls.lars.server.AgentTemplate
Writes a log entry to the agent's log file, because a "close_connection" message was received.
interpretCloseConnections(Message) - Method in class com.ls.lars.server.AgentSynchronizeConnectionHandler
Method closes given connections to remote platforms actively.
interpretDefineObject(Message) - Method in class com.ls.lars.server.AgentTemplate
Stores an object definition of the given class in this agent's AgentTemplate.dynamicObjectController.
interpretDeleteAgent(Message) - Method in class com.ls.lars.server.AgentManager
Asks an agent (by running its terminateAction() method) to remove itself from the platform and sends a confirming "terminating_agent", "delete_failed" or "agent_not_present" reply afterwards.
interpretDeleteGroup(Message) - Method in class com.ls.lars.server.AgentManager
Trys to delete all the agents from a group and sends the result back to the sender of the message.
interpretDeliveryFailed(Message) - Method in class com.ls.lars.server.AgentTemplate
Writes a log entry to the agent's log file, because the recipient of a message, that this agent has sent, could not be determined.
Note, that the logged message contains a content independent of the configured system log level!
interpretGetRevisionInformation(Message) - Method in class com.ls.lars.server.AgentTemplate
Sends back the revision information.
interpretGetVersion(Message) - Method in class com.ls.lars.server.AgentManager
Sends a reply message with service "version" informing about the current version of the platform.
interpretInformRemotePlatforms(Message) - Method in class com.ls.lars.server.AgentPlatformSecurity
Method, that decides according to the access parameter, which remote platform is to be informed and what information this remote platform gets.
interpretInitializeInboxCheck(Message) - Method in class com.ls.lars.server.AgentMessageRouter
Initializes the settings for periodical checking the inbox size of all messengers.
interpretInterpretationSuccessful(Message) - Method in class com.ls.lars.server.AgentTemplate
Writes a log entry to the agent's log file, that a message, that this agent has sent earlier, was interpreted successfully.
interpretKillAgent(Message) - Method in class com.ls.lars.server.AgentManager
Removes an agent from the agent platform.
interpretKillGroup(Message) - Method in class com.ls.lars.server.AgentManager
Tries to kill all the agents from a group and sends the result back to the sender of the message.
interpretListAgents(Message) - Method in class com.ls.lars.server.AgentManager
Sends a reply message with the service "list_of_agents" and a content containing a list of all active agents on this platform.
interpretListPlatforms(Message) - Method in class com.ls.lars.server.AgentSynchronizeSupervisor
Sends back the sender a list of connected platforms. in the Vector of platforms, false otherwise.
interpretLoadObject(Message) - Method in class com.ls.lars.server.AgentTemplate
Instantiates and possibly configures an object of the given class, that is afterwards stored in this agent's AgentTemplate.dynamicObjectController.
interpretLogInbox(Message) - Method in class com.ls.lars.server.AgentTemplate
writes the content of the inbox of the agent to its log file
interpretLogSystemInformation(Message) - Method in class com.ls.lars.server.AgentMessageRouter
Writes all registered services to the system logfile.
interpretLogSystemInformation(Message) - Method in class com.ls.lars.server.AgentRMIListener
executes Lars.logSystemInformation(), which logs detailed informations about the lars platform
interpretLogSystemInformation(Message) - Method in class com.ls.lars.server.AgentSystemInformation
executes Lars.logSystemInformation(), which logs detailed informations about the lars platform
interpretMakeAgent(Message) - Method in class com.ls.lars.server.AgentManager
Deprecated. This method is replaced by AgentManager.interpretMigratingAgent(com.ls.lars.communication.Message). Support will end after 2001-09.
interpretMigratingAgent(Message) - Method in class com.ls.lars.server.AgentManager
Builds an agent out of the given serialized code and restarts him on the local (which is the new) platform.
interpretMigrationFailed(Message) - Method in class com.ls.lars.server.AgentManager
notifies agent manager, that a previously sent mobile agent was not restarted at the remote platform
interpretMigrationSuccessful(Message) - Method in class com.ls.lars.server.AgentManager
notifies agent manager, that a previously sent mobile agent was restarted at the remote platform
interpretMonitorLookup(Message) - Method in class com.ls.lars.server.AgentTemplate
makes a lookup for sent messages (messages per minute, messages for all)
interpretNewAgent(Message) - Method in class com.ls.lars.server.AgentManager
Starts a new agent (specified in the content of the given message) and sends a reply message The agent class is taken from the cache, if it was previously instantiated.
interpretNotifiedAgent(Message) - Method in class com.ls.lars.server.AgentCron
Writes a log message to the system's log file and to the agent's log file, because a "notified_agent" message was received (probably from AgentTimer).
interpretNotifiedAgent(Message) - Method in class com.ls.lars.server.AgentSynchronizeSupervisor
Method is called by the AgentTimer.
interpretNotifiedAgent(Message) - Method in class com.ls.lars.server.AgentTemplate
Writes a log entry the agent's log file, because a "notified_agent" message was received (probably from AgentTimer).
interpretNotifyAgent(Message) - Method in class com.ls.lars.server.AgentCron
Registers the agent to be notified at a specific period of time.
interpretNotifyAgent(Message) - Method in class com.ls.lars.server.AgentTimer
registers the sender of the given message to be notified at a specific time
interpretNotifyAgentConnected(Message) - Method in class com.ls.lars.server.AgentMessageRouter
Asks AgentMessageRouter to notify the sender of the given message, if any of the agents given in the content of this message connects or is currently connected.
interpretNotifyCanceled(Message) - Method in class com.ls.lars.server.AgentCron
Implements the reaction that the agent should have in case that it receives a notification of a cancel.
interpretNotifyCanceled(Message) - Method in class com.ls.lars.server.AgentTemplate
Writes a log entry to the agent's log file, because a "notify_canceled" message was received (probably from AgentTimer).
interpretNotifyNotCanceled(Message) - Method in class com.ls.lars.server.AgentTemplate
Writes a log entry to the agent's log file, because a "notify_not_canceled" message was received (probably from AgentTimer).
interpretNotifyServiceStatusChanged(Message) - Method in class com.ls.lars.server.AgentMessageRouter
Asks AgentMessageRouter to notify the sender of the given message, if the status of the given service has changed.
interpretNotUnderstood(Message) - Method in class com.ls.lars.server.AgentTemplate
Writes a log entry to the agent's log file, because a message, that this agent has sent, caused a reply that states, that this agent's message could not have been interpreted.
Note, that the logged message contains a content independent of the configured system log level!
interpretOpenConnectionReply(Message) - Method in class com.ls.lars.server.AgentSynchronizeSupervisor
Reply from the AgentSynchronizeConnectionHandler when the connection process is finished.
interpretOpenConnections(Message) - Method in class com.ls.lars.server.AgentSynchronizeConnectionHandler
Method tries to make a connection to the given remote platforms.
interpretPing(Message) - Method in class com.ls.lars.server.AgentTemplate
sends a pong to the sender of ping
interpretPresentAgents(Message) - Method in class com.ls.lars.server.AgentManager
Sends a reply message which is stating, if an agent with the given name exists on the platform ("agent_available") or not ("agent_not_available").
interpretRegister(Message) - Method in class com.ls.lars.server.AgentMessageRouter
registers the sender of the given message in this platform's message router
interpretRegisterPlatforms(Message) - Method in class com.ls.lars.server.AgentPlatformSecurity
New platforms are registered and stored in allKnownPlatforms.
interpretRegisterRemotePlatforms(Message) - Method in class com.ls.lars.server.AgentSynchronizeSupervisor
Method is called by the a remote AgentPlatformSecurity.
interpretRegisterService(Message) - Method in class com.ls.lars.server.AgentMessageRouter
Adds an agent to the list(s) of service providers for the specified service(s).
interpretRegisterService(Message) - Method in class com.ls.lars.server.AgentTemplate
Sends the given Message (after some validations) to the AgentMessageRouter instance of the local lars platform to declare this agent as a service provider for the given service(s) contained in the content of the Message as one String or a List of Strings.
interpretReloadAgent(Message) - Method in class com.ls.lars.server.AgentManager
Reloads an agent (specified in the content of the given message) and sends a reply message.
interpretRemoveMessageGroup(Message) - Method in class com.ls.lars.server.AgentMessageRouter
Removes the specified message group from the list of all message groups.
interpretResponseForConnectionParameters(Message) - Method in class com.ls.lars.server.AgentPlatformSecurity
Method is called by the AgentMessageRouter if one of the listeners (AgentSocketListener, AgentRMIListener, etc.) is known.
interpretResponseGroupMembers(Message) - Method in class com.ls.lars.server.AgentCron
Interprets the message 'response_group_member', it verifies if the message contains the tag "error" in its content message.
interpretResponseServiceProviderMembers(Message) - Method in class com.ls.lars.server.AgentCron
Interprets the message 'response_service_provider_member', it verifies if the message contains the tag "error" in its content message.
interpretRestartAgent(Message) - Method in class com.ls.lars.server.AgentManager
Restarts the agent with the given name, if it is not running on the platform.
interpretRestartGroup(Message) - Method in class com.ls.lars.server.AgentManager
Trys to restart all the agents from a group and sends the result back to the sender of the message.
interpretRunLevelNotSet(Message) - Method in class com.ls.lars.server.AgentManager
Interprets a message, that informs agent manager, that the sender has fulfilled the request to enter a new run level.
interpretRunLevelSet(Message) - Method in class com.ls.lars.server.AgentManager
Interprets a message, that informs agent manager, that the sender has fulfilled the request to enter a new run level.
interpretSendAsConfigured(Message) - Method in class com.ls.lars.server.AgentTemplate
Forwards one or more messages as read from the config file to the corresponding receivers.
interpretSenderRip(Message) - Method in class com.ls.lars.server.AgentCron
Cancels all notifications for the sender of the given message, because that agent just died.
interpretSenderRip(Message) - Method in class com.ls.lars.server.AgentMessageRouter
Removes an agent from all lists of service providers, afterwards that agent is no service provider any more.
interpretSenderRip(Message) - Method in class com.ls.lars.server.AgentTimer
Cancels all notifications for the sender of the given message, because that agent just died.
interpretSendLocalPlatformInformation(Message) - Method in class com.ls.lars.server.AgentSynchronizeSupervisor
Registers its own platform information at the sender side (used by JMS-Messenger).
interpretSerializeAgent(Message) - Method in class com.ls.lars.server.AgentManager
Deprecated. This method is replaced by AgentManager.interpretStartMigration(com.ls.lars.communication.Message). Support will end after 2001-09.
interpretSetAccessPrivileges(Message) - Method in class com.ls.lars.server.AgentTemplate
Sets the service access rules for the current agent, which are effected when any other party request any service of the current agent.
The service access rulings consist of two parts: the general and the specific rulings.
interpretSetCompression(Message) - Method in class com.ls.lars.server.AgentSocketListener
Sets the compression settings.
interpretSetConstants(Message) - Method in class com.ls.lars.server.AgentSynchronization
Method which is called from the cfg-file.
interpretSetForeignPublicKeyCertificate(Message) - Method in class com.ls.lars.server.AgentTemplate
Sets the public key for foreign platforms.
interpretSetJmsParameters(Message) - Method in class com.ls.lars.server.AgentJMSListener
This method reads all of JMS relevant parameters
interpretSetLarsAdministrator(Message) - Method in class com.ls.lars.server.AgentManager
Configures a user and a corresponding password used to identify a lars administrator (someone, who is allowed to shutdown the lars platform, see AgentManager.interpretShutdownPlatform(com.ls.lars.communication.Message)).
interpretSetLog(Message) - Method in class com.ls.lars.server.AgentTemplate
Configures the log type, log file and log level.
interpretSetLoginAgent(Message) - Method in class com.ls.lars.server.AgentJSecureSocketListener
Sets the login agent name for the j-secure socket communication.
interpretSetMaxMessageLength(Message) - Method in class com.ls.lars.server.AgentSocketListener
Sets the maximal message length of a message to be read from the socket.
interpretSetOutbox(Message) - Method in class com.ls.lars.server.AgentListener
Sets the usage of the oubox.
interpretSetOwnPublicKeyCertificate(Message) - Method in class com.ls.lars.server.AgentTemplate
sets the public key for PKI (public key infrastructure).
interpretSetPkiEnvironment(Message) - Method in class com.ls.lars.server.AgentTemplate
configures the PKI (public key infrastructure) environment within the lars-system
interpretSetPkiMessages(Message) - Method in class com.ls.lars.server.AgentTemplate
Sets service(s) of messages which later have to be signed, verified, encrypted, decrypted, signed and encrypted, and decrypted and verified.
interpretSetPort(Message) - Method in class com.ls.lars.server.AgentListener
Sets the port of the communication channel.
interpretSetPrivateKey(Message) - Method in class com.ls.lars.server.AgentTemplate
sets the private key for PKI (public key infrastructure) to sign or encrypt contents
interpretSetRunLevel(Message) - Method in class com.ls.lars.server.AgentTemplate
Sets the run level of this agent and answers with a "run_level_set" or "run_level_not_set" message.
interpretSetTrustedAgent(Message) - Method in class com.ls.lars.server.AgentPlatformSecurity
Adds agent names to the list of trusted agents. Note: For security reasons this message is accepted only if coming directly from a config file!
interpretSetTrustedIp(Message) - Method in class com.ls.lars.server.AgentPlatformSecurity
Adds IP addresses to the list of trusted IP addresses. Note: For security reasons this message is accepted only if coming directly from a config file!
interpretSetTrustedPlatform(Message) - Method in class com.ls.lars.server.AgentPlatformSecurity
Adds platform names to the list of trusted platforms. Note: For security reasons this message is accepted only if coming directly from a config file!
interpretSetUntrustedAgent(Message) - Method in class com.ls.lars.server.AgentPlatformSecurity
Adds agent names to the list of untrusted agents. Note: For security reasons this message is accepted only if coming directly from a config file!
interpretSetUntrustedIp(Message) - Method in class com.ls.lars.server.AgentPlatformSecurity
Adds IP addresses to the list of untrusted IP addresses. Note: For security reasons this message is accepted only if coming directly from a config file!
interpretSetUntrustedPlatform(Message) - Method in class com.ls.lars.server.AgentPlatformSecurity
Adds platform names to the list of untrusted platforms. Note: For security reasons this message is accepted only if coming directly from a config file!
interpretSetUserList(Message) - Method in class com.ls.lars.server.AgentLogin
Adds one or more users and their passwords to the set of users, which are authorized to contact the platform.
interpretShowAllProvidedServices(Message) - Method in class com.ls.lars.server.AgentMessageRouter
interprets the message "show_all_provided_services", which returns the names of all services being provided on the local lars platform.
interpretShutdownPlatform(Message) - Method in class com.ls.lars.server.AgentManager
Interprets the request to shutdown the lars platform.
interpretSignatureNotValid(Message) - Method in class com.ls.lars.server.AgentTemplate
This method is automatically called if the signature verification fails.
interpretStartAgent(Message) - Method in class com.ls.lars.server.AgentManager
Starts a new agent (specified in the content of the given message) without sending a reply message.
interpretStartMigration(Message) - Method in class com.ls.lars.server.AgentManager
The agent who sends this message is going to be serialized and sent to another platfrom (which is given in the content of the currentMessage).
interpretStartUp(Message) - Method in class com.ls.lars.server.AgentSynchronizeSupervisor
If initial things are done.
interpretStartupConstraint(Message) - Method in class com.ls.lars.server.AgentTemplate
registers to the AgentMessageRouter for getting notified when a given set of agents are available
interpretSubscribeToMessageGroup(Message) - Method in class com.ls.lars.server.AgentMessageRouter
Adds the specified agent(s) to the message group specified.
interpretSynchronizePlatforms(Message) - Method in class com.ls.lars.server.AgentSynchronization
Method which is called from the cfg-file.
interpretUnregister(Message) - Method in class com.ls.lars.server.AgentMessageRouter
deletes the sender of the given message from register in MessageRouter
interpretUnregisterAllServices(Message) - Method in class com.ls.lars.server.AgentMessageRouter
Removes an agent from all lists of service providers, afterwards that agent is no service provider any more.
interpretUnregisterPlatforms(Message) - Method in class com.ls.lars.server.AgentPlatformSecurity
Platforms are unregistered and deleted from allKnownPlatforms.
interpretUnregisterRemotePlatforms(Message) - Method in class com.ls.lars.server.AgentSynchronizeSupervisor
Method is called to unregister a remote platform and therefore disconnect.
interpretUnregisterService(Message) - Method in class com.ls.lars.server.AgentMessageRouter
Removes an agent from the list(s) of service providers for the specified service(s)
interpretUnsubscribeFromAllMessageGroups(Message) - Method in class com.ls.lars.server.AgentMessageRouter
Removes the specified agent from all message groups existing.
interpretUnsubscribeFromMessageGroup(Message) - Method in class com.ls.lars.server.AgentMessageRouter
Removes the specified agent(s) from the message group specified.
interpretWakeUp(Message) - Method in class com.ls.lars.server.AgentCron
Sends a new request for notification to the AgentTimer when it receive a notification for wake up for the next element from the immediateRequestlist and try to send a notification to the agent or agents that need the notification at that time.
interpretWakeUp(Message) - Method in class com.ls.lars.server.AgentSynchronizeSupervisor
Method is called by the AgentTimer.
interrupt() - Method in class com.ls.util.threading.ThreadPoolWorker
Interrupts the currently executing task as well as the whole thread.
interruptTask() - Method in class com.ls.util.threading.ThreadPoolWorker
Interrupts the currently executing task.
INTROSPECTION_EXCEPTION - Static variable in class com.ls.util.xml.XMLConversionException
error type 2 : used for all kinds of exceptions that can occure when accessing fields of java objects by introspection
INVALID_DATE_FORMAT_EXCEPTION - Static variable in class com.ls.util.xml.XMLToJavaConversionException
error type 104 : a date (treated as simple data type) does not conform to the defined date format
INVALID_OBJECT_EXCEPTION - Static variable in class com.ls.util.xml.XMLConversionException
error type 5 : used when trying to convert a null reference
INVALID_XML_FORMAT_EXCEPTION - Static variable in class com.ls.util.xml.XMLToJavaConversionException
error type 105 : indicates that the xml string could not be parsed by the xml parser used
InvalidArgumentException - exception com.ls.InvalidArgumentException.
Exception to identify that a argument for a method is null or empty.
InvalidArgumentException() - Constructor for class com.ls.InvalidArgumentException
Creates a InvalidArgumentException with no specified detail message.
InvalidArgumentException(String) - Constructor for class com.ls.InvalidArgumentException
Creates a InvalidArgumentException with the specified detail message.
InvalidArgumentException(String, Throwable) - Constructor for class com.ls.InvalidArgumentException
Creates a InvalidArgumentException with the specified detail message and nested exception.
IP_ADDRESS_STRING - Static variable in class com.ls.util.xml.XMLConfigLoader
constant for the String 'ipAddress'
iPKIHandler - Variable in class com.ls.lars.communication.CommunicationTemplate
the Interface to integrate PKI-Handling
IPKIHandler - interface com.ls.lars.security.IPKIHandler.
IPKIHandler is a interface to handle easily the Public Key Infrastructe (PKI) in a LARS environment.
IPKIUtil - interface com.ls.security.pki.IPKIUtil.
IPKIUtil is a utility interface for Public Key Infrastructure (PKI) functionalities.
IPoolable - interface com.ls.lars.server.IPoolable.
This generic interface is used in the process of creating an agent pool.
IPoolObjectValidationCheckStrategy - interface com.ls.util.IPoolObjectValidationCheckStrategy.
This interface is for encapsulation of a validation check for pool objects and is used in Pool.
IRMIConnector - interface com.ls.lars.communication.IRMIConnector.
Remote interface for the RMIConnector.
IRMIListener - interface com.ls.lars.communication.IRMIListener.
remote interface for RMI listeners
IS_HISTORY_SAVED_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the 'isHistorySaved' method name
isAvailable(String) - Method in class com.ls.lars.communication.MessageRouter
Checks, if a messenger entry already exists for the passed agent name.
isConnected() - Method in class com.ls.lars.communication.CommunicationTemplate
Checkes if the object(messanger) is connected to the lars system or not.
isConnected() - Method in interface com.ls.lars.communication.IToLars
Checks if the object(messenger) is connected to the lars system or not.
isEmpty() - Method in class com.ls.util.container.OrderedHashtable
Tests if this hashtable maps no keys to values.
isEmpty() - Method in class com.ls.util.container.ReferenceIdentityHashtable
Returns true, if no key value pairs are contained.
isEmpty() - Method in class com.ls.util.xml.XMLFragment
Returns whether or not there are any sub elements of this XMLFragment.
isExpired() - Method in class com.ls.lars.communication.Message
checks expiration of this message regarding the number of hops (Messengers, the Message passed on it's way) compared to the number of allowed hops
isGlobalName(String) - Static method in class com.ls.lars.communication.LarsNaming
returns whether or not the given name is a global name (that is: the name contains any '@...' platform dependent information.
IShellConstants - interface com.ls.cockpit.shell.IShellConstants.
This interface contains all constants for cockpit user interface shell.
isLocalName(String) - Static method in class com.ls.lars.communication.LarsNaming
returns whether or not the given name is a local name (that is: the name does not contain any '@...' platform dependent information.
isMandatory - Variable in class com.ls.util.validation.ValidatorRuleSet
A booean variable that shows that is mandatory or not
isReplyNeeded(int, int) - Static method in class com.ls.lars.communication.QualityOfService
returns true, if a reply is needed for the specified quality of service and failure reason
isSent() - Method in class com.ls.lars.communication.Message
checks, if thie message was already sent
isValid(Map) - Method in class com.ls.util.validation.BaseValidation
Function to check the content of an input Map against the rule set If no rule for a content entry exists the check for this entry will be successfull.
isValid(Map) - Method in class com.ls.util.validation.Validation
Function to check the content of an input Map against the rule set If no rule for a content entry exists the check for this entry will be successfull.
isValid(String, String) - Method in class com.ls.util.validation.BaseValidation
Function to check a value (from the user input side) against the rule set for a rule key.
isValid(String, String) - Method in class com.ls.util.validation.Validation
Function to check a value (from the user input side) against the rule set for a rule key.
isValid(String, String) - Method in class com.ls.util.validation.Validator
Function to check a value (from the user input side) against the rule set for a rule code.
isValid(String, String, String) - Method in class com.ls.util.validation.Validator
Function to check a value (from the user input side) against the rule set for a combination of subject and field name.
isValid(String, String, String, String) - Method in class com.ls.util.validation.Validator
Function to check a value (from the user input side) against the rule set for a combination of subject, action and field name.
isValidGlobalName(String) - Static method in class com.ls.lars.communication.LarsNaming
returns whether or not the given name is a valid global name.
isValidIpAddress(String) - Static method in class com.ls.lars.communication.LarsNaming
returns whether or not the given String represents a valid ip address.
isValidLarsId(String) - Static method in class com.ls.lars.communication.LarsNaming
returns whether or not the given String represents a valid lars id.
isValidPlatformName(String) - Static method in class com.ls.lars.communication.LarsNaming
returns whether or not the given name is a valid platform name.
isValidXMLName(String) - Method in class com.ls.util.xml.XMLFragment
Validates the given String object against the rules of XML Names.
ISystemErrorLog - interface com.ls.service.log.ISystemErrorLog.
Interface, that allows SystemLogger and Logger to log additional, system dependant information in cases, a given Throwable in a log call is an instance of Error.
iterateAttributes() - Method in class com.ls.util.xml.XMLFragment
Returns an Iterator view on the attributes of this XMLFragment.
iterateChildren() - Method in class com.ls.util.xml.XMLFragment
Returns an Iterator view on the sub elements of this XMLFragment.
IToLars - interface com.ls.lars.communication.IToLars.
This interface is required to communicate betweeen the lars system and any agent-like client (e.g. an Applet, a Java Application, etc.).
IUserInterface - interface com.ls.cockpit.IUserInterface.
the interface to all implementations of user interfaces like shell or GUI
IXMLHandler - interface com.ls.util.xml.IXMLHandler.
Defines interfaces for parsing xml structures and accessing a Map view on the them.
iXMLHandlerForConfigLoader - Variable in class com.ls.lars.server.AgentTemplate
knows the IXMLHandler, which is to be used for parsing config files (OHittmeyer 2001-05-25) replace by IConfigHandler to wrap an IXMLHandler ?!

J

J_SECURE_SOCKET - Static variable in interface com.ls.lars.communication.ICommunication
Constant indicating the jsecuresocket connection type This is used to set the communication protocol to JSecureSocket
Value is set to "jsecuresocket"
J_SECURE_SOCKET_DEFAULT_PORT - Static variable in class com.ls.lars.server.AgentJSecureSocketListener
default port for j-secure socket connections: 8006
J_SOCKET - Static variable in interface com.ls.lars.communication.ICommunication
Constant indicating the jsocket connection type This is used to set the communication protocol to JSocket
Value is set to "jsocket"
J_SOCKET_DEFAULT_PORT - Static variable in class com.ls.lars.server.AgentJSocketListener
default port for j-socket connections: 2001
javaToXML(Object) - Method in class com.ls.util.xml.JavaXMLConverter
Conversion of XML string form Object
javaToXML(Object, String) - Method in class com.ls.util.xml.JavaXMLConverter
Conversion of XML string form Object
JavaToXMLConversionException - exception com.ls.util.xml.JavaToXMLConversionException.
Exception class representing all exceptions that may occure when converting a java object to an xml string.
JavaToXMLConversionException(String, int, Object) - Constructor for class com.ls.util.xml.JavaToXMLConversionException
Constructor to specify the error message, error code and object thats conversion caused the exception.
JavaXMLConverter - class com.ls.util.xml.JavaXMLConverter.
This class is for the creating of XML String from Java Object or Java Object from XML String.
JavaXMLConverter() - Constructor for class com.ls.util.xml.JavaXMLConverter
 
JMS - Static variable in interface com.ls.lars.communication.ICommunication
Constant indicating the jms connection type This is used to set the communication protocol to JMS
Value is set to "jms"
JMS_DEFAULT_PORT - Static variable in class com.ls.lars.server.AgentJMSListener
Default port for JMS connections: 1073
JMS_INITIAL_CONTEXT_FACTORY - Static variable in interface com.ls.lars.communication.ICommunication
Constant for setting/getting the initial context factory for JMS communication
Value is set to "java.naming.factory.initial"
JMS_JMSMESSENGER_APPLICATION_LOCATION - Static variable in interface com.ls.lars.communication.ICommunication
Constant for JMSMessenger to indicate whether it is used on LARS server side or client side
Value is set to "serverSideUsage"
JMS_PROVIDER_URL - Static variable in interface com.ls.lars.communication.ICommunication
Constant for setting/getting the url of the JMS provider for JMS communication
Value is set to "java.naming.provider.url"
JMS_RECEIVING_QUEUE_NAME - Static variable in interface com.ls.lars.communication.ICommunication
Constant for JMS queue connection - for receiving JMS message from JMS Server
Value is set to "receivingQueueName
JMS_SECURITY_CREDENTIALS - Static variable in interface com.ls.lars.communication.ICommunication
Constant for setting/getting the security credentials for JMS communication
Value is set to "java.naming.security.credentials"
JMS_SECURITY_PRINCIPAL - Static variable in interface com.ls.lars.communication.ICommunication
Constant for setting/getting the security principal for JMS communication
Value is set to "java.naming.security.principal"
JMS_SENDING_QUEUE_NAME - Static variable in interface com.ls.lars.communication.ICommunication
Constant for JMS queue connection - for sending JMS message to JMS Server
Value is set to "sendingQueueName"
JMSListener - class com.ls.lars.communication.JMSListener.
JMSListener is used to listen to the JMS Server Queue for messages.
JMSListener(String, String, String, String, String, String, String) - Constructor for class com.ls.lars.communication.JMSListener
Constructor for JMSListener
jmsListenerThreadId - Static variable in class com.ls.lars.communication.JMSListener
thread id for socket listeners
JMSMessenger - class com.ls.lars.communication.JMSMessenger.
JMSMessenger is used by Agent to communicate with the LARS platform over a JMS provider.
JMSMessenger(String, Map) - Constructor for class com.ls.lars.communication.JMSMessenger
constructs a JMSMessenger object and intializes it with the given parameters.
The given parameterList should contain the following information: 1).
join() - Method in class com.ls.util.threading.ThreadPool
Waits until all threads in this thread pool are terminated.
joinTask() - Method in class com.ls.util.threading.ThreadPoolWorker
Waits until the currently executing task is finished.
joinTask(long) - Method in class com.ls.util.threading.ThreadPoolWorker
Waits until the currently executing task is finished or the given timout period has passed (in the latter case a TimeoutException is raised).
JSecureSocketListener - class com.ls.lars.communication.JSecureSocketListener.
manages incoming client requests via j-secure sockets
JSecureSocketListener(int, String) - Constructor for class com.ls.lars.communication.JSecureSocketListener
Constructor, that sets the agent and port and gets a reference to the message router.
jSecureSocketListenerThreadId - Static variable in class com.ls.lars.communication.JSecureSocketListener
thread id for j secure socket listeners
JSocketListener - class com.ls.lars.communication.JSocketListener.
manages incoming client requests via j-sockets
JSocketListener(int) - Constructor for class com.ls.lars.communication.JSocketListener
Constructor, that sets the agent and port and gets a reference to the message router.
jSocketListenerThreadId - Static variable in class com.ls.lars.communication.JSocketListener
thread id for j secure socket listeners

K

KEY_FILE_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the keyFile TAG
KeyG - class com.ls.lars.communication.KeyG.
This class provides a unique key generator
KeyG() - Constructor for class com.ls.lars.communication.KeyG
empty constructor
keyIterator() - Method in class com.ls.util.container.ReferenceIdentityHashtable
Returns an Iterator view on the stored keys.
keys() - Method in class com.ls.util.container.OrderedHashtable
Returns an enumeration of the keys in this hashtable..
keys() - Method in class com.ls.util.container.ReferenceIdentityHashtable
Returns an enumeration of the keys of this class.
keySet() - Method in class com.ls.util.xml.XMLFragment
Returns a set view of the names of the sub element contained in this XMLFragment.
keysIterator() - Method in class com.ls.util.container.OrderedHashtable
Returns an iterator over the keys of the Hashtable in proper sequence.
keyVector - Variable in class com.ls.util.container.OrderedHashtable
to keep order of the hashtable key

L

Lars - class com.ls.lars.server.Lars.
main class of the "living agents runtime system II" to Class Specification Introduction to LARS Platform Runlevels: RUN_LEVEL_EMBRYONIC initial run level RUN_LEVEL_LARS_INSTANCE_CREATED Reached after a Lars instance has been created in the Lars.createInstance() method without any unforeseen exceptions/errors.
LARS - Static variable in class com.ls.service.log.LoggerFactory
The type of the log will be LARS
LarsClassLoader - class com.ls.lars.server.LarsClassLoader.
This class loads any class needed in the "living agent runtime system", if the class can be found by searching the CLASSPATH.
LarsClassLoader() - Constructor for class com.ls.lars.server.LarsClassLoader
 
LarsException - exception com.ls.lars.LarsException.
lars exception handling class
LarsException() - Constructor for class com.ls.lars.LarsException
Creates a LarsException with no specified detail message.
LarsException(String) - Constructor for class com.ls.lars.LarsException
Creates a LarsException with the specified detail message.
LarsException(String, Throwable) - Constructor for class com.ls.lars.LarsException
Creates a BaseException with the specified detail message and nested exception.
LarsNaming - class com.ls.lars.communication.LarsNaming.
This class represents a simple helper for dealing with agent names.
LarsSecurityManager - class com.ls.lars.security.LarsSecurityManager.
SecurityManager of the "living agent runtime system".
LarsSecurityManager() - Constructor for class com.ls.lars.security.LarsSecurityManager
Creates the security manager for lars.
LarsSecurityManager(boolean) - Constructor for class com.ls.lars.security.LarsSecurityManager
Creates the security manager for lars.
LarsShutdown - class com.ls.lars.server.LarsShutdown.
This utility can be used for shutting down a running lars platform from the console.
LDAPException - exception com.ls.security.pki.LDAPException.
This exception is thrown when there is error with LDAP server, for example, if the server is down, if the LDAP server contact details are not correct, if the user certificate or CRL can not be retrieved.
LDAPException(String) - Constructor for class com.ls.security.pki.LDAPException
Creates a LDAPException with the specified detail message.
LDAPException(String, Throwable) - Constructor for class com.ls.security.pki.LDAPException
Creates a LDAPException with the specified detail message and nested exception.
LEVEL_INDEPENDENT - Static variable in interface com.ls.service.log.ILogger
Declares a log message as to be logged always (independent of the configured log level).
LIST_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the 'LIST' Tag
listAllProvidedServices() - Method in class com.ls.lars.communication.MessageRouter
Returns a list of all services, which are currently provided on this platform.
listChildrenNames() - Method in class com.ls.util.xml.XMLFragment
Returns a List containing the names of the sub elements.
LISTENER_NAME - Static variable in class com.ls.lars.server.AgentSynchronization
Constant represents the tag in the cfg-file for a listener
LISTENER_TYPE - Static variable in class com.ls.lars.server.AgentSynchronization
Constant represents the tag in the cfg-file for a listener type
listenerThread - Variable in class com.ls.lars.communication.JMSListener
reference to this thread (needed for proper thread termination)
listenerThread - Variable in class com.ls.lars.communication.SocketListener
reference to this thread (needed for proper thread termination)
listPlatforms() - Method in class com.ls.lars.communication.MessageRouter
returns a list of all platforms to which this platform is connected...
loadClass(Map, boolean) - Method in class com.ls.lars.server.LarsClassLoader
Loads a class by a given className.
loadClass(String, boolean) - Method in class com.ls.lars.server.LarsClassLoader
Loads a class by a given className.
loadConfigFile(Object) - Method in class com.ls.lars.server.AgentTemplate
Loads one or multiple configuration file(s) into a Map, if such config files exist and are readable.
loadFile(String) - Method in class com.ls.util.io.FileTool
Loads a file and caches it, if the flag is set.
loadObject(Object, String) - Method in class com.ls.util.objectcontrol.DynamicObjectController
Instantiates an object of the given class.
loadObject(Object, String, Map) - Method in class com.ls.util.objectcontrol.DynamicObjectController
Instantiates and possibly configures an object of the given class.
localPlatform - Variable in class com.ls.lars.server.AgentTemplate
lars platform where this agent currently resides
LOG_FILE_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the logFile TAG
LOG_LEVEL - Static variable in interface com.ls.service.log.ILogger
contains the (lower case) names of the log levels starting with "error" and ending with "trace5"
LOG_LEVEL_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the logLevel TAG
LOG_SYSTEM_INFORMATION_NAME - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the AgentSystemInformation's name for sending messages to AgentSystemInformation
log(ILogger, String, int, String, Object[]) - Static method in class com.ls.service.log.SystemLogger
Logs a given notice, if the given logType is equal or more important than the configured system log level.
log(ILogger, String, int, String, Object[], Throwable) - Static method in class com.ls.service.log.SystemLogger
Logs a given notice and an exception including a stack trace, if the given logType is equal or more important than the configured system log level.
log(ILogger, String, int, String, String) - Static method in class com.ls.service.log.SystemLogger
Logs a given notice, if the given logType is equal or more important than the configured system log level.
log(ILogger, String, int, String, String, Throwable) - Static method in class com.ls.service.log.SystemLogger
Logs a given notice and an exception including a stack trace, if the given logType is equal or more important than the configured system log level.
log(ILogger, String, int, String, Throwable) - Static method in class com.ls.service.log.SystemLogger
Logs a given exception including a stack trace, if the given logType is equal or more important than the configured system log level.
log(ILogger, String, String, int, String, Object[]) - Static method in class com.ls.service.log.SystemLogger
Logs a given notice, if the given logType is equal or more important than the configured system log level.
log(ILogger, String, String, int, String, Object[], Throwable) - Static method in class com.ls.service.log.SystemLogger
Logs a given notice and an exception including a stack trace, if the given logType is equal or more important than the configured system log level.
log(ILogger, String, String, int, String, String) - Static method in class com.ls.service.log.SystemLogger
Logs a given notice, if the given logType is equal or more important than the configured system log level.
log(ILogger, String, String, int, String, String, Throwable) - Static method in class com.ls.service.log.SystemLogger
Logs a given notice and an exception including a stack trace, if the given logType is equal or more important than the configured system log level.
log(ILogger, String, String, int, String, Throwable) - Static method in class com.ls.service.log.SystemLogger
Logs a given exception including a stack trace, if the given logType is equal or more important than the configured system log level.
log(String, int, String, Object[]) - Method in interface com.ls.service.log.ILogger
Logs a given notice, if the given logLevel is equal or more important than the configured agent log level.
log(String, int, String, Object[]) - Method in class com.ls.service.log.log4j.Logger4j
Logs a given notice, if the given logLevel is equal or more important than the configured agent log level.
Example: [31-Jul-00 09:20:13.560] [warning] [AgentDemo] [demoMethod()] this is a great warning log message
log(String, int, String, Object[]) - Method in class com.ls.service.log.Logger
Logs a given notice, if the given logLevel is equal or more important than the configured agent log level.
Example: 2001-06-15 09:20:13.560[warning][AgentDemo][demoMethod()]this is a great warning log message
log(String, int, String, Object[]) - Static method in class com.ls.service.log.SystemLogger
Writes a log message, if the given logType is equal or more important than the configured system log level.
log(String, int, String, Object[], Throwable) - Method in interface com.ls.service.log.ILogger
Logs a given notice and a throwable (Exception or Error) including a stack trace, if the given logLevel is equal or more important than the configured agent log level.
log(String, int, String, Object[], Throwable) - Method in class com.ls.service.log.log4j.Logger4j
Logs a given notice, if the given logLevel is equal or more important than the configured agent log level.
Example: [31-Jul-00 09:20:13.560] [warning] [AgentDemo] [demoMethod()] this is a great warning log message
log(String, int, String, Object[], Throwable) - Method in class com.ls.service.log.Logger
Logs a given notice and a throwable (Exception or Error) including a stack trace, if the given logLevel is equal or more important than the configured agent log level.
Independent of the given log level, Logger.logSystemInformation() is called, if the throwable is an instance of java.lang.Error.
Example: 2001-06-15 09:20:13.560[error][AgentDemo][demoMethod()]cannot parse time 'null' ^^^ java.lang.NumberFormatException: null at java.lang.Long.parseLong(Long.java:284) at java.lang.Long.(Long.java:526) at com.ls.lars.AgentDemo.demoMethod(AgentDemo.java:230) at com.ls.lars.AgentDemo.interpret(AgentDemo.java:174) at com.ls.lars.AgentTemplate.executeConfigFileInterpretation(AgentTemplate.java, Compiled Code) at com.ls.lars.AgentTemplate.run(AgentTemplate.java, Compiled Code)
log(String, int, String, Object[], Throwable) - Static method in class com.ls.service.log.SystemLogger
Writes a given notice and an exception including a stack trace, if the given logType is equal or more important than the configured system log level.
log(String, int, String, String) - Method in interface com.ls.service.log.ILogger
Logs a given notice, if the given logLevel is equal or more important than the configured agent log level.
log(String, int, String, String) - Method in class com.ls.service.log.log4j.Logger4j
Logs a given notice, if the given logLevel is equal or more important than the configured agent log level.
Example: [31-Jul-00 09:20:13.560] [warning] [AgentDemo] [demoMethod()] this is a great warning log message
log(String, int, String, String) - Method in class com.ls.service.log.Logger
Logs a given notice, if the given logLevel is equal or more important than the configured agent log level.
Example: 2001-06-15 09:20:13.560[warning][AgentDemo][demoMethod()]this is a great warning log message
log(String, int, String, String) - Method in class com.ls.service.log.PerformanceLogger
Logs a given notice including the difference between the current system time and the start time, if the given logLevel is equal or more important than the log level of the used ILogger.
log(String, int, String, String) - Static method in class com.ls.service.log.SystemLogger
Writes a log message, if the given logType is equal or more important than the configured system log level.
log(String, int, String, String, Throwable) - Method in interface com.ls.service.log.ILogger
Logs a given notice and a throwable (Exception or Error) including a stack trace, if the given logLevel is equal or more important than the configured agent log level.
log(String, int, String, String, Throwable) - Method in class com.ls.service.log.log4j.Logger4j
Logs a given notice, if the given logLevel is equal or more important than the configured agent log level.
Example: [31-Jul-00 09:20:13.560] [warning] [AgentDemo] [demoMethod()] this is a great warning log message
log(String, int, String, String, Throwable) - Method in class com.ls.service.log.Logger
Logs a given notice and a throwable (Exception or Error) including a stack trace, if the given logLevel is equal or more important than the configured agent log level.
Independent of the given log level, Logger.logSystemInformation() is called, if the throwable is an instance of java.lang.Error.
Example: 2001-06-15 09:20:13.560[error][AgentDemo][demoMethod()]cannot parse time 'null' ^^^ java.lang.NumberFormatException: null at java.lang.Long.parseLong(Long.java:284) at java.lang.Long.(Long.java:526) at com.ls.lars.AgentDemo.demoMethod(AgentDemo.java:230) at com.ls.lars.AgentDemo.interpret(AgentDemo.java:174) at com.ls.lars.AgentTemplate.executeConfigFileInterpretation(AgentTemplate.java, Compiled Code) at com.ls.lars.AgentTemplate.run(AgentTemplate.java, Compiled Code)
log(String, int, String, String, Throwable) - Static method in class com.ls.service.log.SystemLogger
Writes a given notice and an exception including a stack trace, if the given logType is equal or more important than the configured system log level.
log(String, int, String, Throwable) - Method in interface com.ls.service.log.ILogger
Logs a throwable (Exception or Error) including a stack trace, if the given logLevel is equal or more important than the configured agent log level.
log(String, int, String, Throwable) - Method in class com.ls.service.log.log4j.Logger4j
Logs a throwable (Exception or Error) including a stack trace, if the given logLevel is equal or more important than the configured agent log level.
Example: [31-Jul-00 09:20:13.560] [error] [AgentDemo] [demoMethod()] ^^^ java.lang.NumberFormatException: null at java.lang.Long.parseLong(Long.java:284) at java.lang.Long.(Long.java:526) at com.ls.lars2.AgentDemo.demoMethod(AgentDemo.java:230) at com.ls.lars2.AgentDemo.interpret(AgentDemo.java:174) at com.ls.lars2.AgentTemplate.executeConfigFileInterpretation(AgentTemplate.java, Compiled Code) at com.ls.lars2.AgentTemplate.run(AgentTemplate.java, Compiled Code)
log(String, int, String, Throwable) - Method in class com.ls.service.log.Logger
Logs a throwable (Exception or Error) including a stack trace, if the given logLevel is equal or more important than the configured agent log level.
Independent of the given log level, Logger.logSystemInformation() is called, if the throwable is an instance of java.lang.Error.
Example: 2001-06-15 09:20:13.560[error][AgentDemo][demoMethod()] ^^^ java.lang.NumberFormatException: null at java.lang.Long.parseLong(Long.java:284) at java.lang.Long.(Long.java:526) at com.ls.lars.AgentDemo.demoMethod(AgentDemo.java:230) at com.ls.lars.AgentDemo.interpret(AgentDemo.java:174) at com.ls.lars.AgentTemplate.executeConfigFileInterpretation(AgentTemplate.java, Compiled Code) at com.ls.lars.AgentTemplate.run(AgentTemplate.java, Compiled Code)
log(String, int, String, Throwable) - Static method in class com.ls.service.log.SystemLogger
Logs an exception including its stack trace, if the given logType is equal or more important than the configured system log level.
log(String, String, int, String, Object[]) - Static method in class com.ls.service.log.SystemLogger
Writes a log message (the logging component is identified with help of the componentName!)
log(String, String, int, String, Object[], Throwable) - Static method in class com.ls.service.log.SystemLogger
Writes a given notice and an exception including a stack trace, if the given logType is equal or more important than the configured system log level.
log(String, String, int, String, String) - Static method in class com.ls.service.log.SystemLogger
Writes a log message (the logging component is identified with help of the componentName!)
log(String, String, int, String, String, Throwable) - Static method in class com.ls.service.log.SystemLogger
Writes a given notice and an exception including a stack trace, if the given logType is equal or more important than the configured system log level.
log(String, String, int, String, Throwable) - Static method in class com.ls.service.log.SystemLogger
Logs an exception including its stack trace, if the given logType is equal or more important than the configured system log level.
LOG4J - Static variable in class com.ls.service.log.LoggerFactory
The type of the log will be LOG4J
LogException - exception com.ls.service.log.LogException.
log exception handling class
LogException() - Constructor for class com.ls.service.log.LogException
Creates a LogException with no specified detail message.
LogException(String) - Constructor for class com.ls.service.log.LogException
Creates a LogException with the specified detail message.
LogException(String, Throwable) - Constructor for class com.ls.service.log.LogException
Creates a BaseException with the specified detail message and nested exception.
logger - Variable in class com.ls.lars.communication.CommunicationTemplate
log file of this agent
logger - Variable in class com.ls.lars.communication.JMSListener
the logger used by this Listener class for logging purpose
logger - Variable in class com.ls.lars.communication.RMIListener
the reference to the owning agent's log file (initally set to SystemLogger.getLogger())
logger - Variable in class com.ls.lars.communication.SocketListener
the reference to the owning agent's log file (initally set to SystemLogger.getLogger())
logger - Variable in class com.ls.util.xml.XMLConfigLoader
the reference to the owning agent's log file (initally set to SystemLogger.getLogger())
Logger - class com.ls.service.log.Logger.
This class is responsible for the logging of activities of agents and generates log entries.
Logger() - Constructor for class com.ls.service.log.Logger
Empty constructor.
Logger(String, int, Map) - Constructor for class com.ls.service.log.Logger
Constructor that includes trying to open the file where the log messages get stored and setting the log level.
Logger(String, Map) - Constructor for class com.ls.service.log.Logger
Constructor that includes trying to open the file where the log messages get stored.
Logger4j - class com.ls.service.log.log4j.Logger4j.
This class is responsible for the logging of activities of agents and generates log entries.
Logger4j() - Constructor for class com.ls.service.log.log4j.Logger4j
Empty constructor.
Logger4j(String, int, Map) - Constructor for class com.ls.service.log.log4j.Logger4j
Constructor that includes trying to open the file where the log messages get stored and setting the log level.
Logger4j(String, Map) - Constructor for class com.ls.service.log.log4j.Logger4j
Constructor that includes trying to open the file where the log messages get stored.
LoggerFactory - class com.ls.service.log.LoggerFactory.
Factory class for the ones who implements ILogger.
LoggerFactory() - Constructor for class com.ls.service.log.LoggerFactory
 
LOGGING_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the LOGGING TAG
logInbox() - Method in class com.ls.lars.communication.CommunicationTemplate
writes the content of the inbox of the agent to its log file
logStart(String, int, String, String) - Method in class com.ls.service.log.PerformanceLogger
Logs a given notice including the current system time in milliseconds, if the given logLevel is equal or more important than the log level of the used ILogger.
logSystemInformation() - Static method in class com.ls.lars.server.Lars
logs all system information found by Lars.getSystemInformation()
logSystemInformation() - Method in interface com.ls.service.log.ILogger
calls logSystemInformation on all configured system error log implementations and logs the output with log level ILogger.LEVEL_INDEPENDENT to this log file
logSystemInformation() - Method in class com.ls.service.log.log4j.Logger4j
calls logSystemInformation on all configured system error log implementations and logs the output with log level ILogger.LEVEL_INDEPENDENT to this log file
logSystemInformation() - Method in class com.ls.service.log.Logger
calls logSystemInformation on all configured system error log implementations and logs the output with log level ILogger.LEVEL_INDEPENDENT to this log file
logSystemInformation() - Static method in class com.ls.service.log.SystemLogger
logs system dependant information with help of ILogger.logSystemInformation() into the system's log file
logThreadName(boolean) - Method in interface com.ls.service.log.ILogger
turns on or off the thread name specification
logThreadName(boolean) - Method in class com.ls.service.log.log4j.Logger4j
turns on or off the thread name specification
logThreadName(boolean) - Method in class com.ls.service.log.Logger
turns on or off the thread name specification
LONG_DESCRIPTION_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the long description entry

M

main(String[]) - Static method in class com.ls.lars.communication.QualityOfService
prints to System.out the translation of the given quality of service constants
main(String[]) - Static method in class com.ls.lars.server.Lars
main method
main(String[]) - Static method in class com.ls.lars.server.LarsShutdown
Interprets the command line parameters and tries to create a LarsShutdown instance.
main(String[]) - Static method in class com.ls.util.cache.CacheTimerTestCase
For testing only!
main(String[]) - Static method in class com.ls.util.math.FormulaCalculator
Only for testing purposes.
main(String[]) - Static method in class com.ls.util.text.EncoderDecoderTestCase
use to run using kawa
main(String[]) - Static method in class com.ls.util.text.StringToolsTestCase
use to run using kawa
makeJMSConnection(int) - Method in class com.ls.lars.communication.ClientSynchronization
Method makes an platform connection using a JMSMessenger.
makeJSecureSocketConnection(int, String, int) - Method in class com.ls.lars.communication.ClientSynchronization
Method makes an platform connection using a JSecureSocketMessenger.
makeJSocketConnection(int) - Method in class com.ls.lars.communication.ClientSynchronization
Method makes an platform connection using a JSocketMessenger.
makeRMIConnection(int) - Method in class com.ls.lars.communication.ClientSynchronization
Method makes an platform connection using a RMIMessenger.
makeRuleCode(String, String, String) - Method in class com.ls.util.validation.Validator
Generates a rule code for a certain subject, action and field.
makeSocketConnection(int) - Method in class com.ls.lars.communication.ClientSynchronization
Method makes an platform connection using a SocketMessenger.
mandatoryFulfilled(String) - Method in class com.ls.util.validation.Validator
Returns if a value contains at least something, i.e. a mandatory field would be checked for presence.
MAP_CLASS_NAME - Static variable in interface com.ls.cockpit.ICockpitConstants
The name of the ICommand interface
matchesCriteria(String, String) - Method in class com.ls.util.validation.Validator
Checks if a string matches a typecode's regular expression.
MAX_COLUMNS_STRING - Static variable in interface com.ls.cockpit.shell.IShellConstants
The String for the maxRows
MAX_LOG_LEVEL - Static variable in interface com.ls.service.log.ILogger
least important log level (the one, which produces the most log messages)
MAX_ROWS_STRING - Static variable in interface com.ls.cockpit.shell.IShellConstants
The String for the maxRows
MAXIMUM_MESSAGE_LENGTH - Static variable in interface com.ls.lars.communication.ICommunication
Constant for setting/getting the maximum message length being used for socket communication
Value is set to "connectionMaximumMessageLength"
maxInvokeStackCounter - Variable in class com.ls.lars.server.AgentTemplate
allowed number of nested interpret calls for each agent to make sure there is no invocation loop, default: 3
maxLength - Variable in class com.ls.util.validation.ValidatorRuleSet
The maximum length
mergeRules(Map, Map) - Method in class com.ls.util.validation.BaseValidation
The following function group adds a rule to the know rule sets.
mergeRules(Map, Map) - Method in class com.ls.util.validation.Validation
The following function group adds a rule to the know rule sets.
Message - class com.ls.lars.communication.Message.
Message object for the communication between the agents.
MESSAGE_GROUP_AGENTNAME - Static variable in interface com.ls.lars.ILarsConstants
agent (key in content of subscribe_to_message_group message)
MESSAGE_GROUP_GROUPNAME - Static variable in interface com.ls.lars.ILarsConstants
group (key in content of subscribe_to_message_group message)
MESSAGE_GROUP_TRANSACTION - Static variable in interface com.ls.lars.ILarsConstants
transaction (key in content of subscribe_to_message_group message)
MESSAGE_LENGTH_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the 'messageLength' TAG
MESSAGE_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the 'MESSAGE' Tag
MESSAGE_TYPE_GROUP - Static variable in class com.ls.lars.communication.Message
identifies a SingleMessage in a Map- or XML-representation of the message
MESSAGE_TYPE_MULTICAST - Static variable in class com.ls.lars.communication.Message
identifies a SingleMessage in a Map- or XML-representation of the message
MESSAGE_TYPE_SERVICE_BROADCAST - Static variable in class com.ls.lars.communication.Message
identifies a ServiceBroadcastMessage in a Map- or XML-representation of the message
MESSAGE_TYPE_SERVICE_SINGLE - Static variable in class com.ls.lars.communication.Message
identifies a ServiceSingleMessage in a Map- or XML-representation of the message
MESSAGE_TYPE_SINGLE - Static variable in class com.ls.lars.communication.Message
identifies a SingleMessage in a Map- or XML-representation of the message
Message(Map) - Constructor for class com.ls.lars.communication.Message
Creates a message object from a Map.
Message(String, Object) - Constructor for class com.ls.lars.communication.Message
sets all fields of a message including the content object
MessageException - exception com.ls.lars.communication.MessageException.
Message exception handling class
MessageException(String, Message, int) - Constructor for class com.ls.lars.communication.MessageException
creates a new MessageException
MessageFactory - class com.ls.lars.communication.MessageFactory.
This class is utilized for creating Message objects.
MessageRouter - class com.ls.lars.communication.MessageRouter.
This class is managing all messengers of the agents and has methods for the routing of messages
MIN_REST_SPACE_STRING - Static variable in interface com.ls.cockpit.shell.IShellConstants
The String for the minRestSpace
minLength - Variable in class com.ls.util.validation.ValidatorRuleSet
The minimum length
MINUTE - Static variable in interface com.ls.IBaseConstants
One minute in milli seconds.
MINUTE - Static variable in interface com.ls.lars.ILarsConstants
constant, which represents a minute (measured in milli seconds)
MissingDataException - exception com.ls.MissingDataException.
Exception to identify that some data is missing or the type of some data is wrong.
MissingDataException() - Constructor for class com.ls.MissingDataException
Creates a MissingDataException with no specified detail message.
MissingDataException(String) - Constructor for class com.ls.MissingDataException
Creates an MissingDataException with the specified detail message.
MissingDataException(String, Throwable) - Constructor for class com.ls.MissingDataException
Creates an MissingDataException with the specified detail message and nested exception.
modificationString - Static variable in class com.ls.lars.server.AgentManager
displayable modification string created out of automatically updated datamembers
MONITOR_CLASS_NAME - Static variable in interface com.ls.cockpit.ICockpitConstants
The name of the Monitor class
MONITOR_DIR_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the agentList default search directory
MONITOR_PARAMETERS - Static variable in interface com.ls.cockpit.ICockpitConstants
All valid monitor parameters
MONITORING_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the MONITORING TAG
monthYearToDate(String) - Static method in class com.ls.util.Tool
Returns the date object from the given month and year values. (for the credit card)
MULTICAST_MESSAGE_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the multicast message
MULTICAST_MESSAGE_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the multicast message TAG
MulticastMessage - class com.ls.lars.communication.MulticastMessage.
A broadcast message is sent to a list of receivers.
MulticastMessage(String, List, Object) - Constructor for class com.ls.lars.communication.MulticastMessage
sets all fields of a message including the content object

N

NAME_STRING - Static variable in class com.ls.util.xml.XMLConfigLoader
constant for the String 'name'
NAME_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the name TAG for agent names, ...
newBuilderInstance(String) - Static method in class com.ls.util.threading.ObjectBuilder
Utility method which allowed to quickly instantiate an object builder by class name.
newInstance() - Method in class com.ls.util.threading.ObjectBuilder
Builds a new java object according to the properties set on this object builder.
newInstance(Properties) - Static method in class com.ls.util.threading.ThreadPool
Factory method that instaniates a new thread pool implementation according to the properties defined by the given 'props' argument.
nextJMSListenerId() - Method in class com.ls.lars.communication.JMSListener
returns the next unique (within this Java Virtual Machine) id to be used in a JMS listener name
nextSocketListenerId() - Method in class com.ls.lars.communication.JSecureSocketListener
Returns the next unique (within this Java Virtual Machine) id to be used in a socket listener name.
nextSocketListenerId() - Method in class com.ls.lars.communication.JSocketListener
Returns the next unique (within this Java Virtual Machine) id to be used in a jsocket listener name.
nextSocketListenerId() - Method in class com.ls.lars.communication.SocketListener
returns the next unique (within this Java Virtual Machine) id to be used in a socket listener name
NO_CLASS_PACKAGE_MAPPING_EXCEPTION - Static variable in class com.ls.util.xml.XMLToJavaConversionException
error type 100 : used if a call to xmlToJava is performed without calling setClassPackageMapping()
NO_GROUP_AVAILABLE - Static variable in interface com.ls.lars.ILarsConstants
specifies that there are no group available form the one that where asked
NO_SERVICE_ACCESS - Static variable in class com.ls.lars.server.AgentTemplate
constant specifying no access to services
NO_SERVICE_PROVIDER_AVAILABLE - Static variable in interface com.ls.lars.ILarsConstants
specifies that there are no group available form the one that where asked
NONTERMINATING_LIFETIME - Static variable in class com.ls.util.cache.CacheTimer
If users sets the maxDuration to this value then the the age of the variable will not be checked while retrieving data
NotRunningException - exception com.ls.util.threading.NotRunningException.
This exception is thrown by a thread pool worker in case a task should be processed, but the worker thread is not running or has already terminated.
NotRunningException() - Constructor for class com.ls.util.threading.NotRunningException
Constructs a new exception object with a standard description.
NoValidCertificateException - exception com.ls.security.pki.NoValidCertificateException.
This exception is thrown when the user hasn't got a valid certificate
NoValidCertificateException(String) - Constructor for class com.ls.security.pki.NoValidCertificateException
Creates a CertificateValidityException with the specified detail message.
NoValidCertificateException(String, Throwable) - Constructor for class com.ls.security.pki.NoValidCertificateException
Creates a CertificateValidityException with the specified detail message and nested exception.
numberOfAttributes() - Method in class com.ls.util.xml.XMLFragment
Returns the number of attributes of this XMLFragment.
numberOfChildren() - Method in class com.ls.util.xml.XMLFragment
Returns the number of sub elements of this XMLFragment.

O

OBJECT_AVAILABLE - Static variable in class com.ls.util.Pool
Status: object is available.
OBJECT_NOT_AVAILABLE - Static variable in class com.ls.util.Pool
Status: object is not available.
ObjectBuilder - class com.ls.util.threading.ObjectBuilder.
An object builder constructs java objects out of a given set of properties.
ObjectBuilder() - Constructor for class com.ls.util.threading.ObjectBuilder
Constructs a new object builder instance and calls ObjectBuilder.reset() to put it in a defined state.
ObjectControlException - exception com.ls.util.objectcontrol.ObjectControlException.
exception handling class for the DynamicObjectController
ObjectControlException() - Constructor for class com.ls.util.objectcontrol.ObjectControlException
Creates a ObjectControlException with no specified detail message.
ObjectControlException(String) - Constructor for class com.ls.util.objectcontrol.ObjectControlException
Creates a ObjectControlException with the specified detail message.
ObjectControlException(String, Throwable) - Constructor for class com.ls.util.objectcontrol.ObjectControlException
Creates a ObjectControlException with the specified detail message and nested throwable.
objectPool - Variable in class com.ls.util.Pool
Pool of objects.
OPEN_CFG_FILE_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the open config file TAG for starting new agents
OPEN_CONTENT_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the open content TAG for sending messages
OrderedHashtable - class com.ls.util.container.OrderedHashtable.
This class is same as normal hashtable, but keeping the order of the inserting objects.
OrderedHashtable() - Constructor for class com.ls.util.container.OrderedHashtable
Constructs a new, empty OrderedHashtable, so that it create vector for storing the keys of the hashtable
OrderedXMLHandler - class com.ls.util.xml.OrderedXMLHandler.
This class is for hashtable from a xmlString.
OrderedXMLHandler() - Constructor for class com.ls.util.xml.OrderedXMLHandler
Creates an instance of the xmlParser and sets its handler to this object.
OUTBOX_CLASS_NAME - Static variable in interface com.ls.cockpit.ICockpitConstants
The name of the Outbox class
ownPlatform(AgentSynchronization.LarsPlatformRepresentation) - Method in class com.ls.lars.server.AgentSynchronization
This method returns true, if the ip-address and the lars platform name is equal to the own platform.
ownPlatformIP - Variable in class com.ls.lars.server.AgentSynchronization
Member variable of the own lars platform IP
ownPlatformName - Variable in class com.ls.lars.server.AgentSynchronization
Member variable of the own lars platform name

P

PARAMETER_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the parameter TAG descriptions on loading classes
PARAMETERS_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the parameters TAG for generating new command classes
parse(InputSource) - Method in interface com.ls.util.xml.IXMLHandler
Parses a XML structure as read from the given InputSource and returns a map view on it.
parse(InputSource) - Method in class com.ls.util.xml.XMLComplexHandler
parses an xml structure as read from the given input source and returns a map view on it.
parse(InputSource) - Method in class com.ls.util.xml.XMLHandler
Parses a XML structure as read from the given InputSource and returns a map view on it.
parse(Reader) - Method in interface com.ls.util.xml.IXMLHandler
Parses a XML structure as read from the given Reader and returns a map view on it.
parse(Reader) - Method in class com.ls.util.xml.XMLComplexHandler
parses a xml structure as read from the given Reader and returns a map view on it.
parse(Reader) - Method in class com.ls.util.xml.XMLHandler
Parses a XML structure as read from the given Reader and returns a map view on it.
parse(String) - Method in interface com.ls.util.xml.IXMLHandler
Parses a XML structure as read from the given String and returns a map view on it.
parse(String) - Method in class com.ls.util.xml.XMLComplexHandler
parses a xml structure as read from the given String and returns a map view on it.
parse(String) - Method in class com.ls.util.xml.XMLHandler
Parses a XML structure as read from the given String and returns a map view on it.
parseFile(List) - Method in class com.ls.util.xml.XMLConfigLoader
Reads the XML data from the config file and parses it to an hash object.
parseFile(Map) - Method in class com.ls.util.xml.XMLConfigLoader
Reads the XML data from the config file and parses it to an hash object.
parseFile(String) - Method in class com.ls.util.xml.XMLConfigLoader
Reads the XML data from the config file and parses it to an hash object.
parseInt(String) - Static method in class com.ls.util.Tool
converts a String number to a Integer value
parseXML(Reader) - Static method in class com.ls.util.xml.XMLFragment
parses an xml structure from the given reader and creates an XMLFragment from it.
parseXML(String) - Static method in class com.ls.util.xml.XMLFragment
parses an xml structure from the given reader and creates an XMLFragment from it.
PASSWORD_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the password TAG to shutdown the lars
PASSWORD_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the password TAG
PATH_STRING - Static variable in class com.ls.util.xml.XMLConfigLoader
constant for the String 'path'
PerformanceLogger - class com.ls.service.log.PerformanceLogger.
This class is used for performance logging of the agent platform activity.
PerformanceLogger() - Constructor for class com.ls.service.log.PerformanceLogger
Empty constructor.
PerformanceLogger(ILogger) - Constructor for class com.ls.service.log.PerformanceLogger
Constructor including the ILogger where the log messages get stored.
PerformanceLogger(String) - Constructor for class com.ls.service.log.PerformanceLogger
Constructor that includes trying to open the file where the log messages get stored.
PerformanceLogger(String, Map) - Constructor for class com.ls.service.log.PerformanceLogger
Constructor that includes trying to open the file where the log messages get stored.
performDefaultBehavior(Message) - Method in class com.ls.lars.server.AgentTemplate
Performs this agent's default behavior for an incoming message.
performShutdown() - Method in class com.ls.lars.server.LarsShutdown
Performs the shutdown operation.
This method sends a ILarsConstants.SERVICE_SHUTDOWN_PLATFORM to the AgentManager of the lars platform and blocks until the response message arrives.
PKI_TYPES - Static variable in interface com.ls.lars.security.IPKIHandler
contains the pkyType-names of the run levels
PKIBaseException - exception com.ls.security.pki.PKIBaseException.
Living systems PKI base exception for all PKI.
PKIBaseException() - Constructor for class com.ls.security.pki.PKIBaseException
Creates a PKIBaseException with no specified detail message.
PKIBaseException(String) - Constructor for class com.ls.security.pki.PKIBaseException
Creates a PKIBaseException with the specified detail message.
PKIBaseException(String, Throwable) - Constructor for class com.ls.security.pki.PKIBaseException
Creates a PKIBaseException with the specified detail message and nested exception.
PKIHandler - class com.ls.lars.security.PKIHandler.
This class gives the possibility to handle easily the Public Key Infrastructe (PKI) in a LARS environment.
PKIHandler() - Constructor for class com.ls.lars.security.PKIHandler
standard constructor
PLATFORM_ACCESS - Static variable in class com.ls.lars.server.AgentSynchronization
Constant representing a string constant in the cfg-file for a hashtable key
PLATFORM_CONNECTION_TYPE - Static variable in class com.ls.lars.server.AgentSynchronization
Constant representing a string constant in the cfg-file for a hashtable key
PLATFORM_DIRECTORY_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the larsDirectory TAG
PLATFORM_ID_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the platformId TAG
PLATFORM_IP - Static variable in class com.ls.lars.server.AgentSynchronization
Constant representing a string constant in the cfg-file for a hashtable key
PLATFORM_IP_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the platformIp TAG
PLATFORM_NAME - Static variable in class com.ls.lars.server.AgentSynchronization
Constant representing a string constant in the cfg-file for a hashtable key
PLATFORM_PORT - Static variable in class com.ls.lars.server.AgentSynchronization
Constant representing a string constant in the cfg-file for a hashtable key
PLATFORM_PORT_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the platformPort TAG
PLATFORM_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the platform for sending messages to (only used for Broadcast Messages)
Pool - class com.ls.util.Pool.
Provides a pool of Objects.
Pool(int) - Constructor for class com.ls.util.Pool
Creates a new pool object and set the normal pool size.
Pool(List) - Constructor for class com.ls.util.Pool
Creates a new pool object and fills it with the given vector (pool).
PoolObjectNotAvailableException - exception com.ls.util.PoolObjectNotAvailableException.
Exception to identify that there is no more pool object available.
PoolObjectNotAvailableException() - Constructor for class com.ls.util.PoolObjectNotAvailableException
Creates a PoolObjectNotAvailableException with no specified detail message.
PoolObjectNotAvailableException(String) - Constructor for class com.ls.util.PoolObjectNotAvailableException
Creates a PoolObjectNotAvailableException with the specified detail message.
PoolObjectNotAvailableException(String, Throwable) - Constructor for class com.ls.util.PoolObjectNotAvailableException
Creates a PoolObjectNotAvailableException with the specified detail message and nested exception.
poolSize - Variable in class com.ls.util.Pool
Normal pool size.
port - Variable in class com.ls.lars.communication.SocketListener
port number of the server socket
port - Variable in class com.ls.lars.server.AgentListener
the port for the communication
PORT_STRING - Static variable in class com.ls.util.xml.XMLConfigLoader
constant for the String 'port'
preferredProtocolOrder - Variable in class com.ls.lars.server.AgentSynchronization
Member variable stores order of connection types.
preloadConfiguration(String) - Method in class com.ls.lars.server.LarsShutdown
Loads the configuration from the config file specified by filename and returns the resulting Map.
printStackTrace() - Method in class com.ls.BaseException
Prints the composite message to System.err.
printStackTrace() - Method in class com.ls.BaseRuntimeException
Prints the composite message to System.err.
printStackTrace(PrintStream) - Method in class com.ls.BaseException
Prints the composite message and the embedded stack trace to the specified stream printStream.
printStackTrace(PrintStream) - Method in class com.ls.BaseRuntimeException
Prints the composite message and the embedded stack trace to the specified stream printStream.
printStackTrace(PrintWriter) - Method in class com.ls.BaseException
Prints the composite message and the embedded stack trace to the specified print writer printWriter.
printStackTrace(PrintWriter) - Method in class com.ls.BaseRuntimeException
Prints the composite message and the embedded stack trace to the specified print writer printWriter.
PRIORITY_HIGH - Static variable in class com.ls.lars.communication.Message
maximum priority for a message
PRIORITY_LOW - Static variable in class com.ls.lars.communication.Message
lowest priority for a message
PRIORITY_NORMAL - Static variable in class com.ls.lars.communication.Message
normal (default) priority for a message
PRIORITY_SYSTEM - Static variable in class com.ls.lars.communication.Message
system priority: DO NOT USE THIS for agents!
PRIORITY_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the priority for sending messages
PRIORITY_TEXT_HIGH - Static variable in class com.ls.lars.communication.Message
identifies a high message priority
PRIORITY_TEXT_LOW - Static variable in class com.ls.lars.communication.Message
identifies a low message priority
PRIORITY_TEXT_NORMAL - Static variable in class com.ls.lars.communication.Message
identifies a normal message priority
PRIVATE_ACCESS - Static variable in class com.ls.lars.server.AgentPlatformSecurity
Constant representing a string constant for access
processingInstruction(String, String) - Method in class com.ls.util.xml.XMLComplexHandler
receives notification of a processing instruction. This method is currently not be used in this class.
processingInstruction(String, String) - Method in class com.ls.util.xml.XMLHandler
empty implementation: method is not needed for the parsing of XML streams but belongs to the interface DocumentHandler
processMessage(Message) - Method in class com.ls.lars.communication.JMSMessenger
Usually calls sendMessage(message)
PROGRAMMING_EXCEPTION - Static variable in class com.ls.util.xml.XMLConversionException
error type 1: used for exceptions that are low level bugs in the program
ProgrammingException - exception com.ls.ProgrammingException.
Exception to identify that there is a logical fault (e.g. wrong order of method calls) in the application.
ProgrammingException() - Constructor for class com.ls.ProgrammingException
Creates a ProgrammingException with no specified detail message.
ProgrammingException(String) - Constructor for class com.ls.ProgrammingException
Creates a ProgrammingException with the specified detail message.
ProgrammingException(String, Throwable) - Constructor for class com.ls.ProgrammingException
Creates a ProgrammingException with the specified detail message and nested exception.
PROTOCOL - Static variable in interface com.ls.lars.communication.ICommunication
Constant for setting/getting the connection type for setting up a connection
Value is set to "connectionProtocol"
PROTOCOL_STRING - Static variable in class com.ls.util.xml.XMLConfigLoader
constant for the String 'protocol'
PROTOCOL_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the protocol TAG
PROVIDER_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the provider TAG
PUBLIC_ACCESS - Static variable in class com.ls.lars.server.AgentPlatformSecurity
Constant representing a string constant for access
publicKeyCache - Static variable in class com.ls.security.PublicKeyCache
Contains a usrId or platformId (IP, Port, larsId) as key and byte-array containing the user's or platform's publicKey-certificate.
PublicKeyCache - class com.ls.security.PublicKeyCache.
Helper class for the living systems PKI public key caching.
PublicKeyCache() - Constructor for class com.ls.security.PublicKeyCache
 
pushMessageToRemoteSide(Message) - Method in interface com.ls.lars.communication.IRMIConnector
sends a message to the remote side
pushMessageToRemoteSide(Message) - Method in class com.ls.lars.communication.RMIConnector
Transfers a message to the remote side.
put(Object) - Method in class com.ls.util.Pool
This method adds an object to the pool, but only if the object is not null.
put(Object, Object) - Method in class com.ls.util.cache.CacheTimer
Inserts a data to the hash.
put(Object, Object) - Method in class com.ls.util.container.OrderedHashtable
Maps the specified key to the specified value in this hashtable.
put(Object, Object) - Method in class com.ls.util.container.ReferenceIdentityHashtable
Adds an object reference (representing a tag and used as key) and a list of attributes belonging to that tag.
put(Object, Object) - Method in class com.ls.util.container.StableHashtable
Maps the specified key to the specified value in this hashtable, if the key or the value is not null
put(Object, Object) - Method in class com.ls.util.xml.XMLFragment
Creates a new XMLFragment with name element and a content of content.
putAll(Map) - Method in class com.ls.util.xml.XMLFragment
Adds a number of sub elements to this XMLFragment, as specified in the given Map.
PWD_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the password to shutdown the lars

Q

QOS_AGENT_FAILURE - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished, if the service-specific interpret method (e.g. interpretSetLog) fails with an uncaught exception (this means, that the agent failed to interpret the message).
QOS_DELIVERED_INTO_INBOX - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished in any case, where the routing succeeded with placing the message into a recipients inbox (QualityOfService.QOS_INTERPRET_EXECUTES or QualityOfService.QOS_NO_INTERPRET_DUE_TO_SECURITY).
QOS_GROUP_UNKNOWN - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished, if the group is unknown at the receiving platform's message router.
QOS_INTERPRET_EXECUTES - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished, if the service-specific interpret method executes (QualityOfService.QOS_INTERPRET_TRUE or QualityOfService.QOS_INTERPRET_TRUE_AND_NOT_REPLIED_BEFORE or QualityOfService.QOS_INTERPRET_FALSE or QualityOfService.QOS_AGENT_FAILURE).
QOS_INTERPRET_FAILS - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished, if the service-specific interpret method (e.g. interpretSetLog) fails for any reason (QualityOfService.QOS_INTERPRET_FALSE or QualityOfService.QOS_AGENT_FAILURE or QualityOfService.QOS_SERVICE_UNKNOWN).
QOS_INTERPRET_FALSE - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished, if the service-specific interpret method (e.g. interpretSetLog) returns false (this means, that the current message couldn't be interpreted due to a wrong message format).
QOS_INTERPRET_SUCCEEDS - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished, if the interpret succeeds (only a synonym for QualityOfService.QOS_INTERPRET_TRUE, because QOS_INTERPRET_TRUE and QOS_INTERPRET_TRUE_AND_NOT_REPLIED_BEFORE are a either-or-case).
QOS_INTERPRET_TRUE - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished, if the service-specific interpret method (e.g. interpretSetLog) returns true.
QOS_INTERPRET_TRUE_AND_NOT_REPLIED_BEFORE - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished, if the service-specific interpret method (e.g. interpretSetLog) returns true and no reply was yet generated for the current message.
QOS_LARS_FAILURE - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished, if the lars routing mechanism has an internal error.
QOS_LIFETIME_EXCEEDS - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished, if the message's hop counter exceeds.
QOS_MESSAGE_CONVERSION_FAILURE - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished, if the delivery fails due to message conversion problems (e.g. a conversion into XML fails or the message's content is not serializable).
QOS_MESSENGER_NOT_CONNECTED - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished, if the messenger is not connected.
QOS_NO_INTERPRET_DUE_TO_SECURITY - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished, if the service-specific interpret method (e.g. interpretSetLog) is not called due to any security restrition ((QualityOfService.QOS_SERVICE_ACCESS_DENIED or (QualityOfService.QOS_PKI_FAILS).
QOS_NONE - Static variable in class com.ls.lars.communication.QualityOfService
This quality of service denotes, that no reply message is needed - not even, if this message is undeliverable.
QOS_PKI_FAILS - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished, if the PKI decryption fails.
QOS_PLATFORM_NOT_REACHABLE - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished, if the platform is not reachable.
QOS_RECEIVER_INVALID - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished, if the receiver is invalid.
QOS_RECEIVER_NOT_AVAILABLE - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished, if the receiver is not available on the target platform.
QOS_REMOTE_MESSENGER_NOT_REACHABLE - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished, if the remote messenger cannot be reached due to network or connections problems.
QOS_REPLY_ALWAYS - Static variable in class com.ls.lars.communication.QualityOfService
This quality of service denotes, that always a reply message shall be sent.
QOS_REPLY_ERROR - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished in case of any error (QualityOfService.QOS_INTERPRET_FAILS or QualityOfService.QOS_NO_INTERPRET_DUE_TO_SECURITY or QualityOfService.QOS_ROUTING_FAILURE).
QOS_ROUTING_FAILURE - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished in any case, where the recipient cannot be reached (QualityOfService.QOS_WRONG_RECIPIENT or QualityOfService.QOS_PLATFORM_NOT_REACHABLE or QualityOfService.QOS_LIFETIME_EXCEEDS or QualityOfService.QOS_MESSENGER_NOT_CONNECTED or QualityOfService.QOS_REMOTE_MESSENGER_NOT_REACHABLE or QualityOfService.QOS_MESSAGE_CONVERSION_FAILURE or QualityOfService.QOS_LARS_FAILURE).
QOS_SERVICE_ACCESS_DENIED - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished, if the service may not be used by the caller.
QOS_SERVICE_NOT_REGISTERED - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished, if the service is not registered at the receiving platform's message router.
QOS_SERVICE_UNKNOWN - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished, if the service-specific interpret method (e.g. interpretSetLog) does not exist (this means, that the current message couldn't be interpreted because the given service is not supported by the receiving agent).
QOS_WRONG_RECIPIENT - Static variable in class com.ls.lars.communication.QualityOfService
Reply is wished in any case, where the recipient cannot be determined (QualityOfService.QOS_GROUP_UNKNOWN or QualityOfService.QOS_SERVICE_NOT_REGISTERED or QualityOfService.QOS_RECEIVER_INVALID or QualityOfService.QOS_RECEIVER_NOT_AVAILABLE).
QUALITY_OF_SERVICE_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the quality of service TAG
QualityOfService - class com.ls.lars.communication.QualityOfService.
Offers constants and methods to deal with the quality of service of a message.
QualityOfService() - Constructor for class com.ls.lars.communication.QualityOfService
 
QUIT_CLASS_NAME - Static variable in interface com.ls.cockpit.ICockpitConstants
The name of the Quit class

R

readByte() - Method in class com.ls.util.io.BufferedInputSource
returns a byte of the currently filled buffer and increase the buffer index to the next byte.
receiveBlockedMessage() - Method in class com.ls.lars.communication.CommunicationTemplate
waits until a message arrives in the agent's inbox and returns it It may happen that an existing connection becomes invalid physically (e.g. due to a platform crash) - althought this party gets not informed about that.
receiveBlockedMessage() - Method in class com.ls.lars.communication.JMSMessenger
Waits until a message arrives from the JMS server and returns it.
receiveBlockedMessage(long) - Method in class com.ls.lars.communication.CommunicationTemplate
Waits until a message arrives in the agent's inbox and returns it If there is currently no message available, the method will wait for timeout milliseconds to receive one - after that time span it returns null.
RECEIVER_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the receiver for sending messages
reconnectAfterMigration() - Method in class com.ls.lars.communication.CommunicationTemplate
Reconnects an agent on a (guest) platform.
reconnectAfterMigration() - Method in class com.ls.lars.server.AgentTemplate
reconnects an agent on a (guest) platform
ReferenceIdentityHashtable - class com.ls.util.container.ReferenceIdentityHashtable.
ReferenceIdentityHashtable differs from class hashtable in two main topics: To compare keys, reference identity is used instead of equality checked with the equals() method.
ReferenceIdentityHashtable() - Constructor for class com.ls.util.container.ReferenceIdentityHashtable
Constructor to initialize the key/value container with the default capacity of a Vector (10)
ReferenceIdentityHashtable(int) - Constructor for class com.ls.util.container.ReferenceIdentityHashtable
Constructor to initialize the key/value container with the capacity passed as argument.
refreshTime - Variable in class com.ls.lars.server.AgentSynchronization
Member variable containing the regular refresh time for checking platform connections in milliseconds
refreshTimeIfUnconnectedPlatforms - Variable in class com.ls.lars.server.AgentSynchronization
Member variable containing the refresh time if unconnected platforms exists in milliseconds
registerForServiceStatusChangedNotification(String, String, String) - Method in class com.ls.lars.communication.MessageRouter
Registers the given agent for getting notified when the status of the given service changes (e.g. the service becomes available or unavailable)
registerInterpretMethods() - Method in class com.ls.lars.server.AgentTemplate
Registers non-standard message services and corresponding methods to interpret messages with that service.
registerInterpretMethods(String, Method, String) - Method in class com.ls.lars.server.AgentTemplate
Initializes, that when receiving a message with the given service, the specified method needs to be invoked.
registerInterpretMethods(String, String) - Method in class com.ls.lars.server.AgentTemplate
Initializes, that when receiving a message with the given service, the specified method needs to be invoked.
registerService(Object, String) - Method in class com.ls.lars.communication.MessageRouter
adds an agent to the list(s) of service providers for the specified service(s)
reInitializeAction() - Method in class com.ls.lars.server.AgentTemplate
empty implementation Note for developers: This method gets called, before the config file is interpreted, but only if this agent inherits from com.ls.lars.mobility.AgentBasicMobility!
reloadClass(String, boolean) - Method in class com.ls.lars.server.LarsClassLoader
Reloads a class by a given className.
remove(Object) - Method in class com.ls.util.cache.CacheTimer
Removes a data from the internal hash
remove(Object) - Method in class com.ls.util.container.ReferenceIdentityHashtable
Removes the specified key and its value.
remove(Object) - Method in class com.ls.util.xml.XMLFragment
Any call to this method throws always an UnsupportedOperationException!
removeAgentToWatch(String) - Method in class com.ls.lars.communication.MessageRouter
Removes an agent from the list of watched agents.
removeDefined(Object) - Method in class com.ls.util.objectcontrol.DynamicObjectController
Deletes a previously stored object definition from an internal Map.
removeForward(String) - Method in class com.ls.lars.communication.MessageRouter
removes the forward for the passed agent name from the forward list
removeLoaded(Object) - Method in class com.ls.util.objectcontrol.DynamicObjectController
Deletes a previously loaded object from an internal Map.
removeMessageGroup(String) - Method in class com.ls.lars.communication.MessageRouter
Removes a complete message group.
removeMessenger(String) - Method in class com.ls.lars.communication.MessageRouter
Removes the messenger entry for the passed agent name from the list of messengers.
removePattern(String, String) - Static method in class com.ls.util.text.StringTools
Remove a patterns from the sourceString
removePatterns(String, List) - Static method in class com.ls.util.text.StringTools
Remove all patterns in the replacementList from the sourceString and return it
removePatterns(String, String[]) - Static method in class com.ls.util.text.StringTools
Remove all patterns in the replacementList from the sourceString and return it
removePlatform(String) - Method in class com.ls.lars.communication.MessageRouter
removes the platform entry for the passed platform name
removeTrustedAgent(String, String) - Method in class com.ls.lars.security.ConnectionController.AccessControl
removes the given agent name from the list of trustedAgents.
removeTrustedIpAddress(String, String) - Method in class com.ls.lars.security.ConnectionController.AccessControl
removes the given IP address from the list of trustedIpAddresses.
removeTrustedPlatform(String, String) - Method in class com.ls.lars.security.ConnectionController.AccessControl
removes the given platform name from the list of trustedPlatforms.
removeUntrustedAgent(String, String) - Method in class com.ls.lars.security.ConnectionController.AccessControl
removes the given agent name from the list of untrustedAgents.
removeUntrustedIpAddress(String, String) - Method in class com.ls.lars.security.ConnectionController.AccessControl
removes the given IP address from the list of untrustedIpAddresses.
removeUntrustedPlatform(String, String) - Method in class com.ls.lars.security.ConnectionController.AccessControl
removes the given platform name from the list of untrustedPlatforms.
replace(List) - Method in class com.ls.util.text.ReplacementMap
Decodes all variables defined in this ReplacementMap in the given argument. Note, that variables are recognized by their leading '$' character.
replace(Map) - Method in class com.ls.util.text.ReplacementMap
Decodes all variables defined in this ReplacementMap in the given argument. Note, that variables are recognized by their leading '$' character.
replace(Object, Object) - Method in class com.ls.util.Pool
Replaces the old object with the new one.
replace(String) - Method in class com.ls.util.text.ReplacementMap
Decodes all variables defined in this ReplacementMap in the given argument. Note, that variables are recognized by their leading '$' character.
ReplacementMap - class com.ls.util.text.ReplacementMap.
Used to replace variables in strings with values.
ReplacementMap() - Constructor for class com.ls.util.text.ReplacementMap
 
replacementMapPutAll(Map) - Method in interface com.ls.service.log.ILogger
Puts map to the replacement map, which is used for exchanging variables in a logfile's name with values (for example replace $A with the name of the owning agent).
replacementMapPutAll(Map) - Method in class com.ls.service.log.log4j.Logger4j
Puts map to the replacement map, which is used for exchanging variables in a logfile's name with values (for example replace $A with the name of the owning agent).
replacementMapPutAll(Map) - Method in class com.ls.service.log.Logger
Puts map to the replacement map, which is used for exchanging variables in a logfile's name with values (for example replace $A with the name of the owning agent).
replacePattern(String, String, char) - Static method in class com.ls.util.text.StringTools
Decodes the pattern with the replacement in the source string and returns the decoded string.
replacePattern(String, String, String) - Static method in class com.ls.util.text.StringTools
Decodes the pattern with the replacement in the source string and returns the decoded string.
replacePatterns(String, Map) - Static method in class com.ls.util.text.StringTools
Decodes all variables defined in this ReplacementMap in the given argument. If the encodedString or the replacementMap is null the encodedString will be returned unencoded like it got passed.
REPLY_WITH_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the replyId for sending messages
reset() - Method in class com.ls.util.io.BufferedOutputSource
resets this BufferedOutputSource object (empties all buffers)
reset() - Method in class com.ls.util.taskrun.Task
This method can be overwritten to perform some cleanup operations after the task was executed.
reset() - Method in class com.ls.util.threading.ObjectBuilder
Resets all properties that are already set on this object builder.
ResourceBasedErrorHandler - class com.ls.util.ResourceBasedErrorHandler.
Handle errors based on a resource bundle.
ResourceBasedErrorHandler() - Constructor for class com.ls.util.ResourceBasedErrorHandler
Constructor.
ResourceBundleException - exception com.ls.util.ResourceBundleException.
Exception to identify that there is a problem while opening a resource
ResourceBundleException() - Constructor for class com.ls.util.ResourceBundleException
Creates a ResourceBundleException with no specified detail message.
ResourceBundleException(String) - Constructor for class com.ls.util.ResourceBundleException
Creates a ResourceBundleException with the specified detail message.
ResourceBundleException(String, Throwable) - Constructor for class com.ls.util.ResourceBundleException
Creates a ResourceBundleException with the specified detail message and nested exception.
revisionInformation - Variable in class com.ls.cockpit.CommandNotAvailableException
revision information string, managed by our version control system.
revisionInformation - Variable in class com.ls.cockpit.CommandNotFoundException
revision information string, managed by our version control system.
revisionInformation - Variable in class com.ls.cockpit.ExternalCommand
revision information string, managed by our version control system.
revisionInformation - Variable in class com.ls.cockpit.GUINotAvailableException
revision information string, managed by our version control system.
revisionInformation - Variable in class com.ls.cockpit.InternalCommand
revision information string, managed by our version control system.
revisionInformation - Variable in class com.ls.cockpit.shell.CockpitShell
revision information string, managed by our version control system.
revisionInformation - Variable in class com.ls.lars.communication.ClientSynchronization
revision information string, managed by our version control system.
revisionInformation - Variable in class com.ls.lars.server.AgentCron
revision information string, managed by our version control system.
revisionInformation - Variable in class com.ls.lars.server.AgentJMSListener
Revision information string, managed by our version control system
revisionInformation - Variable in class com.ls.lars.server.AgentJSecureSocketListener
revision information string, managed by our version control system.
revisionInformation - Variable in class com.ls.lars.server.AgentJSocketListener
revision information string, managed by our version control system.
revisionInformation - Variable in class com.ls.lars.server.AgentListener
revision information string, managed by our version control system.
revisionInformation - Variable in class com.ls.lars.server.AgentLogin
revision information string, managed by our version control system.
revisionInformation - Variable in class com.ls.lars.server.AgentManager
revision information string, managed by our version control system.
revisionInformation - Variable in class com.ls.lars.server.AgentMessageRouter
revision information string, managed by our version control system
revisionInformation - Variable in class com.ls.lars.server.AgentPlatformSecurity
revision information string, managed by our version control system.
revisionInformation - Variable in class com.ls.lars.server.AgentRMIListener
revision information string, managed by our version control system
revisionInformation - Variable in class com.ls.lars.server.AgentSocketListener
revision information string, managed by our version control system.
revisionInformation - Variable in class com.ls.lars.server.AgentSynchronization
revision information string, managed by our version control system.
revisionInformation - Variable in class com.ls.lars.server.AgentSynchronizeConnectionHandler
revision information string, managed by our version control system.
revisionInformation - Variable in class com.ls.lars.server.AgentSynchronizeSupervisor
revision information string, managed by our version control system.
revisionInformation - Variable in class com.ls.lars.server.AgentSystemInformation
revision information string, managed by our version control system
revisionInformation - Variable in class com.ls.lars.server.AgentTemplate
revision information string, managed by our version control system
revisionInformation - Variable in class com.ls.lars.server.AgentTimer
revision information string, managed by our version control system.
revisionInformation - Static variable in class com.ls.lars.server.Lars
revision information string, managed by our version control system
RMI - Static variable in interface com.ls.lars.communication.ICommunication
Constant indicating the RMI connection type This is used to set the communication protocol to RMI
Value is set to "rmi"
RMI_DEFAULT_PORT - Static variable in class com.ls.lars.server.AgentRMIListener
default port for socket connections: 1099
RMIConnector - class com.ls.lars.communication.RMIConnector.
This Class is running on the platform and builds the connection between a remote agent and the platform using RMI.
RMIConnector(RMIMessenger) - Constructor for class com.ls.lars.communication.RMIConnector
Sets the message router to the local message router from the platform
RMIListener - class com.ls.lars.communication.RMIListener.
This class is managing incoming client RMI requests.
RMIListener(int) - Constructor for class com.ls.lars.communication.RMIListener
Initializes the port on which the RMI Listener has to listen for incoming requests.
routeMessage(GroupMessage) - Method in class com.ls.lars.communication.MessageRouter
Sends given message to all agents of a message group (the groupname specifies the recipients of the message).
routeMessage(Message) - Method in class com.ls.lars.communication.MessageRouter
Routes a message from the sender messenger to the receiver messenger.
routeMessage(MulticastMessage) - Method in class com.ls.lars.communication.MessageRouter
Sends given message to all agents from the list of the receivers.
routeMessage(ServiceBroadcastMessage) - Method in class com.ls.lars.communication.MessageRouter
Sends given message to all known providers of the requested service (the service is the subject of the message) Failure behaviour: An error with reason QualityOfService.QOS_SERVICE_NOT_REGISTERED is produced, if the service is known, but no service providers are registered.
routeMessage(ServiceSingleMessage) - Method in class com.ls.lars.communication.MessageRouter
Sends given message to all known providers of the requested service (the service is the subject of the message) Failure behaviour: An error with reason QualityOfService.QOS_SERVICE_NOT_REGISTERED is produced, if the service is known, but no service providers are registered.
routeMessage(SingleMessage) - Method in class com.ls.lars.communication.MessageRouter
routes a message from the sender messenger to the receiver messenger
RULE_DEFAULTVALUE - Static variable in class com.ls.util.validation.BaseValidation
The constant that store the "default" string
RULE_DEFAULTVALUE - Static variable in class com.ls.util.validation.Validation
The constant that store the "default" string
RULE_MANDATORY - Static variable in class com.ls.util.validation.BaseValidation
The constant that store the "mandatory" string
RULE_MANDATORY - Static variable in class com.ls.util.validation.Validation
The constant that store the "mandatory" string
RULE_MAXLENGTH - Static variable in class com.ls.util.validation.BaseValidation
The constant that store the "maxlength" string
RULE_MAXLENGTH - Static variable in class com.ls.util.validation.Validation
The constant that store the "maxlength" string
RULE_MINLENGTH - Static variable in class com.ls.util.validation.BaseValidation
The constant that store the "minlength" string
RULE_MINLENGTH - Static variable in class com.ls.util.validation.Validation
The constant that store the "minlength" string
RULE_NAME - Static variable in class com.ls.util.validation.BaseValidation
The constant that store the "name" string
RULE_NAME - Static variable in class com.ls.util.validation.Validation
The constant that store the "name" string
RULE_REGEX - Static variable in class com.ls.util.validation.BaseValidation
The constant that store the "regex" string
RULE_REGEX - Static variable in class com.ls.util.validation.Validation
The constant that store the "regex" string
RULE_TYPE - Static variable in class com.ls.util.validation.BaseValidation
The constant that store the "typecode" string
RULE_TYPE - Static variable in class com.ls.util.validation.Validation
The constant that store the "typecode" string
RUN_LEVEL_ACTIONS_INITIALIZED - Static variable in class com.ls.lars.server.AgentTemplate
agent run level constant stating, that the agent finished its AgentTemplate.initializeAction() method
RUN_LEVEL_CONFIG_FILE_INTERPRETED - Static variable in class com.ls.lars.server.AgentTemplate
agent run level constant stating, that the agent finished interpreting its config file
RUN_LEVEL_CONFIG_FILE_READ - Static variable in class com.ls.lars.server.AgentTemplate
agent run level constant stating, that the agent finished reading its config file from the file system
RUN_LEVEL_EMBRYONIC - Static variable in class com.ls.lars.server.AgentTemplate
agent run level constant stating, that the agent is not yet started
RUN_LEVEL_INTERPRET_METHODS_REGISTERED - Static variable in class com.ls.lars.server.AgentTemplate
agent run level constant stating, that the agent finished reading its config file from the file system
RUN_LEVEL_POOL_INITIALIZED - Static variable in class com.ls.lars.server.AgentTemplate
agent run level constant stating, that the agent create its pooling
RUN_LEVEL_RUNNING - Static variable in class com.ls.lars.server.AgentTemplate
agent run level constant stating, that the agent is running
RUN_LEVEL_STOPPED - Static variable in class com.ls.lars.server.AgentTemplate
agent run level constant stating, that the agent stopped its execution - AgentTemplate.executeWhileRunning() will not be called any more
RUN_LEVEL_TERMINATED - Static variable in class com.ls.lars.server.AgentTemplate
agent run level constant stating, that the agent ceases to exists - it at least has started its AgentTemplate.terminateAction() method
run() - Method in interface com.ls.cockpit.ICommand
runs the thread
run() - Method in interface com.ls.cockpit.IUserInterface
runs the thread
run() - Method in class com.ls.cockpit.shell.CockpitShell
runs the thread.
run() - Method in class com.ls.lars.communication.CommunicationTemplate
Executes when this thread gets started.
run() - Method in class com.ls.lars.communication.JMSListener
Create a connection to the given JMS Server, so that this Listener can listen to the Queue
run() - Method in class com.ls.lars.communication.JMSMessenger
This method is responsible for connecting this JMSMessenger to the JMS Server.
run() - Method in class com.ls.lars.communication.SocketListener
Creates the server socket.
run() - Method in class com.ls.lars.server.Lars
Reads and interprets tha platform's config file, installs the security manager and creates and starts AgentManager.
run() - Method in class com.ls.util.taskrun.Task
An implementation of this method provides the particular opertations to take when the task is executed.
run() - Method in class com.ls.util.threading.ThreadPoolWorker
The main loop of the worker thread.
runTask(Runnable) - Method in class com.ls.util.threading.StaticThreadPool
 
runTask(Runnable) - Method in class com.ls.util.threading.ThreadPool
Executes the given task by a pool thread.
runTask(Runnable) - Method in class com.ls.util.threading.ThreadPoolWorker
Executes the given 'task' argument as soon as possible.
runTask(Runnable, long) - Method in class com.ls.util.threading.ThreadPoolWorker
Executes the given 'task' argument as soon as possible.

S

SECOND - Static variable in interface com.ls.IBaseConstants
One second in milli seconds.
SECOND - Static variable in interface com.ls.lars.ILarsConstants
constant, which represents a second (measured in milli seconds)
securityCheck(String, String) - Method in interface com.ls.lars.communication.IRMIConnector
checks the permission to connect for the specified agent from the given IP address
securityCheck(String, String) - Method in class com.ls.lars.communication.RMIConnector
checks the permission to connect for the specified agent from the given IP address
SEND_ALL_MESSAGES_FROM_HISTORY_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the 'sendAllMessagesFromHistory' method name
SEND_MESSAGE_PARAMETERS - Static variable in interface com.ls.cockpit.ICockpitConstants
All valid send message parameters
sendCertificateRequestToRA(Object, Map) - Method in interface com.ls.security.pki.IPKIUtil
Generates the PKCS#10 request by using the given user data, and sends the certificate request to the given WebGateway.
SENDER_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the sender for sending messages
sendMessage(Message) - Method in class com.ls.lars.communication.CommunicationTemplate
sends a message
Note: the sender of the message is set to the current agent's name
sendMessage(Message) - Method in interface com.ls.lars.communication.ICommunication
sends a message and returns immediately
sendMessageToRemoteSide(Message) - Method in class com.ls.lars.communication.JMSMessenger
Sends a message to the LARS platform via JMS provider.
sendSynchronousRequest(Message) - Method in class com.ls.lars.communication.CommunicationTemplate
sends a message expecting a request for synchronous messaging by calling CommunicationTemplate.sendSynchronousRequest(Message, long)
sendSynchronousRequest(Message) - Method in interface com.ls.lars.communication.ICommunication
Sends a message and waits for an answer for a predefined timeout
sendSynchronousRequest(Message, long) - Method in class com.ls.lars.communication.CommunicationTemplate
sends a message expecting a request for synchronous messaging
Note: the sender of the message is set to the current agent's name Note for developers: You should use this method if - and only if - you're absolutely sure that the call does not make your agent blocking for a longer period.
sendSynchronousRequest(Message, long) - Method in interface com.ls.lars.communication.ICommunication
Sends a message and waits answer in time which user defines in parameters.
SENT_TIME_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the sent time for sending messages
SERVICE_ACCESS_DENIED - Static variable in interface com.ls.lars.ILarsConstants
denotes, that the interpretation of the message given in the content of this message was denied
SERVICE_ADD_FORWARD - Static variable in interface com.ls.lars.ILarsConstants
adds an agent to the forwardlist of the platform
SERVICE_AGENT_AVAILABLE - Static variable in interface com.ls.lars.ILarsConstants
Says that the Agent exists.
SERVICE_AGENT_BUILD - Static variable in interface com.ls.lars.ILarsConstants
The agent was properly built and started.
SERVICE_AGENT_CONNECTED - Static variable in interface com.ls.lars.ILarsConstants
This message is being sent to the agent (registered per SERVICE_NOTIFY_AGENT_CONNECTED) when a specific agent has been connected to the local platform
SERVICE_AGENT_CREATED - Static variable in interface com.ls.lars.ILarsConstants
The agent was successfully created and inserted into the platform.
SERVICE_AGENT_KILLED - Static variable in interface com.ls.lars.ILarsConstants
This is called whenever an agent dies.
SERVICE_AGENT_NOT_BUILD - Static variable in interface com.ls.lars.ILarsConstants
The agent was not built, because the generation parameters (class name, config file(s)) were unknown.
SERVICE_AGENT_NOT_KILLED - Static variable in interface com.ls.lars.ILarsConstants
This is called whenever an agent dies.
SERVICE_AGENT_NOT_NOTIFIED - Static variable in interface com.ls.lars.ILarsConstants
The request was malformed (i.e. bad time) and was not added to the queue.
SERVICE_AGENT_NOT_PRESENT - Static variable in interface com.ls.lars.ILarsConstants
An agent with this name does not exist on the platform.
SERVICE_AGENT_PRESENT - Static variable in interface com.ls.lars.ILarsConstants
Says that an agent with this name is already present, choose another name.
SERVICE_AGENT_STARTUP_CONSTRAINT - Static variable in interface com.ls.lars.ILarsConstants
This message is being sent in order to specify some startup constraints, an agent has to resolve (The constraints are specified within the config file(s) - and only there) The constraints simply consists of a list of agent names, the receiver of this message has to wait for
SERVICE_ASK_FOR_CONNECTION_PARAMETERS - Static variable in interface com.ls.lars.ILarsConstants
Referenced to AgentListener.
SERVICE_ASK_GROUP_MEMBERS - Static variable in interface com.ls.lars.ILarsConstants
This message is sended to the message router agent for requesting the names of the agents of the groups
SERVICE_ASK_SERVICE_PROVIDER_MEMBERS - Static variable in interface com.ls.lars.ILarsConstants
This message is sended to the message router agent for requesting the names of the agents that are register as "service_providers'.
SERVICE_AUTHENTICATE - Static variable in interface com.ls.lars.ILarsConstants
Checks an user, if he is allowed to contact the platform.
SERVICE_BROADCAST_MESSAGE_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the service broadcast message
SERVICE_BROADCAST_MESSAGE_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the service broadcast message TAG
SERVICE_CANCEL_NOTIFY - Static variable in interface com.ls.lars.ILarsConstants
Removes a notification from the timer queue.
SERVICE_CHANGE_HOST - Static variable in interface com.ls.lars.ILarsConstants
Sets the SMTP host which is used to send the email messages.
SERVICE_CHECK_INBOX_SIZE - Static variable in interface com.ls.lars.ILarsConstants
This message is being sent to instruct the AgentMessageRouter for checking the inbox size of all connected messengers
SERVICE_CHECK_REGISTERED_SERVICES - Static variable in interface com.ls.lars.ILarsConstants
asks for the services which are registered for pki-handling
SERVICE_CLASS_NOT_FOUND - Static variable in interface com.ls.lars.ILarsConstants
The agent class could not be decoded or rebuilt, probably due to a missing class or a wrong class path.
SERVICE_CLOSE_CONNECTION - Static variable in interface com.ls.lars.ILarsConstants
Referenced to AgentTemplate
SERVICE_CLOSE_CONNECTIONS - Static variable in interface com.ls.lars.ILarsConstants
service for the platform synchronization (package private!)
SERVICE_CONNECTION_CLOSED - Static variable in interface com.ls.lars.ILarsConstants
This service is used to send an informational message to an agent notifying him, that his connection to the LARS system has been closed.
SERVICE_CONNECTION_NOT_KILLED - Static variable in interface com.ls.lars.ILarsConstants
This is called whenever an agent dies.
SERVICE_DELETE_AGENT - Static variable in interface com.ls.lars.ILarsConstants
Deletes the agent agentName from the platform by first running his terminate agent method, then killing him off.
SERVICE_DELETE_FAILED - Static variable in interface com.ls.lars.ILarsConstants
The agent could not be deleted.
SERVICE_DELETE_GROUP - Static variable in interface com.ls.lars.ILarsConstants
This message can cause to all the agents from a group to be delete
SERVICE_DELETE_GROUP_COMPLETE - Static variable in interface com.ls.lars.ILarsConstants
This message is the response to the merssage 'delete_group' and inform the the receiver that all the agents from the group was deleted
SERVICE_DELETE_GROUP_FAILED - Static variable in interface com.ls.lars.ILarsConstants
This message is the response to the merssage 'delete_group' and inform the the receiver that no agent from the group could be deleted
SERVICE_DELETE_GROUP_PARTIAL - Static variable in interface com.ls.lars.ILarsConstants
This message is the response to the merssage 'delete_group' and inform the the receiver that a part of the agents from the group was deleted and witch agents couldn't be deleted and the reason
SERVICE_DELIVERY_FAILED - Static variable in interface com.ls.lars.ILarsConstants
denotes, that the delivery of the message given in the content of this message could'nt be delivered
SERVICE_EMAIL_NOT_SENT - Static variable in interface com.ls.lars.ILarsConstants
The system could not send the email.
SERVICE_EMAIL_SENT - Static variable in interface com.ls.lars.ILarsConstants
The email was sent.
SERVICE_GET_REVISION_INFORMATION - Static variable in interface com.ls.lars.ILarsConstants
Reads the revision information of the agent and sends a reply message with that revision information.
SERVICE_GET_VERSION - Static variable in interface com.ls.lars.ILarsConstants
Gets information about build number and build date of the running platform.
SERVICE_GO_HOME - Static variable in interface com.ls.lars.ILarsConstants
subject of the request to migrate to the home platform of the agent, the agent will initiate the migration process
SERVICE_HTTP_AGENT_ERROR - Static variable in interface com.ls.lars.ILarsConstants
This message is the response to the message 'http_register_agent' and informs the receiver that the this agent couldn't registered successfully.
SERVICE_HTTP_AGENT_REGISTERED - Static variable in interface com.ls.lars.ILarsConstants
This message is the response to the message 'http_register_agent' and informs the receiver that the new agent was registered in the servlet
SERVICE_HTTP_CLOSE_CONNECTION - Static variable in interface com.ls.lars.ILarsConstants
This message is the sended to close the connection and to remove the messenger information from the server.
SERVICE_HTTP_GET_MESSAGES - Static variable in interface com.ls.lars.ILarsConstants
This message is sended to the HTTPListenerServlet to retrieve new messages from Lars
SERVICE_HTTP_REGISTER_AGENT - Static variable in interface com.ls.lars.ILarsConstants
This message is the sended to the servlet (HTTPListenerServlet) for requesting to register this agent.
SERVICE_INFORM_REMOTE_PLATFORMS - Static variable in interface com.ls.lars.ILarsConstants
service for the platform synchronization (package private!)
SERVICE_INITIALIZE_INBOX_CHECK - Static variable in interface com.ls.lars.ILarsConstants
This message is being used in order to initialize the parameters for checking the inbox size of all connected messengers
SERVICE_INTERPRETATION_SUCCESSFUL - Static variable in interface com.ls.lars.ILarsConstants
denotes, that the interpretation of the message given in the content of this message was successful
SERVICE_KILL_AGENT - Static variable in interface com.ls.lars.ILarsConstants
Deletes the agent agentName from the platform without running his terminate agent method before.
SERVICE_KILL_GROUP - Static variable in interface com.ls.lars.ILarsConstants
This message can cause to all the agents from a group to be kill
SERVICE_KILL_GROUP_COMPLETE - Static variable in interface com.ls.lars.ILarsConstants
This message is the response to the merssage 'kill_group' and inform the the receiver that all the agents from the group was killed
SERVICE_KILL_GROUP_FAILED - Static variable in interface com.ls.lars.ILarsConstants
This message is the response to the merssage 'kill_group' and inform the the receiver that no agent from the group could be killed
SERVICE_KILL_GROUP_PARTIAL - Static variable in interface com.ls.lars.ILarsConstants
This message is the response to the merssage 'kill_group' and inform the the receiver that a part of the agents from the group was killed and witch agents couldn't be killed and the reason
SERVICE_KILLED_CONNECTION - Static variable in interface com.ls.lars.ILarsConstants
This is called whenever an agent dies.
SERVICE_LIST_AGENTS - Static variable in interface com.ls.lars.ILarsConstants
Lists all agents in a content hash.
SERVICE_LIST_OF_AGENTS - Static variable in interface com.ls.lars.ILarsConstants
Will cause the list of ping elements to be filled with the agents listed in the content of this message, except for agents which have been put on the deny list.
SERVICE_LIST_OF_PLATFORMS - Static variable in interface com.ls.lars.ILarsConstants
Response to list_platforms, the content of the message is a map with all platforms the remote platform knows about.
SERVICE_LIST_PLATFORMS - Static variable in interface com.ls.lars.ILarsConstants
Returns a list of platforms which are known to the platform's message router.
SERVICE_LOG_INBOX - Static variable in interface com.ls.lars.ILarsConstants
These messages cause the agent to put the messages from the inbox in to the log file
SERVICE_LOG_SYSTEM_INFORMATION - Static variable in interface com.ls.lars.ILarsConstants
These messages cause AgentSystemInformation to call Lars.logSystemInformation()
SERVICE_MAKE_AGENT - Static variable in interface com.ls.lars.ILarsConstants
Takes a serialized agent, builds a new agent from the object string and injects it into the platform.
SERVICE_MIGRATE - Static variable in interface com.ls.lars.ILarsConstants
subject of the request to migrate for the agent, the agent will initiate the migration process
SERVICE_MIGRATING_AGENT - Static variable in interface com.ls.lars.ILarsConstants
this service gets the migrating agent from start_migration recedierv is also AgentManager
SERVICE_MIGRATION_FAILED - Static variable in interface com.ls.lars.ILarsConstants
subject of a reply-message, if the migration of an agent failed
SERVICE_MIGRATION_SUCCESSFUL - Static variable in interface com.ls.lars.ILarsConstants
subject of a reply-message, if the migration of an agent was successful
SERVICE_MONITOR_ALIVE - Static variable in interface com.ls.lars.ILarsConstants
Referenced to AgentTemplate
SERVICE_MONITOR_LOOKUP - Static variable in interface com.ls.lars.ILarsConstants
Referenced to AgentTemplate
SERVICE_NEW_AGENT - Static variable in interface com.ls.lars.ILarsConstants
Asks AgentManager to create a new agent of the specified agent class with the given name.
SERVICE_NOT_UNDERSTOOD - Static variable in interface com.ls.lars.ILarsConstants
denotes, that the interpretation of the message given in the content of this message failed, because it was not understood or an internal error happened in the agent
SERVICE_NOTIFIED_AGENT - Static variable in interface com.ls.lars.ILarsConstants
Referenced to AgentTemplate.
SERVICE_NOTIFY_AGENT - Static variable in interface com.ls.lars.ILarsConstants
Inserts a notification request into the timer queue.
SERVICE_NOTIFY_AGENT_CONNECTED - Static variable in interface com.ls.lars.ILarsConstants
This message is being sent when the sender wants to get notified as soon as one or more agent(s) got connected to the local platform
SERVICE_NOTIFY_CANCELED - Static variable in interface com.ls.lars.ILarsConstants
The notification request was removed from the timer queue.
SERVICE_NOTIFY_NOT_CANCELED - Static variable in interface com.ls.lars.ILarsConstants
The notification could not be removed because of a malformed time argument, or because the notification request does not exist.
SERVICE_NOTIFY_SERVICE_STATUS_CHANGED - Static variable in interface com.ls.lars.ILarsConstants
This message is being sent when the sender wants to get notified as soon as one or more agent(s) got connected to the local platform
SERVICE_OPEN_CONNECTION_REPLY - Static variable in interface com.ls.lars.ILarsConstants
service for the platform synchronization (package private!)
SERVICE_OPEN_CONNECTIONS - Static variable in interface com.ls.lars.ILarsConstants
service for the platform synchronization (package private!)
SERVICE_PING - Static variable in interface com.ls.lars.ILarsConstants
Checks whether the agent is alive.
SERVICE_PONG - Static variable in interface com.ls.lars.ILarsConstants
This is the signal from an agent that it received the ping message and is alive.
SERVICE_PRESENT_AGENTS - Static variable in interface com.ls.lars.ILarsConstants
Checks whether the agent exists on the platform.
SERVICE_PROVIDER_RANGE_DECREASED - Static variable in class com.ls.lars.communication.MessageRouter
Constants specifying that the number of providers for a service has decreased
SERVICE_PROVIDER_RANGE_INCREASED - Static variable in class com.ls.lars.communication.MessageRouter
Constants specifying that the number of providers for a service has increased
SERVICE_REGISTER - Static variable in interface com.ls.lars.ILarsConstants
Tells the lars platform's message router to forward any messages to the sender to the agent message router specified in the parameter.
SERVICE_REGISTER_PLATFORMS - Static variable in interface com.ls.lars.ILarsConstants
adds a platform to the platform synchronization
SERVICE_REGISTER_REMOTE_PLATFORMS - Static variable in interface com.ls.lars.ILarsConstants
Referenced to AgentSynchronizeSupervisor.
SERVICE_REGISTER_SERVICE - Static variable in interface com.ls.lars.ILarsConstants
Sender wants to receive a copy of all service messages (messages with receiver Message.ADDRESS_SERVICE), that are sent on the local lars platform and have one of the given services
SERVICE_REGISTERED_SERVICES - Static variable in interface com.ls.lars.ILarsConstants
answer of an agent for ILarsConstants.SERVICE_CHECK_REGISTERED_SERVICES
SERVICE_RELOAD_AGENT - Static variable in interface com.ls.lars.ILarsConstants
Asks AgentManager to create a new agent of the specified agent class with the given name, the agent class is reloaded.
SERVICE_REMOVE_MESSAGE_GROUP - Static variable in interface com.ls.lars.ILarsConstants
Removes a complete message group.
SERVICE_REMOVE_MESSAGE_GROUP_FAILED - Static variable in interface com.ls.lars.ILarsConstants
Indicates problem on message group removal.
SERVICE_REMOVE_MESSAGE_GROUP_SUCCEEDED - Static variable in interface com.ls.lars.ILarsConstants
Indicates successfull message group removal.
SERVICE_RESPONSE_FOR_CONNECTION_PARAMETERS - Static variable in interface com.ls.lars.ILarsConstants
Referenced to AgentListener.
SERVICE_RESPONSE_GROUP_MEMBERS - Static variable in interface com.ls.lars.ILarsConstants
This message is the response to the merssage 'ask_message_group_member' and inform the the asker the names of the agents from the groups.
SERVICE_RESPONSE_SERVICE_PROVIDER_MEMBERS - Static variable in interface com.ls.lars.ILarsConstants
This message is the response to the merssage 'ask_service_provider_members' and inform the the asker the names of the agents that are register as "service_providers'.
SERVICE_RESTART_AGENT - Static variable in interface com.ls.lars.ILarsConstants
Asks AgentManager to restart an agent, that was once created by this agent manager and that is currently not running on the platform.
SERVICE_RESTART_GROUP - Static variable in interface com.ls.lars.ILarsConstants
This message can cause to all the agents from a group to restart
SERVICE_RESTART_GROUP_COMPLETE - Static variable in interface com.ls.lars.ILarsConstants
This message is the response to the merssage 'restart_group' and inform the the receiver that all the agents from the group was restarted
SERVICE_RESTART_GROUP_FAILED - Static variable in interface com.ls.lars.ILarsConstants
This message is the response to the merssage 'restart_group' and inform the the receiver that no agent from the group could be restarted
SERVICE_RESTART_GROUP_PARTIAL - Static variable in interface com.ls.lars.ILarsConstants
This message is the response to the merssage 'restart_group' and inform the the receiver that a part of the agents from the group was restarted and witch agents couldn't be restarted and the reason
SERVICE_REVISION_INFORMATION - Static variable in interface com.ls.lars.ILarsConstants
The revision information of the current agent (subclass).
SERVICE_RUN_LEVEL_NOT_SET - Static variable in interface com.ls.lars.ILarsConstants
The run level could not be changed because the new run level was not a number.
SERVICE_RUN_LEVEL_SET - Static variable in interface com.ls.lars.ILarsConstants
The agent's run level was changed.
SERVICE_SEND_AS_CONFIGURED - Static variable in interface com.ls.lars.ILarsConstants
Messages which are configured in the content of this message will be sent to the specified receiver
SERVICE_SEND_MAIL - Static variable in interface com.ls.lars.ILarsConstants
Sends an email
SERVICE_SENDER_RIP - Static variable in interface com.ls.lars.ILarsConstants
Removes all notification requests of the sender from the timer queue.
SERVICE_SERIALIZE_AGENT - Static variable in interface com.ls.lars.ILarsConstants
Serializes an agent, i.e. converts the entire agent object into an object string which can then be sent over any data connection.
SERVICE_SERIALIZE_FAILED - Static variable in interface com.ls.lars.ILarsConstants
Serialization could not be performed because the agent's terminateAction() did not return true.
SERVICE_SERIALIZED_AGENT - Static variable in interface com.ls.lars.ILarsConstants
The agent was successfully serialized.
SERVICE_SERIALIZING_AGENT - Static variable in interface com.ls.lars.ILarsConstants
The agent is being serialized.
SERVICE_SERVICE_NOT_PROVIDED - Static variable in interface com.ls.lars.ILarsConstants
specifies that a requested service is not provided on this platform
SERVICE_SERVICE_STATUS_CHANGED - Static variable in interface com.ls.lars.ILarsConstants
This message is being sent to the agent (registered per SERVICE_NOTIFY_SERVICE_STATUS_CHANGED) when a specific agent has been connected to the local platform
SERVICE_SET_ACCESS_PRIVILEGES - Static variable in interface com.ls.lars.ILarsConstants
sets the service access rules for an agent
SERVICE_SET_AGENT_NAME - Static variable in interface com.ls.lars.ILarsConstants
Used in the initialization protocol of SocketMessenger to specify the agent-like client's resp. the remote agent's name.
SERVICE_SET_COMPRESSION - Static variable in interface com.ls.lars.ILarsConstants
name of service attribute
SERVICE_SET_CONSTANTS - Static variable in interface com.ls.lars.ILarsConstants
Sets the parameters controlling the handling of incoming messages.
SERVICE_SET_DENY_LIST - Static variable in interface com.ls.lars.ILarsConstants
Sets deny list service (message service).
SERVICE_SET_LARS_ADMINISTRATOR - Static variable in interface com.ls.lars.ILarsConstants
Registers a lars administratror and his password at AgentManager.
SERVICE_SET_LOCAL_PORT - Static variable in interface com.ls.lars.ILarsConstants
Refereced to AgentSocketPS
SERVICE_SET_LOG - Static variable in interface com.ls.lars.ILarsConstants
Sets the name for the log file and the logging verbosity level.
SERVICE_SET_LOGIN_AGENT - Static variable in interface com.ls.lars.ILarsConstants
Sets the login agent name which is responsible for user authentication.
SERVICE_SET_MAIL_ADDRESSES - Static variable in interface com.ls.lars.ILarsConstants
Referenced to AgentMail
SERVICE_SET_MAX_MESSAGE_LENGTH - Static variable in interface com.ls.lars.ILarsConstants
Refereced to AgentSocketListener
SERVICE_SET_PLATFORM_ID - Static variable in interface com.ls.lars.ILarsConstants
Used in the initialization protocol of SocketMessenger to specify the LARS platform's id.
SERVICE_SET_PORT - Static variable in interface com.ls.lars.ILarsConstants
Sets port service (message service).
SERVICE_SET_RUN_LEVEL - Static variable in interface com.ls.lars.ILarsConstants
Sets the run level of the agent to a new value.
SERVICE_SET_TRUSTED_IP - Static variable in interface com.ls.lars.ILarsConstants
Sets trusted ip service (message service).
SERVICE_SET_USER_LIST - Static variable in interface com.ls.lars.ILarsConstants
Sets a list of users, which are allowed to contact the platform via JSecureSocket communication.
SERVICE_SHOW_ALL_SERVICES - Static variable in interface com.ls.lars.ILarsConstants
This message can be sent to the platform's AgentMessageRouter for getting informed on all services, which are currently provided on this platform.
SERVICE_SHUTDOWN_PLATFORM - Static variable in interface com.ls.lars.ILarsConstants
Asks AgentManager to shutdown the lars platform.
SERVICE_SHUTDOWN_PLATFORM_DECLINED - Static variable in interface com.ls.lars.ILarsConstants
Negative answer of AgentManager for request ILarsConstants.SERVICE_SHUTDOWN_PLATFORM.
SERVICE_SHUTDOWN_PLATFORM_IN_PROGRESS - Static variable in interface com.ls.lars.ILarsConstants
Positive answer of AgentManager for request ILarsConstants.SERVICE_SHUTDOWN_PLATFORM.
SERVICE_SIGNATURE_NOT_VALID - Static variable in interface com.ls.lars.ILarsConstants
service of a message which is sent if the PKI signature verification failed
SERVICE_SINGLE_MESSAGE_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the service single message
SERVICE_SINGLE_MESSAGE_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the service single message TAG
SERVICE_START_AGENT - Static variable in interface com.ls.lars.ILarsConstants
Asks AgentManager to create a new agent of the specified agent class with the given name.
SERVICE_START_MIGRATION - Static variable in interface com.ls.lars.ILarsConstants
this service is sent to from an mobile agent to the AgentManager to migrate to another host-platform
SERVICE_START_UP - Static variable in interface com.ls.lars.ILarsConstants
is called on reserilization of an migrated agent
SERVICE_SUBSCRIBE_TO_MESSAGE_GROUP - Static variable in interface com.ls.lars.ILarsConstants
Adds an agent or a list of agents to a message group.
SERVICE_SUBSCRIBE_TO_MESSAGE_GROUP_FAILED - Static variable in interface com.ls.lars.ILarsConstants
Indicates problem on adding agent(s) to a mesage group.
SERVICE_SUBSCRIBE_TO_MESSAGE_GROUP_PARTIALLY - Static variable in interface com.ls.lars.ILarsConstants
indicates problem on adding agent(s) to a message group (only some agents were added)
SERVICE_SUBSCRIBE_TO_MESSAGE_GROUP_SUCCEEDED - Static variable in interface com.ls.lars.ILarsConstants
Indicates successfull add to a message group.
SERVICE_SYNCHRONIZE - Static variable in interface com.ls.lars.ILarsConstants
Referenced to AgentPS
SERVICE_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the service for sending messages
SERVICE_TERMINATING_AGENT - Static variable in interface com.ls.lars.ILarsConstants
The agent is being deleted.
SERVICE_TYPE_NOT_FOUND - Static variable in interface com.ls.lars.ILarsConstants
The agent could not be built, probably due to a class not found.
SERVICE_UNKNOWN - Static variable in class com.ls.lars.communication.Message
used as service, if this message's service is unset
SERVICE_UNREGISTER - Static variable in interface com.ls.lars.ILarsConstants
Removes a forwarding entry from the platform's message router.
SERVICE_UNREGISTER_ALL_SERVICES - Static variable in interface com.ls.lars.ILarsConstants
Sender doesn't want to receive a copy of any service messages (messages with receiver Message.ADDRESS_SERVICE) any more.
SERVICE_UNREGISTER_PLATFORMS - Static variable in interface com.ls.lars.ILarsConstants
removes a platform from the platform synchronization
SERVICE_UNREGISTER_REMOTE_PLATFORMS - Static variable in interface com.ls.lars.ILarsConstants
Referenced to AgentSynchronizeSupervisor.
SERVICE_UNREGISTER_SERVICE - Static variable in interface com.ls.lars.ILarsConstants
Sender doesn't want to receive a copy of service messages (messages with receiver Message.ADDRESS_SERVICE) any more, that are sent on the local lars platform and have one of the specified services.
SERVICE_UNSUBSCRIBE_FROM_ALL_MESSAGE_GROUPS - Static variable in interface com.ls.lars.ILarsConstants
Removes an agent from all message groups it is subscribed.
SERVICE_UNSUBSCRIBE_FROM_ALL_MESSAGE_GROUPS_FAILED - Static variable in interface com.ls.lars.ILarsConstants
Indicates problem on removal from message group.
SERVICE_UNSUBSCRIBE_FROM_ALL_MESSAGE_GROUPS_SUCCEEDED - Static variable in interface com.ls.lars.ILarsConstants
Indicates successfull removal from message group.
SERVICE_UNSUBSCRIBE_FROM_MESSAGE_GROUP - Static variable in interface com.ls.lars.ILarsConstants
Removes an agent or a list of agents from a message group.
SERVICE_UNSUBSCRIBE_FROM_MESSAGE_GROUP_FAILED - Static variable in interface com.ls.lars.ILarsConstants
Indicates problem on removal from message group
SERVICE_UNSUBSCRIBE_FROM_MESSAGE_GROUP_SUCCEEDED - Static variable in interface com.ls.lars.ILarsConstants
Indicates successfull removal from message group
SERVICE_USER_NOT_OK - Static variable in interface com.ls.lars.ILarsConstants
Referenced to com.ls.lars.communication.JSecureSocketMessenger
SERVICE_USER_OK - Static variable in interface com.ls.lars.ILarsConstants
Referenced to com.ls.lars.communication.JSecureSocketMessenger
SERVICE_VERSION - Static variable in interface com.ls.lars.ILarsConstants
String containing the current version of the platfoms.
SERVICE_WAKE_UP - Static variable in interface com.ls.lars.ILarsConstants
This message is sent by AgentTimer, if the time of a notification request has been reached.
ServiceBroadcastMessage - class com.ls.lars.communication.ServiceBroadcastMessage.
Message object for the communication between the agents.
ServiceBroadcastMessage(String, Object) - Constructor for class com.ls.lars.communication.ServiceBroadcastMessage
sets all fields of a service broadcast message including the content object
ServiceException - exception com.ls.lars.communication.ServiceException.
service exception handling class
ServiceException() - Constructor for class com.ls.lars.communication.ServiceException
creates a ServiceException with no specified detail message
ServiceException(String) - Constructor for class com.ls.lars.communication.ServiceException
creates a ServiceException with the specified detail message
ServiceMessage - class com.ls.lars.communication.ServiceMessage.
Message object for the communication between the agents.
ServiceMessage(String, Object) - Constructor for class com.ls.lars.communication.ServiceMessage
sets all fields of a service message including the content object
ServiceSingleMessage - class com.ls.lars.communication.ServiceSingleMessage.
Message object for the communication between the agents.
ServiceSingleMessage(String, Object) - Constructor for class com.ls.lars.communication.ServiceSingleMessage
sets all fields of a service message including the content object
SET_AGENTS_STATUS_ACTIVE_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the 'setAgentsStatusActive' method name
SET_AGENTS_STATUS_INACTIVE_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the 'setAgentsStatusInactive' method name
SET_HISTORY_SAVED_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the 'setHistorySaved' method name
setAgentMessageRouterName(String) - Method in class com.ls.lars.server.AgentTemplate
Sets the name of the agentMessageRouter.
setBigDecimalFormatPattern(String) - Static method in class com.ls.util.Tool
Sets the pattern used to format a string
setCache(boolean) - Static method in class com.ls.util.io.FileTool
Sets the flag, which indicates whether the files should be cached or not.
setCallbackReference(IRMIConnector) - Method in interface com.ls.lars.communication.IRMIConnector
saves the object reference of the RMI client for callback function for the RMI server
setCallbackReference(IRMIConnector) - Method in class com.ls.lars.communication.RMIConnector
The object referenze of a RMI object is set thus callbacks can be done.
setClassPackageMapping(String[][]) - Method in class com.ls.util.xml.JavaXMLConverter
Defines the mapping from class names to package names.
setConnectionParameters(Map) - Method in class com.ls.lars.communication.CommunicationTemplate
Sets the connection parameters e.g. compression settings, secure settings, ...
setConnectionParameters(Map) - Method in interface com.ls.lars.communication.IToLars
Sets the connection parameters e.g. compression settings, secure settings, ...
setConnectionParameters(Map) - Method in class com.ls.lars.communication.SocketListener
Sets the connection parameters e.g. compression settings, secure settings, ...
setCriteria(Vector) - Method in class com.ls.util.validation.Validator
Sets the validation criteria from the instantiating class.
setDecimalFormat() - Static method in class com.ls.util.Tool
Sets the decimal format to it's standard value
setDefaultLogType(byte) - Static method in class com.ls.service.log.LoggerFactory
sets the default log type of the logger to the value specified as a parameter
setDefaultPort() - Method in class com.ls.lars.server.AgentJMSListener
sets port to the default port (here: AgentJMSListener.JMS_DEFAULT_PORT)
setDefaultPort() - Method in class com.ls.lars.server.AgentJSecureSocketListener
sets port to the default port (here: AgentJSecureSocketListener.J_SECURE_SOCKET_DEFAULT_PORT)
setDefaultPort() - Method in class com.ls.lars.server.AgentJSocketListener
sets port to the default port (here: AgentJSocketListener.J_SOCKET_DEFAULT_PORT)
setDefaultPort() - Method in class com.ls.lars.server.AgentListener
Sets the default port of the communication channel.
setDefaultPort() - Method in class com.ls.lars.server.AgentRMIListener
sets port to the default port (here: AgentRMIListener.RMI_DEFAULT_PORT)
setDefaultPort() - Method in class com.ls.lars.server.AgentSocketListener
sets port to the default port (here: AgentSocketListener.SOCKET_DEFAULT_PORT)
setDocumentLocator(Locator) - Method in class com.ls.util.xml.XMLComplexHandler
receive an object for locating the origin of SAX document events. This method is currently not be used in this class.
setDocumentLocator(Locator) - Method in class com.ls.util.xml.XMLHandler
empty implementation: method is not needed for the parsing of XML streams but belongs to the interface DocumentHandler
setEncapsulatingAgentName(String) - Method in class com.ls.lars.communication.MessageRouter
sets the name of the agent, which encapsulates this message router (i.e. the agent, which adds agent behavior to the message router)
setExpireHops(short) - Method in class com.ls.lars.communication.Message
sets the number of hops this message is allowed to do before it expires
setForeignPublicKeyCertificate(String, String, String) - Method in interface com.ls.lars.security.IPKIHandler
Sets a Foreign Public Key Certificate.
setForeignPublicKeyCertificate(String, String, String) - Method in class com.ls.lars.security.PKIHandler
Sets a Foreign Public Key Certificate.
setGlobalConfigPath(Map) - Static method in class com.ls.util.xml.XMLConfigLoader
Sets the path where the config files, that are not addressed via an absolute path, will be found.
setGlobalConfigPath(String) - Static method in class com.ls.util.xml.XMLConfigLoader
Sets the path where the config files, that are not addressed via an absolute path, will be found.
setGlobalLogPath(String) - Static method in class com.ls.service.log.LoggerFactory
Sets the path where the log files, that are not addressed via an absolute path, will be written.
setInReplyTo(String) - Method in class com.ls.lars.communication.Message
Sets a inReplyTo for this request message.
setIXMLHandler(IXMLHandler) - Method in class com.ls.lars.server.AgentTemplate
sets the IXMLHandler to be utilized for reading config files
setLineLength(int) - Static method in class com.ls.util.bytes.Base64
Determines how long the lines are that are generated by encode.
setLocalPlatform(String) - Method in class com.ls.lars.server.AgentTemplate
sets the local agent platform's name
setLog() - Method in class com.ls.lars.communication.CommunicationTemplate
sets the ILogger of the messenger
setLog(ILogger) - Method in interface com.ls.lars.communication.IRMIListener
Sets the ILogger for the listener.
setLog(ILogger) - Method in class com.ls.lars.communication.RMIListener
Sets the ILogger for the listener.
setLog(ILogger) - Method in class com.ls.lars.communication.SocketListener
Sets the ILogger for the listener.
setLog(ILogger) - Method in class com.ls.util.xml.XMLConfigLoader
Sets the ILogger for the ConfigLoader.
setLog(String, String, String) - Method in class com.ls.lars.communication.ClientCommunication
Sets the log file and log level for this component.
setLogFile(String) - Method in interface com.ls.service.log.ILogger
changes the log file to another file
setLogFile(String) - Method in class com.ls.service.log.log4j.Logger4j
changes the log file to another file
setLogFile(String) - Method in class com.ls.service.log.Logger
changes the log file to another file
setLogFile(String) - Method in class com.ls.service.log.PerformanceLogger
changes the log file to another file
setLogFile(String) - Static method in class com.ls.service.log.SystemLogger
changes the log file to another file
setLogger(ILogger) - Method in class com.ls.lars.communication.ClientCommunication
Sets the logger for this component.
setLogger(ILogger) - Method in class com.ls.util.taskrun.TaskRunner
Sets the logger instance that will handle log requests from this class and all associated tasks.
setLogger(ILogger) - Method in class com.ls.util.threading.ThreadPool
Sets the logging interface that should be used by this thread pool to report diagnostic messages.
setLogLevel(int) - Method in interface com.ls.service.log.ILogger
Sets the agent's log level.
setLogLevel(int) - Method in class com.ls.service.log.log4j.Logger4j
Sets the agent's log level.
setLogLevel(int) - Method in class com.ls.service.log.Logger
Sets the agent's log level.
setLogLevel(int) - Method in class com.ls.service.log.PerformanceLogger
Sets the log level of the used agent log.
setLogLevel(int) - Static method in class com.ls.service.log.SystemLogger
Sets the system's log level.
setLogLevel(String) - Method in interface com.ls.service.log.ILogger
Sets the agent's log level.
setLogLevel(String) - Method in class com.ls.service.log.log4j.Logger4j
Sets the agent's log level.
setLogLevel(String) - Method in class com.ls.service.log.Logger
Sets the agent's log level.
setLogLevel(String) - Method in class com.ls.service.log.PerformanceLogger
Sets the log level of the used agent log.
setLogLevel(String) - Static method in class com.ls.service.log.SystemLogger
Sets the system's log level.
setLogType(byte) - Static method in class com.ls.service.log.SystemLogger
Changes the type of the logger with the type of logger specified as a parameter.
setMaxDuration(long) - Method in class com.ls.util.cache.CacheTimer
Sets the maximum duration time to a new value.
setMeantimeBetweenConnectionCheck(long) - Method in class com.ls.lars.communication.CommunicationTemplate
sets the meantime between checking the connection
setMessengerName() - Method in class com.ls.lars.communication.JMSMessenger
Sets the name of this messenger.
setName(String) - Method in class com.ls.util.threading.StaticThreadPoolBuilder
Sets the name of the thread pool that will be created by this builder.
setNamespaceURI(String) - Method in class com.ls.util.xml.XMLFragment
Sets the namespace URI for this XMLFragment.
setOwnPublicKeyCertificate(String, String) - Method in interface com.ls.lars.security.IPKIHandler
Sets the own Public Key Certificate
setOwnPublicKeyCertificate(String, String) - Method in class com.ls.lars.security.PKIHandler
Sets the Public Key Certificate, Be aware: you cannot reset the own public key certificate after set it once!
setPKIMessage(Map) - Method in class com.ls.lars.server.AgentTemplate
Sets a message-service which later have to be signed, verified, encrypted, decrypted, signed and encrypted, and decrypted and verified.
setPKIMessage(String, Integer, List) - Method in interface com.ls.lars.security.IPKIHandler
Sets a message-subject which later have to be signed, verified, encrypted, decrypted, signed and encrypted, and decrypted and verified (controlled by the pkiType).
setPKIMessage(String, Integer, List) - Method in class com.ls.lars.security.PKIHandler
Sets a message-service which later have to be signed, verified, encrypted, decrypted, signed and encrypted, and decrypted and verified (controlled by the pkiType).
setPKIProvider(String) - Method in interface com.ls.lars.security.IPKIHandler
Loads the PKI-Provider by the given className.
setPKIProvider(String) - Method in class com.ls.lars.security.PKIHandler
Loads the PKI-Provider by the given className.
setPlatform(String) - Method in class com.ls.lars.communication.ServiceMessage
sets the name of the platform where the service shall be accessed
setPlatformAccess(String) - Method in class com.ls.lars.server.AgentSynchronization.LarsPlatformRepresentation
Sets the access of the remote platform.
setPlatformConnectionParameters(Map) - Method in class com.ls.lars.server.AgentSynchronization.LarsPlatformRepresentation
Sets the connection parameters to connected to the remote platform.
setPoolSize(int) - Method in class com.ls.util.Pool
Sets the normal pool size.
NOTE: It doesn't set the current pool size!
setPort(int) - Method in class com.ls.lars.communication.RMIListener
Sets the port number on which the RMIListener has to listen for incoming requests.
setPort(Message) - Method in class com.ls.lars.server.AgentJMSListener
This method sets the JMS port
setPriority(short) - Method in class com.ls.lars.communication.Message
sets a new priority for this message
setPriority(String) - Method in class com.ls.lars.communication.Message
Sets a new priority for this message.
setPrivateKey(String, String, String) - Method in interface com.ls.lars.security.IPKIHandler
Sets the Private Key which is later used to encrypt or to sign data.
setPrivateKey(String, String, String) - Method in class com.ls.lars.security.PKIHandler
Sets the Private Key which is later used to encrypt or to sign data.
setProperties(Properties) - Method in class com.ls.util.threading.ObjectBuilder
Sets all properties defined in the argument 'props' at once.
setProperties(Properties, String) - Method in class com.ls.util.threading.ObjectBuilder
Behaves similar to ObjectBuilder.setProperties(Properties), except that only those entries in 'props' will be processed, whose property name starts with the given 'basePath' argument.
setProperty(String, Object) - Method in class com.ls.util.threading.ObjectBuilder
Sets a single property with the given name and value.
setPropertyError(String, String) - Method in class com.ls.util.threading.ObjectBuilder
Associates the given property name with the given error message.
setPropertyError(String, Throwable) - Method in class com.ls.util.threading.ObjectBuilder
Behaves similar to ObjectBuilder.setPropertyError(String, String) except that a throwable object can be associated with the property name instead of an error message (as string).
setPropertyFile(String, String) - Static method in class com.ls.util.resource.BundleAccess
Loads the ressource bundle with the indicated property file if not already loaded and fills the corresponding entries into hashtables
setProtocol(String) - Method in class com.ls.util.xml.XMLConfigLoader
sets the protocol for the URL to read the config file from.
setPublicPKIServer(Map) - Method in interface com.ls.lars.security.IPKIHandler
Set the parameters to get certificates/ public keys from a public PKI Server.
setPublicPKIServer(Map) - Method in class com.ls.lars.security.PKIHandler
Sets the parameters to get certificates/ public keys from a public PKI Server.
setPublicPKIServer(Map) - Method in interface com.ls.security.pki.IPKIUtil
Sets the parameters to get certificates/public keys from a public PKI Server.
setQualifiedName(String) - Method in class com.ls.util.xml.XMLFragment
Sets the qualified XML Name for this XMLFragment.
setQualityOfService(int) - Method in class com.ls.lars.communication.Message
Sets the qualityOfService tag of this message.
setQualityOfService(String) - Method in class com.ls.lars.communication.Message
Sets the qualityOfService tag of this message.
setReplyWith(String) - Method in class com.ls.lars.communication.Message
sets a replyWith for this request message
setResourceBundle(String) - Method in class com.ls.util.ResourceBasedErrorHandler
Sets an error bundle.
setResourceBundle(String, String) - Method in class com.ls.util.ResourceBasedErrorHandler
Sets an error bundle.
setRoundingMode(int) - Static method in class com.ls.util.Tool
Sets the roundingMode used for bigDecimal
setRules(String, String, Hashtable, Vector) - Method in class com.ls.util.validation.Validator
Sets the rules to apply to fields posted with a certain subject and action.
setScale(int) - Method in class com.ls.util.math.FormulaCalculator
Set the scale to which results are set.
setScale(int) - Static method in class com.ls.util.Tool
Sets the scale used for bigDecimal
setScript(String) - Method in class com.ls.util.taskrun.TaskRunner
Initializes this task runner with tasks defined in the xml file denoted by the given argument.
setScript(XMLFragment) - Method in class com.ls.util.taskrun.TaskRunner
Initializes this task runner with tasks defined in the given xml structure.
setStaticDataObjects(Iterator) - Method in class com.ls.util.xml.JavaXMLConverter
Allows to specify the objects which contain the static data.
setSystemPriority() - Method in class com.ls.lars.communication.Message
Do not use this method for sending Messages between agents - this method sets the highest available priority a message can obtain and is reserved for lars-internal Messages only.
setTab(boolean) - Method in class com.ls.util.xml.JavaXMLConverter
Setting the tab for the XML output
setTaskBatch(XMLFragment) - Method in class com.ls.util.taskrun.TaskRunner
Initializes this task runner with the task batch contained in the given xml structure.
setTaskDef(XMLFragment) - Method in class com.ls.util.taskrun.TaskRunner
Initializes this task runner with task definitions contained in the given xml structure.
setTest(String) - Method in class com.ls.util.text.WildcardString
set test test
setThreadCount(String) - Method in class com.ls.util.threading.StaticThreadPoolBuilder
Sets the amount of thread maintained by the thread pool that will be created by this builder.
setTransientSemantic(boolean, String) - Method in class com.ls.util.xml.JavaXMLConverter
Allow to set transient semantic.
setUp() - Method in class com.ls.util.bytes.Base64TestCase
Sets up the test fixture before every call to a test method.
setUp() - Method in class com.ls.util.cache.CacheTimerTestCase
Sets up the test fixture before every call to a test method.
setUp() - Method in class com.ls.util.text.StringToolsTestCase
Setup the test replacement map containing the patterns and the replacement Strings
setUserInterfaceReference() - Method in interface com.ls.cockpit.IUserInterface
sets the reference to the user interface for the commandTemplate.
setUserInterfaceReference() - Method in class com.ls.cockpit.shell.CockpitShell
sets the reference to the user interface for the commandTemplate
setUserInterfaceReference(IUserInterface) - Method in interface com.ls.cockpit.ICommand
sets the reference to the user interface for the commandTemplate
setWildcard(String) - Method in class com.ls.util.text.WildcardString
set wildcard test
setXMLString(String) - Method in class com.ls.util.xml.XMLToJavaConversionException
Allows to specify the xml string that caused the exception.
SHORT_DESCRIPTION_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the short description entry
SIGN - Static variable in interface com.ls.lars.security.IPKIHandler
PKI-Handling type to sign messages
SIGN_ENCRYPT - Static variable in interface com.ls.lars.security.IPKIHandler
PKI-Handling type to sign and encrypt messages
SIGNATURE - Static variable in interface com.ls.lars.security.IPKIHandler
the Map key to store the signature
SignatureVericationException - exception com.ls.security.pki.SignatureVericationException.
If the signature verification failed.
SignatureVericationException(String) - Constructor for class com.ls.security.pki.SignatureVericationException
Creates a SignatureVericationException with the specified detail message.
SignatureVericationException(String, Throwable) - Constructor for class com.ls.security.pki.SignatureVericationException
Creates a SignatureVericationException with the specified detail message and nested exception.
SigningException - exception com.ls.security.pki.SigningException.
This exception is thrown when there is error in signing process, for example, if the private key is not correct, if the password not correct, or if the signing process error.
SigningException(String) - Constructor for class com.ls.security.pki.SigningException
Creates a SigningException with the specified detail message.
SigningException(String, Throwable) - Constructor for class com.ls.security.pki.SigningException
Creates a SigningException with the specified detail message and nested exception.
signMessage(Map, List) - Method in class com.ls.lars.security.PKIHandler
signs a message
signMessage(Message, List) - Method in class com.ls.lars.security.PKIHandler
Signs a Message.
SINGLE_MESSAGE_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the single message
SINGLE_MESSAGE_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the single message TAG
SingleMessage - class com.ls.lars.communication.SingleMessage.
Message object for the communication between the agents.
SingleMessage(String, String, Object) - Constructor for class com.ls.lars.communication.SingleMessage
sets all fields of a message including the content object
size() - Method in class com.ls.util.container.ReferenceIdentityHashtable
Returns the number of key/value mappings stored within this object.
size() - Method in class com.ls.util.xml.XMLFragment
Returns the number of sub elements of this XMLFragment.
skippedEntity(String) - Method in class com.ls.util.xml.XMLComplexHandler
receive notification of a skipped entity. This method is currently not be used in this class.
SOCKET - Static variable in interface com.ls.lars.communication.ICommunication
Constant indicating the socket connection type This is used to set the communication protocol to Socket
Value is set to "socket"
SOCKET_DEFAULT_PORT - Static variable in class com.ls.lars.server.AgentSocketListener
default port for socket connections: 2000
socketListener - Variable in class com.ls.lars.server.AgentSocketListener
manages incoming client requests via sockets
SocketListener - class com.ls.lars.communication.SocketListener.
manages incoming client requests via sockets
SocketListener(int) - Constructor for class com.ls.lars.communication.SocketListener
Constructor, that sets the agent and port.
socketListenerThreadId - Static variable in class com.ls.lars.communication.SocketListener
thread id for socket listeners
StableHashtable - class com.ls.util.container.StableHashtable.
This class is to have a nullpointer save hashtable
StableHashtable() - Constructor for class com.ls.util.container.StableHashtable
 
STANDARD_COMMAND_LIB_CLASS_NAME - Static variable in interface com.ls.cockpit.ICockpitConstants
The name of the StandardCommandLib class
START_AGENT_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the 'start_agent' message
start() - Method in interface com.ls.lars.communication.IToLars
Starts the thread in the CommmunicationTemplate.
start() - Method in class com.ls.lars.communication.JMSListener
starts the listener thread and sets the thread name
start() - Method in class com.ls.lars.communication.JMSMessenger
Starts an own thread for this agent running on the server.
start() - Method in class com.ls.lars.communication.SocketListener
starts the listener thread and sets the thread name
start() - Method in class com.ls.lars.server.Lars
Checks the the lars platform's current run level and starts the lars platform, if the run level is "LARS_INSTANCE_CREATED".
startClass(String, Map, Map, Map) - Method in interface com.ls.cockpit.ICommand
tries to instantiate a command class by using the given parameters
startDocument() - Method in class com.ls.util.xml.XMLComplexHandler
receives notification of the beginning of a document. The SAX parser will invoke this method only once, before any other methods in this interface or in DTDHandler (except for setDocumentLocator).
startDocument() - Method in class com.ls.util.xml.XMLHandler
receives notification of the beginning of a document and creates a new list to store the element nodes
startElement(String, AttributeList) - Method in class com.ls.util.xml.XMLHandler
If the Parser receives the start tag of an element, a new map will be added to the list, containing the attributes of this element node.
startElement(String, String, String, Attributes) - Method in class com.ls.util.xml.XMLComplexHandler
receive notification of the beginning of an element.
startNewWorker() - Method in class com.ls.util.threading.ThreadPool
Starts a new worker thread and adds it to this thread pool.
startNewWorker(int) - Method in class com.ls.util.threading.ThreadPool
Performs the same task as ThreadPool.startNewWorker() as often as specified by the 'amount' argument.
startPrefixMapping(String, String) - Method in class com.ls.util.xml.XMLComplexHandler
begins the scope of a prefix-URI Namespace mapping. This method is currently not be used in this class.
STATE_BUSY - Static variable in class com.ls.util.threading.ThreadPoolWorker
Indicates that the thread is processing a task
STATE_IDLE - Static variable in class com.ls.util.threading.ThreadPoolWorker
Indicates, that the thread is running, but has nothing to do
STATE_STOP - Static variable in class com.ls.util.threading.ThreadPoolWorker
Indicates, that the thread is stopped (not running).
StaticThreadPool - class com.ls.util.threading.StaticThreadPool.
This class implements a static thread pool.
StaticThreadPool(String, int) - Constructor for class com.ls.util.threading.StaticThreadPool
Constructs a new static thread pool.
StaticThreadPoolBuilder - class com.ls.util.threading.StaticThreadPoolBuilder.
Object builder for creating object of type StaticThreadPool.
StaticThreadPoolBuilder() - Constructor for class com.ls.util.threading.StaticThreadPoolBuilder
 
STATUS_CONNECTED - Static variable in class com.ls.lars.communication.CommunicationTemplate
connectionStatus = STATUS_CONNECTED: connection to lars platform is ok
STATUS_NOT_CONNECTED - Static variable in class com.ls.lars.communication.CommunicationTemplate
connectionStatus = STATUS_NOT_CONNECTED: connection to lars platform is not available
stcDefaultBdFormat - Static variable in class com.ls.util.Tool
default format field format for big decimals
stcRoundingMode - Static variable in class com.ls.util.Tool
Round mode
stcScale - Static variable in class com.ls.util.Tool
Scale
stop() - Method in class com.ls.lars.communication.SocketListener
stops listener thread in a safe way
stopThread() - Method in class com.ls.lars.communication.ClientCommunication
stops the ClientCommunication thread
STRING_CONTENT_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the string content for sending messages
StringTools - class com.ls.util.text.StringTools.
This class contains several implementations to manipulate Strings.
StringTools() - Constructor for class com.ls.util.text.StringTools
 
StringToolsTestCase - class com.ls.util.text.StringToolsTestCase.
Test class for the WorkflowBean which contains the test of the method which will check for variables in the logic environment.
StringToolsTestCase(String) - Constructor for class com.ls.util.text.StringToolsTestCase
Constructor for the workflow bean test case
subscribeToMessageGroup(String, Object, boolean) - Method in class com.ls.lars.communication.MessageRouter
adds an agent to a message group
suite() - Static method in class com.ls.util.text.EncoderDecoderTestCase
use to run more than one Test cases at the same time
suite() - Static method in class com.ls.util.text.StringToolsTestCase
use to run more than one Test cases at the same time
SYNCHRONIZATION_INTERVALS - Static variable in class com.ls.lars.server.AgentSynchronization
Constant representing a string constant in the cfg-file for synchronization intervals
SystemInformation - class com.ls.util.SystemInformation.
Class for gathering system information.
SystemInformation() - Constructor for class com.ls.util.SystemInformation
 
SystemLogger - class com.ls.service.log.SystemLogger.
Agents not contained in the com.ls.lars package are not allowed to use this class, but should use an instance of ILogger. Due to downward compatibility reasons this is not forced, but only solicited.
SystemLogger() - Constructor for class com.ls.service.log.SystemLogger
 

T

TAB_SIZE_STRING - Static variable in interface com.ls.cockpit.shell.IShellConstants
The String for the tabSize
TAG_CONTENT - Static variable in class com.ls.lars.communication.Message
string that represent the "content"
TAG_CURRENT_HOPS - Static variable in class com.ls.lars.communication.Message
string that represent the "currentHops"
TAG_EXPIRE_HOPS - Static variable in class com.ls.lars.communication.Message
string that represent the "expireHops"
TAG_FORWARDED_BY - Static variable in class com.ls.lars.communication.Message
string that represent the "forwardedBy"
TAG_GLOBAL_LOG_PATH - Static variable in interface com.ls.service.log.ILogger
defines the global log path tag for configuration files
TAG_GROUP - Static variable in class com.ls.lars.communication.GroupMessage
string that represent the "message"
TAG_IN_REPLY_TO - Static variable in class com.ls.lars.communication.Message
string that represent the "inReplyTo"
TAG_LOG_FILE - Static variable in interface com.ls.service.log.ILogger
defines the log file tag for configuration files
TAG_LOG_LEVEL - Static variable in interface com.ls.service.log.ILogger
defines the log level tag for configuration files
TAG_LOG_TYPE - Static variable in interface com.ls.service.log.ILogger
defines the log type tag for configuration files
TAG_MESSAGE - Static variable in class com.ls.lars.communication.Message
string that represent the "mesage"
TAG_PLATFORM - Static variable in class com.ls.lars.communication.ServiceMessage
string that represent the "platform"
TAG_PRIORITY - Static variable in class com.ls.lars.communication.Message
string that represent the "priority"
TAG_QUALITY_OF_SERVICE - Static variable in class com.ls.lars.communication.Message
string that represent the "qualityOfService"
TAG_RECEIVER - Static variable in class com.ls.lars.communication.MulticastMessage
string that represent the "receiver"
TAG_RECEIVER - Static variable in class com.ls.lars.communication.SingleMessage
string that represent the "receiver"
TAG_REPLY_COUNTER - Static variable in class com.ls.lars.communication.Message
string that represent the "replyCounter"
TAG_REPLY_WITH - Static variable in class com.ls.lars.communication.Message
string that represent the "replyWith"
TAG_SENDER - Static variable in class com.ls.lars.communication.Message
string that represent the "sender"
TAG_SENT_TIME - Static variable in class com.ls.lars.communication.Message
string that represent the "sentTime"
TAG_SERVICE - Static variable in class com.ls.lars.communication.Message
string that represent the "service"
TAG_TYPE - Static variable in class com.ls.lars.communication.Message
string that represent the "type"
Task - class com.ls.util.taskrun.Task.
Every object implementing this interface provides can be executed as a task.
Task() - Constructor for class com.ls.util.taskrun.Task
 
TaskException - exception com.ls.util.taskrun.TaskException.
This class represents a failure occured during execution of a Task.
TaskException(String) - Constructor for class com.ls.util.taskrun.TaskException
Create a new exception instance with an additional description of the particular error condition.
TaskException(String, Throwable) - Constructor for class com.ls.util.taskrun.TaskException
Creates a new exception instance with an additional description and a nested exception.
TaskRunner - class com.ls.util.taskrun.TaskRunner.
This class executes scripts which are defined as xml documents.
TaskRunner() - Constructor for class com.ls.util.taskrun.TaskRunner
 
tearDown() - Method in class com.ls.util.bytes.Base64TestCase
Tears down the test fixture after every call to a test method.
tearDown() - Method in class com.ls.util.cache.CacheTimerTestCase
Tears down the test fixture after every call to a test method.
terminateAction() - Method in class com.ls.lars.communication.CommunicationTemplate
Executes actions that have to be performed before the agent terminates.
terminateAction() - Method in class com.ls.lars.server.AgentCron
Checks, if the corresponding cron requestedList has any notification requests.
terminateAction() - Method in class com.ls.lars.server.AgentMessageRouter
Checks, if AgentMessageRouter's run level is less than STOPPED and AgentMessageRouter has clients waiting for connection notifications AgentMessageRouter has service provider(s) as clients AgentMessageRouter has message group member(s) as clients If none of those conditions is true, super.terminateAction is called.
terminateAction() - Method in class com.ls.lars.server.AgentSocketListener
terminates corresponding listener thread and calls super.terminateAction()
terminateAction() - Method in class com.ls.lars.server.AgentTemplate
Executes actions that have to be performed before the agent terminates.
terminateAction() - Method in class com.ls.lars.server.AgentTimer
Checks, if the corresponding timer thread has any notification requests.
testBasics() - Method in class com.ls.util.bytes.Base64TestCase
Tests the correctness of the Base64 encoding.
testCacheOneCacherNormal() - Method in class com.ls.util.cache.CacheTimerTestCase
This class tests the normal usage of Cache class
testCacheOneCacherNormalUnlimited() - Method in class com.ls.util.cache.CacheTimerTestCase
This class tests with the unlimited timeout
testCacheOneCacherNotNormal() - Method in class com.ls.util.cache.CacheTimerTestCase
This class tests the normal usage of Cache class with timeout
testCacheTwoCacher() - Method in class com.ls.util.cache.CacheTimerTestCase
This class tests the usage of two caches
testCacheTwoCacherClearOldData() - Method in class com.ls.util.cache.CacheTimerTestCase
This class tests the usage of two caches and celaring old data
testCacheTwoCacherNormalUnlimited() - Method in class com.ls.util.cache.CacheTimerTestCase
This class tests with the unlimited timeout and two cache object
testCacheWithClear() - Method in class com.ls.util.cache.CacheTimerTestCase
This class tests the usage of two caches and clear
testCacheWithDelete() - Method in class com.ls.util.cache.CacheTimerTestCase
This class tests the usage of two caches and delete
testDecode() - Method in class com.ls.util.text.EncoderDecoderTestCase
Encode the source string
testEncode() - Method in class com.ls.util.text.EncoderDecoderTestCase
Encode the source string
testInfo() - Method in class com.ls.util.cache.CacheTimerTestCase
This class tests the result of getCacheStatus() method
testPatternRemovement() - Method in class com.ls.util.text.StringToolsTestCase
Remove patterns from a source String
testPatternReplacement() - Method in class com.ls.util.text.StringToolsTestCase
Replace pattern in a source string with it replacement
testPatternReplacements() - Method in class com.ls.util.text.StringToolsTestCase
Replace patterns in a source string with it replacements
testReversibility() - Method in class com.ls.util.bytes.Base64TestCase
Tests the reversibility of both the Base64 encoding and decoding.
testTwoCacherWithError() - Method in class com.ls.util.cache.CacheTimerTestCase
This class tests the usage of two caches and error
threadBusy(ThreadPoolWorker, Runnable) - Method in class com.ls.util.threading.ThreadPool
Called by a worker thread to notify the thread pool, that the worker is going to execute the given task.
threadInitialize(ThreadPoolWorker) - Method in class com.ls.util.threading.ThreadPool
Called by a worker thread to notify the thread pool, that the worker thread is initializing.
ThreadPool - class com.ls.util.threading.ThreadPool.
This class provides a pool of threads.
ThreadPool(String) - Constructor for class com.ls.util.threading.ThreadPool
Constructs a new thread pool with the given name.
ThreadPoolWorker - class com.ls.util.threading.ThreadPoolWorker.
Alternative implementation of a thread pool worker.
ThreadPoolWorker(ThreadPool, String) - Constructor for class com.ls.util.threading.ThreadPoolWorker
Constructs a new pool worker.
threadReady(ThreadPoolWorker) - Method in class com.ls.util.threading.StaticThreadPool
Overwritten for updating the list of idle threads.
threadReady(ThreadPoolWorker) - Method in class com.ls.util.threading.ThreadPool
Called by a worker thread to notify the thread pool, that the worker thread is ready to process a task.
threadShutdown(ThreadPoolWorker) - Method in class com.ls.util.threading.ThreadPool
Called by a worker thread to notify the thread pool that the worker will shut down.
threadTaskCompleted(ThreadPoolWorker, Runnable) - Method in class com.ls.util.threading.ThreadPool
Called by a worker thread to inform the thread pool about successfull task execution.
threadTaskFailed(ThreadPoolWorker, Runnable, Throwable) - Method in class com.ls.util.threading.ThreadPool
Called by a worker thread to inform the thread pool about failure of task execution.
TIMEOUT - Static variable in interface com.ls.lars.communication.ICommunication
Constant for setting/getting the timeout for waiting on incoming messages
Value is set to "connectionTimeout"
TimeoutException - exception com.ls.TimeoutException.
This exception is raised in case some task could not be performed within a defined timeframe.
TimeoutException() - Constructor for class com.ls.TimeoutException
Constructs a new TimeoutException with a default description.
TimeoutException(String) - Constructor for class com.ls.TimeoutException
Constructs a TimeoutException with the specified detail message.
TimeoutException(String, Throwable) - Constructor for class com.ls.TimeoutException
Constructs a TimeoutException with the specified detail message and nested exception.
toMap() - Method in class com.ls.lars.communication.Message
returns the complete message as a Map
toMap() - Method in class com.ls.lars.server.AgentSynchronization.LarsPlatformRepresentation
Gets the map representation of the remote platform.
Tool - class com.ls.util.Tool.
Define methods related with date and number convertions used in credit cards.
Tool() - Constructor for class com.ls.util.Tool
Constructor.
toString() - Method in class com.ls.lars.communication.Message
Returns a well formatted string of this message.
toString() - Method in class com.ls.lars.communication.MessageRouter
returns a string representation of this message router containing if system log level is TRACE5: all registered messengers (take care: includes all messages in the inboxes) if system log level is TRACE5: all known forwards all known platforms all known services
toString() - Method in class com.ls.lars.server.AgentSynchronization.LarsPlatformRepresentation
Class member variables to string.
toString() - Method in class com.ls.lars.server.AgentTemplate
returns a string representation of this agent
toString() - Method in class com.ls.util.io.BufferedOutputSource
returns the complete content of this BufferedOutputSource object.
toString() - Method in class com.ls.util.xml.JavaToXMLConversionException
Returns a string representation of this exception.
toString() - Method in class com.ls.util.xml.XMLConversionException
Returns a string representation of this exception.
toString() - Method in class com.ls.util.xml.XMLFragment
Creates a string representation of this XMLFragment.
toString() - Method in class com.ls.util.xml.XMLToJavaConversionException
Returns a string representation of this exception.
toStringWithContent() - Method in class com.ls.lars.communication.Message
Returns a well formatted string of this message including (if existent) the content.
TRACE - Static variable in interface com.ls.service.log.ILogger
same as TRACE1, remains for compatibility reasons only
TRACE1 - Static variable in interface com.ls.service.log.ILogger
declares a log message as a debug information of trace level 1 (most important trace level)
TRACE2 - Static variable in interface com.ls.service.log.ILogger
declares a log message as a debug information of trace level 2
TRACE3 - Static variable in interface com.ls.service.log.ILogger
declares a log message as a debug information of trace level 3
TRACE4 - Static variable in interface com.ls.service.log.ILogger
declares a log message as a debug information of trace level 4
TRACE5 - Static variable in interface com.ls.service.log.ILogger
declares a log message as a debug information of trace level 5 (least important trace level)
TRANSIENTIDSET_EXCEPTION - Static variable in class com.ls.util.xml.XMLConversionException
error type 3 : used whenever a problem occures when rearranging received objects by using a foreign key primary key pair
translateLogLevel(String) - Static method in class com.ls.service.log.LoggerFactory
translates a log level from a String to an int
TYPE_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the type for sending messages (which king of message should be instantiated)
typeCode - Variable in class com.ls.util.validation.ValidatorRuleSet
The type code name

U

UI_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the UI TAG
uncaughtException(Thread, Throwable) - Method in class com.ls.util.threading.ThreadPool
Called by the worker threads if an unexpected exception was raised in the threads ThreadPoolWorker.run() method.
unregisterAllServices(String) - Method in class com.ls.lars.communication.MessageRouter
removes an agent from all service provider lists
unregisterService(Object, String) - Method in class com.ls.lars.communication.MessageRouter
removes an agent from the specifed service provider list(s)
UNSPECIFIED_EXCEPTION - Static variable in class com.ls.util.xml.XMLConversionException
error type 0 : code not specified
unsubscribeFromAllMessageGroups(String) - Method in class com.ls.lars.communication.MessageRouter
Removes an agent from all message groups it is subscribed to.
unsubscribeFromMessageGroup(String, Object) - Method in class com.ls.lars.communication.MessageRouter
Removes an agent from the specified message group.
updateUI(Object) - Method in interface com.ls.cockpit.IUserInterface
is called by cockpit if something changes.
updateUI(Object) - Method in class com.ls.cockpit.shell.CockpitShell
is called by cockpit if something changes.
USAGE_STRING - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the 'Usage:' String replacing it in the description map
USAGE_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the usage TAG descriptions on loading classes
USE_OUTBOX - Static variable in interface com.ls.lars.communication.ICommunication
Constant for setting/getting whether or not the messenger's outbox shall be used for remote communication
Value is set to "connectionUseOutbox"
USER_INTERFACE_TYPE_APPLET - Static variable in interface com.ls.cockpit.ICockpitConstants
The string for user interface type 'applet'
USER_INTERFACE_TYPE_SERVLET - Static variable in interface com.ls.cockpit.ICockpitConstants
The string for user interface type 'servlet'
USER_INTERFACE_TYPE_SHELL - Static variable in interface com.ls.cockpit.ICockpitConstants
The string for user interface type 'shell'
USER_INTERFACE_TYPE_SWING - Static variable in interface com.ls.cockpit.ICockpitConstants
The string for user interface type 'swing'
USER_INTERFACE_TYPE_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the uiType TAG
USER_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the user TAG

V

VALID_PARAMETERS - Static variable in interface com.ls.cockpit.ICockpitConstants
All valid comand line arguments for starting the cockpit
validateMandatory(String, String, Map) - Method in class com.ls.util.validation.BaseValidation
Check if the it is a mandatory flag and the value exits.
validateMandatory(String, String, Map) - Method in class com.ls.util.validation.Validation
Check if the it is a mandatory flag and the value exits.
validateMaxLength(String, String, Map) - Method in class com.ls.util.validation.BaseValidation
Check if the value is long enough.
validateMaxLength(String, String, Map) - Method in class com.ls.util.validation.Validation
Check if the value is long enough.
validateMinLength(String, String, Map) - Method in class com.ls.util.validation.BaseValidation
Check if the value is long enough.
validateMinLength(String, String, Map) - Method in class com.ls.util.validation.Validation
Check if the value is long enough.
validateRegEx(String, String, Map) - Method in class com.ls.util.validation.BaseValidation
Checks if the value is matching the regular expression.
validateRegEx(String, String, Map) - Method in class com.ls.util.validation.Validation
Checks if the value is matching the regular expression.
Validation - class com.ls.util.validation.Validation.
This class is for testing of regular expressions.
Validation() - Constructor for class com.ls.util.validation.Validation
Creates a new Validator object.
ValidationConfigurationException - exception com.ls.util.validation.ValidationConfigurationException.
Exception handling class for validation configuration.
ValidationConfigurationException() - Constructor for class com.ls.util.validation.ValidationConfigurationException
Creates a ValidationConfigurationException with no specified detail message.
ValidationConfigurationException(String) - Constructor for class com.ls.util.validation.ValidationConfigurationException
Creates a ValidationConfigurationException with the specified detail message.
ValidationConfigurationException(String, Throwable) - Constructor for class com.ls.util.validation.ValidationConfigurationException
Creates a ValidationConfigurationException with the specified detail message and nested throwable.
ValidationConfigurationException(String, Throwable, String) - Constructor for class com.ls.util.validation.ValidationConfigurationException
Creates a ValidationConfigurationException with the specified detail message and nested throwable.
ValidationException - exception com.ls.util.validation.ValidationException.
Exception handling class for the validation.
ValidationException() - Constructor for class com.ls.util.validation.ValidationException
Creates a ValidationException with no specified detail message.
ValidationException(String) - Constructor for class com.ls.util.validation.ValidationException
Creates a ValidationException with the specified detail message.
ValidationException(String, Throwable) - Constructor for class com.ls.util.validation.ValidationException
Creates a ValidationException with the specified detail message and nested throwable.
ValidationException(String, Throwable, String) - Constructor for class com.ls.util.validation.ValidationException
Creates a ValidationException with the specified detail message and nested throwable.
Validator - class com.ls.util.validation.Validator.
This class is for testing of regular expressions.
Validator() - Constructor for class com.ls.util.validation.Validator
Creates a new Validator object.
ValidatorRuleSet - class com.ls.util.validation.ValidatorRuleSet.
Contains the definition of a rule.
ValidatorRuleSet(String, String, String, String, String, String) - Constructor for class com.ls.util.validation.ValidatorRuleSet
Constructor.
values() - Method in class com.ls.util.xml.XMLFragment
Any call to this method throws always an UnsupportedOperationException!
VERIFY - Static variable in interface com.ls.lars.security.IPKIHandler
PKI-Handling type to verify signatures in messages
VERIFY_FLAG - Static variable in interface com.ls.lars.security.IPKIHandler
the Map key to store the verify flag
VERIFY_FLAG_FAILED - Static variable in interface com.ls.lars.security.IPKIHandler
a value of the VERIFY_FLAG which means, that the signature verification failed
VERIFY_FLAG_SUCCESS - Static variable in interface com.ls.lars.security.IPKIHandler
a value of the VERIFY_FLAG which means, that the signature verification was successful
VERIFY_MESSAGE - Static variable in interface com.ls.lars.security.IPKIHandler
the Map key to store the verify message
verifyConnectionStatus() - Method in interface com.ls.lars.communication.IRMIConnector
This method will be called by the 'remote' side in order to verify the current connection status Note: This method shall return nothing, as the success of this method depends on the fact whether or not the caller catches a RemoteException.
verifyConnectionStatus() - Method in class com.ls.lars.communication.RMIConnector
This method will be called by the 'remote' side in order to verify the current connection status Note: This method returns nothing, as the success of this method depends on the fact whether or not the caller catches a RemoteException.
verifyMessage(Map, byte[]) - Method in class com.ls.lars.security.PKIHandler
Verifies a Message.
verifyMessage(Map, String) - Method in class com.ls.lars.security.PKIHandler
Verifies a message.
verifyMessage(Message) - Method in class com.ls.lars.security.PKIHandler
Verifies a Message.
verifySignature(String, String, byte[]) - Method in interface com.ls.security.pki.IPKIUtil
verifies signature
verifySignature(String, String, String, String) - Method in interface com.ls.security.pki.IPKIUtil
verifies signature

W

waitForConnection() - Method in class com.ls.lars.communication.CommunicationTemplate
Blocks the calling thread, if the current connection status is CommunicationTemplate.STATUS_NOT_CONNECTED.
waitForConnection() - Method in interface com.ls.lars.communication.IToLars
Blocks the calling thread, if the current connection status is CommunicationTemplate.STATUS_NOT_CONNECTED.
waitForConnection(long) - Method in class com.ls.lars.communication.CommunicationTemplate
Blocks the calling thread, if - timeout time in milliseconds is not reached and - current connection status is CommunicationTemplate.STATUS_NOT_CONNECTED. if the timeout is zero, then the thread blocks as long as the connection status is not changed in a connection setup inside of a Messenger (then called by another thread).
waitForConnection(long) - Method in interface com.ls.lars.communication.IToLars
Blocks the calling thread as long as the following conditions are both true: timeout time in milliseconds is not expired current connection status is CommunicationTemplate.STATUS_NOT_CONNECTED.
waitForIdlePool() - Method in class com.ls.util.threading.StaticThreadPool
 
waitForIdlePool() - Method in class com.ls.util.threading.ThreadPool
Waits until all threads are ready for task execution, or in other words: waits until all currently processed tasks are finished.
waitForIdleThread() - Method in class com.ls.util.threading.StaticThreadPool
 
waitForIdleThread() - Method in class com.ls.util.threading.ThreadPool
Waites until a thread in the pool becomes ready for task execution.
WARNING - Static variable in interface com.ls.service.log.ILogger
Declares a log message as a warning.
WebGatewayException - exception com.ls.security.pki.WebGatewayException.
This exception is thrown when sending certificate request to UniCert WebGateway failed.
WebGatewayException(String) - Constructor for class com.ls.security.pki.WebGatewayException
Creates a WebGatewayException with the specified detail message.
WebGatewayException(String, Throwable) - Constructor for class com.ls.security.pki.WebGatewayException
Creates a WebGatewayException with the specified detail message and nested exception.
WEEK - Static variable in interface com.ls.IBaseConstants
One week in milli seconds.
WEEK - Static variable in interface com.ls.lars.ILarsConstants
constant, which represents a week (measured in milli seconds)
WildcardString - class com.ls.util.text.WildcardString.
Implementation of the UN*X wildcards in Java.
WildcardString() - Constructor for class com.ls.util.text.WildcardString
Simple constructor
WildcardString(String, String) - Constructor for class com.ls.util.text.WildcardString
Constructor
write(Writer, String, Map) - Method in class com.ls.util.xml.XMLComplexHandler
creates the string representation of an xml structure as specified in the given map.
write(Writer, String, Map) - Method in class com.ls.util.xml.XMLHandler
creates a XML document from a map and writes it to the specified Writer
writeByte(byte) - Method in class com.ls.util.io.BufferedOutputSource
writes the given byte into this BufferedOutputSource instance
writeByte(char) - Method in class com.ls.util.io.BufferedOutputSource
writes the given char into this BufferedOutputSource instance
writeSource(BufferedOutputSource) - Method in class com.ls.util.io.BufferedOutputSource
writes the content of the given BufferedOutputSource object into this BufferedOutputSource instance
writeString(String) - Method in class com.ls.util.io.BufferedOutputSource
writes the content of the given String into this BufferedOutputSource instance

X

XML_CONTENT_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the xml content for sending messages
XML_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the 'xml' Tag
XMLComplexHandler - class com.ls.util.xml.XMLComplexHandler.
Processes xml structures as read from any input source and returns the Map implementation of a XMLFragment of that structures.
XMLComplexHandler() - Constructor for class com.ls.util.xml.XMLComplexHandler
constructs an XMLComplexHandler instance, which creates an instance of XMLReader.
XMLConfigLoader - class com.ls.util.xml.XMLConfigLoader.
This class loads a XML config file into a map.
XMLConfigLoader() - Constructor for class com.ls.util.xml.XMLConfigLoader
constructor that initializes a XMLHandler to be used for reading config files
XMLConfigLoader(String) - Constructor for class com.ls.util.xml.XMLConfigLoader
constructor that initializes a XMLHandler as the ConfigHandler to be used for reading config files
XMLConfigLoader(String, IXMLHandler) - Constructor for class com.ls.util.xml.XMLConfigLoader
constructor that takes an IXMLHandler as the ConfigHandler to be used for reading config files
XMLConversionException - exception com.ls.util.xml.XMLConversionException.
Base class for all Exceptions occuring when converting from or to XML.
XMLConversionException(String, int) - Constructor for class com.ls.util.xml.XMLConversionException
Constructor to specify the error message and the error code.
XMLException - exception com.ls.util.xml.XMLException.
Exception to identify an XML error.
XMLException() - Constructor for class com.ls.util.xml.XMLException
creates a XMLException with no specific detail message
XMLException(String) - Constructor for class com.ls.util.xml.XMLException
creates an XMLException with the specified detail message
XMLException(String, Throwable) - Constructor for class com.ls.util.xml.XMLException
creates an XMLException with the specified detail message and nested exception
XMLFragment - class com.ls.util.xml.XMLFragment.
This class represents an XML structure that can deal with attributes, sub elements and any String content.
XMLFragment(String) - Constructor for class com.ls.util.xml.XMLFragment
Creates an empty XMLFragment having the given root element.
XMLFragment(String, Map) - Constructor for class com.ls.util.xml.XMLFragment
Creates an empty XMLFragment having the given root element and a list of attributes.
XMLHandler - class com.ls.util.xml.XMLHandler.
Creates XML documents from a Map or to parse a XML document into a Map
XMLHandler() - Constructor for class com.ls.util.xml.XMLHandler
creates a Parser instance and sets its handler to this object
xmlToJava(String) - Method in class com.ls.util.xml.JavaXMLConverter
Converts an XML String to java objects.
XMLToJavaConversionException - exception com.ls.util.xml.XMLToJavaConversionException.
Base class for all Exceptions occuring when converting from or to XML.
XMLToJavaConversionException(String, int, String) - Constructor for class com.ls.util.xml.XMLToJavaConversionException
Constructor to specify the error message, the error code and the xml string thats conversion caused the exception

Z

ZIP_ENTRY_NAME_TAG - Static variable in interface com.ls.cockpit.ICockpitConstants
The String for the zipEntryName TAG

A B C D E F G H I J K L M N O P Q R S T U V W X Z