wt.services
Class ManagerServiceFactory

java.lang.Object
  extended bywt.services.ManagerServiceFactory

public abstract class ManagerServiceFactory
extends Object

The ManagerServiceFactory is a well known pseudo-singleton (static methods) which is used to record and access a default manager service.

Supported API: false

Extendable: false


Field Summary
private static String CLASSNAME
           
private static ManagerService defaultManagerService
           
private static String RESOURCE
           
static boolean VERBOSE
          Flag ManagerServiceFactory.VERBOSE is used to indicate whether verbose service management is on.
static boolean VERBOSE_EVENTS
          Flag ManagerServiceFactory.VERBOSE_EVENTS is used to indicate wheter verbose service event logging is on.
 
Constructor Summary
ManagerServiceFactory()
           
 
Method Summary
static ManagerService getDefault()
          Gets the object for the association that plays role: default.
static void printErr(String msg)
          

Supported API: false
static void printErr(String msg, Throwable t)
          

Supported API: false
static void printLog(String msg)
          

Supported API: false
static void setDefault(ManagerService a_Default)
          Sets the object for the association that plays role: default.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

defaultManagerService

private static ManagerService defaultManagerService

VERBOSE

public static final boolean VERBOSE
Flag ManagerServiceFactory.VERBOSE is used to indicate whether verbose service management is on. This flag is initialized from property wt.services.verbose.


VERBOSE_EVENTS

public static final boolean VERBOSE_EVENTS
Flag ManagerServiceFactory.VERBOSE_EVENTS is used to indicate wheter verbose service event logging is on. This flag is initialized from property wt.services.verboseEvents.

Constructor Detail

ManagerServiceFactory

public ManagerServiceFactory()
Method Detail

getDefault

public static ManagerService getDefault()
Gets the object for the association that plays role: default.

Supported API: false

Returns:
ManagerService

setDefault

public static void setDefault(ManagerService a_Default)
Sets the object for the association that plays role: default.

Supported API: false

Parameters:
a_Default -

printLog

public static void printLog(String msg)


Supported API: false

Parameters:
msg - Message to be logged

printErr

public static void printErr(String msg)


Supported API: false

Parameters:
msg - The error message to be printed

printErr

public static void printErr(String msg,
                            Throwable t)


Supported API: false

Parameters:
msg - The error message to be printed
t - The Throwable exception being logged