Oracle

com.compoze.collab.log
Interface ILogContext

All Known Implementing Classes:
ILogContext.DefaultLogContext

public interface ILogContext

Classes that implement this interface are capable of supplying context information for a log entry including programmer, user and admin locales and an application specific context string.


Nested Class Summary
static class ILogContext.DefaultLogContext
          This class implements a default log context.
 
Field Summary
static ILogContext DEFAULT_CONTEXT
          Provides a default log context returning the default VM locale and no application context.
 
Method Summary
 java.util.Locale getAdminLocale()
          Gets the current locale of the administrator.
 java.lang.String getApplicationContext()
          Gets the application specific context for the entry.
 java.util.Locale getProgrammerLocale()
          Gets the current locale of the programmer.
 java.util.Locale getUserLocale()
          Gets the current locale of the user.
 

Field Detail

DEFAULT_CONTEXT

static final ILogContext DEFAULT_CONTEXT
Provides a default log context returning the default VM locale and no application context.

Method Detail

getUserLocale

java.util.Locale getUserLocale()
Gets the current locale of the user.

Returns:
the user locale

getProgrammerLocale

java.util.Locale getProgrammerLocale()
Gets the current locale of the programmer.

Returns:
the programmer locale

getAdminLocale

java.util.Locale getAdminLocale()
Gets the current locale of the administrator.

Returns:
the administrator locale

getApplicationContext

java.lang.String getApplicationContext()
Gets the application specific context for the entry.

Returns:
the application specific context

Oracle

Copyright ©1999-2008 Oracle All rights reserved.