pt.digitalis.iss
Class ISSManager

java.lang.Object
  extended by pt.digitalis.iss.ISSManager

public final class ISSManager
extends Object

This class serves as an interface between the clients and the different ISSs. All accesses to the ISSs are made through the manager which is also responsible for the ISSs creation if they don't exist yet.

Author:
Rodrigo Gonçalves rgoncalves@digitalis.pt

Method Summary
static ISS getISS(String id)
          Returns the ISS with the given id.
static ISS getISS(String id, Properties configuration)
          Returns the ISS with the given id and configuration.
static pt.digitalis.log.ILogWrapper getLogger()
          Returns the active logger.
static void setLogger(pt.digitalis.log.ILogWrapper logger)
          Sets the active logger.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getISS

public static ISS getISS(String id,
                         Properties configuration)
Returns the ISS with the given id and configuration. If it doesn't exist yet, it is created.
The Properties file contains configuration parameters for the ISS.

Parameters:
id - the ISS id
configuration - a Properties object with the desired configuration parameters for the ISS
Returns:
the ISS with the matching id

getISS

public static ISS getISS(String id)
Returns the ISS with the given id. If it doesn't exist yet, it is created.

Parameters:
id - the ISS id
Returns:
the ISS with the given id

getLogger

public static pt.digitalis.log.ILogWrapper getLogger()
Returns the active logger.

Returns:
the logger

setLogger

public static void setLogger(pt.digitalis.log.ILogWrapper logger)
Sets the active logger.

Parameters:
logger - the logger to set


Copyright © 2010 Digitalis Informática Lda. All Rights Reserved.