|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.core.EscObject
public abstract class EscObject
| Field Summary | |
|---|---|
static int |
CLONE_EXCEPTION_RESOURCE
Define the clone exception resource ID. |
static byte[] |
EMPTY_BYTES
Define an empty byte array. |
static java.lang.String |
EMPTY_STRING
Define the empty string (String) constant. |
static int |
ERROR_OCCURRED_EXCEPTION_RESOURCE
Define the error occurred exception resource ID. |
static java.lang.String |
ID_FILTER_KEY
Define the id filter key (String) constant. |
static java.lang.String |
ID_KEY
Define the id key (String) constant. |
static java.lang.String |
ID_KEY_ANY
Define the id key any (String) constant. |
static java.lang.String |
ID_NAME_KEY
Define the id name key (String) constant. |
static java.lang.Integer[] |
INTEGER_TABLE
Define the integer table (Integer[]) constant. |
static int |
INTEGER_TABLE_SIZE
Define the integer table size (int) constant. |
static java.lang.String |
KEY_KEY
Define the key key (String) constant. |
static int |
LOG_DEBUG
Define the log Debug (int) constant. |
static int |
LOG_DEFAULT
Define the log default (int) constant. |
static int |
LOG_ERROR
Define the log error (int) constant. |
static int |
LOG_INFO
Define the log info (int) constant. |
static java.lang.String |
LOG_LEVEL_KEY
Define the log level key (String) constant. |
static int |
LOG_TRACE
Define the log trace (int) constant. |
static int |
LOG_WARNING
Define the log warning (int) constant. |
static java.lang.Long[] |
LONG_TABLE
Define the long table (Long[]) constant. |
static int |
LONG_TABLE_SIZE
Define the long table size (int) constant. |
static java.lang.String |
PREFIX_KEY
Define the prefix key (String) constant. |
static java.util.List |
READONLY_EMPTY_COLLECTION
Define the read only empty collection (List) constant. |
static java.util.List |
READONLY_EMPTY_LIST
Define the read only empty list (List) constant. |
static java.util.Map |
READONLY_EMPTY_MAP
Define the read only empty map (Map) constant. |
static java.lang.String |
RESOURCE_BUNDLE
Define the resource bundle (String) constant. |
static int |
SLEEP_EXCEPTION_RESOURCE
Define the sleep exception resource ID. |
static int |
SYSTEM_INFO_RESOURCE
Define the system info resource (int) constant. |
static java.lang.String[] |
TO_STRING_CONFIGURATION_KEYS
Define the to string configuration keys (String[]) constant. |
static int |
TRACE_LEVEL_HIGH
Define the trace level high (int) constant. |
static int |
TRACE_LEVEL_LOW
Define the trace level low (int) constant. |
static int |
TRACE_LEVEL_MAX
Define the trace level max (int) constant. |
static int |
TRACE_LEVEL_MIN
Define the trace level minimum (int) constant. |
static int |
TRACE_LEVEL_NONE
Define the trace level none (int) constant. |
static int |
TRACE_LEVEL_NORMAL
Define the trace level normal (int) constant. |
static java.lang.String |
TRACELEVEL_KEY
Define the trace level key (String) constant. |
static int |
UNKNOWN_ERROR_RESOURCE
Define the unknown error resource ID. |
protected static boolean |
Unmodifiable
Define the unmodifiable (boolean) field. |
| Constructor Summary | |
|---|---|
protected |
EscObject()
Constructs an instance of this class. |
| Method Summary | |
|---|---|
protected boolean |
attemptRecoveryFromError(int errorNumber,
java.lang.Throwable error)
Returns true if attempt recovery from error. |
static java.lang.Boolean |
createBoolean(boolean value)
Create boolean with the specified value parameter and return the Boolean result. |
static org.osgi.service.log.LogService |
createDefaultLogService()
Create default log service and return the LogService result. |
java.lang.RuntimeException |
createException(int resourceId)
Create a RuntimeException from the specified resouceId. |
java.lang.RuntimeException |
createException(int resourceId,
java.lang.Object[] objects)
Create a RuntimeException from the specified resouceId. |
static java.lang.Integer |
createInteger(int value)
Create integer with the specified value parameter and return the Integer result. |
protected static java.lang.Integer[] |
createIntegerTable(int size)
Create integer table and return the Integer[] result. |
static java.lang.Long |
createLong(long value)
Create long with the specified value parameter and return the Long result. |
protected static java.lang.Long[] |
createLongTable(int size)
Create long table with the specified size parameter and return the Long[] result. |
static java.lang.Number |
createNumber(long value)
Create number with the specified value parameter and return the Number result. |
java.lang.String |
format(int resourceId,
java.lang.Object object)
Format the string and return formatted string. |
boolean |
getBoolean(java.lang.String key,
boolean defaultBoolean)
Get boolean with the specified key and default boolean parameters and return the boolean result. |
byte |
getByte(java.lang.String key,
byte defaultByte)
Get byte with the specified key and default byte parameters and return the byte result. |
char |
getChar(java.lang.String key,
char defaultChar)
Get char with the specified key and default char parameters and return the char result. |
ConfigurationService |
getConfigurationService()
Gets the configuration service value. |
static java.lang.Object |
getCurrentTimestamp()
Gets current timestamp. |
static org.osgi.service.log.LogService |
getDefaultLogService()
This should always return a LogService. |
static java.lang.String |
getDefaultResource(int resourceId)
Get default resource with the specified resource id parameter and return the String result. |
double |
getDouble(java.lang.String key,
double defaultDouble)
Get double with the specified key and default double parameters and return the double result. |
protected int |
getErrorSeverity(int errorNumber,
java.lang.Throwable error)
Return the error severity of the specified error number. |
float |
getFloat(java.lang.String key,
float defaultFloat)
Get float with the specified key and default float parameters and return the float result. |
java.lang.String |
getId()
Gets the ID (String) value. |
java.lang.String |
getIdName()
Gets the ID name (String) value. |
int |
getInt(java.lang.String key,
int defaultInt)
Get int with the specified key and default int parameters and return the int result. |
static java.lang.String |
getLoadLibraryName(java.lang.String baseName)
Get load library name with the specified base name parameter and return the String result. |
java.lang.Object[] |
getLogDetails(java.lang.Throwable error,
java.lang.Object details,
java.lang.Object details1,
java.lang.Object details2,
java.lang.Object details3)
Get log details with the specified error, details, details1, details2 and details3 parameters and return the Object[] result. |
java.lang.Object[] |
getLogDetails(java.lang.Throwable error,
java.lang.Object details,
java.lang.Object details1,
java.lang.Object details2,
java.lang.Object details3,
java.lang.Object details4,
java.lang.Object details5,
java.lang.Object details6)
Get log details with the specified error, details, details1, details2 and details3 parameters and return the Object[] result. |
java.lang.Object |
getLogDetails0()
Get the log details 0. |
java.lang.Object |
getLogDetails1()
Get the log details 1. |
java.lang.Object |
getLogDetails2()
Get the log details 2. |
java.lang.Object |
getLogDetails3()
Get the log details 3. |
java.lang.Object |
getLogDetails4()
Get the log details 4. |
java.lang.Object |
getLogDetails5()
Get the log details 5. |
java.lang.Object |
getLogDetails6()
Get the log details 6. |
java.lang.Object |
getLogDetails7()
Get the log details 7. |
int |
getLogLevel()
Gets the log level (int) value. |
org.osgi.service.log.LogService |
getLogService()
This should always return a valid LogService. |
long |
getLong(java.lang.String key,
long defaultLong)
Get long with the specified key and get long parameters and return the long result. |
java.lang.Object |
getObject(java.lang.String key,
java.lang.Object defaultObject)
Get object with the specified key and default object parameters and return the Object result. |
java.lang.String |
getOutputName()
Gets the output name (String) value. |
static java.util.Collection |
getReadOnlyEmptyCollection()
Gets the read only empty collection (Collection) value. |
static java.util.List |
getReadOnlyEmptyList()
Gets the read only empty list (List) value. |
static java.util.Map |
getReadOnlyEmptyMap()
Gets the read only empty map (Map) value. |
java.lang.String |
getResource(int resourceId)
Return the string resource. |
short |
getShort(java.lang.String key,
short defaultShort)
Get short with the specified key and default short parameters and return the short result. |
java.lang.String |
getSimpleClassName()
Gets the simple class name (String) value. |
static boolean |
getStaticBoolean(java.lang.String key,
boolean defaultBoolean)
Get static boolean with the specified key and default boolean parameters and return the boolean result. |
static byte |
getStaticByte(java.lang.String key,
byte defaultByte)
Get static byte with the specified key and default byte parameters and return the byte result. |
static char |
getStaticChar(java.lang.String key,
char defaultChar)
Get static char with the specified key and default char parameters and return the char result. |
static double |
getStaticDouble(java.lang.String key,
double defaultDouble)
Get static double with the specified key and default double parameters and return the double result. |
static float |
getStaticFloat(java.lang.String key,
float defaultFloat)
Get static float with the specified key and default float parameters and return the float result. |
static int |
getStaticInt(java.lang.String key,
int defaultInt)
Gets the int from the configuration information. |
static long |
getStaticLong(java.lang.String key,
long defaultLong)
Get static long with the specified key and default long parameters and return the long result. |
static java.lang.Object |
getStaticObject(java.lang.String key,
java.lang.Object defaultObject)
Get static object with the specified key and default object parameters and return the Object result. |
static short |
getStaticShort(java.lang.String key,
short defaultShort)
Get static short with the specified key and default short parameters and return the short result. |
static java.lang.String |
getStaticString(java.lang.String key,
java.lang.String defaultString)
Get static string with the specified key and default string parameters and return the String result. |
java.lang.String |
getString(java.lang.String key,
java.lang.String defaultString)
Get string with the specified key and default string parameters and return the String result. |
static int |
getTraceLevel()
Gets the trace level (int) value. |
static java.lang.String |
getVmLibraryVersion()
Returns the VM library version. |
void |
handleError(java.lang.Throwable error,
int resourceId)
Handle error with the specified error and resource ID parameters. |
void |
handleError(java.lang.Throwable error,
int resourceId,
java.lang.Object details)
Handle error with the specified error, resource id and details parameters. |
protected void |
handleError(java.lang.Throwable error,
int resourceId,
java.lang.Object[] details)
Handle error with the specified error, resource id and details parameters. |
void |
handleError(java.lang.Throwable error,
int resourceId,
java.lang.Object details,
java.lang.Object details2)
Handle error with the specified error, resource id, details and details2 parameters. |
protected void |
handleErrorInternal(java.lang.Throwable error,
int resourceId,
java.lang.Object[] objects)
Perform the handleError action method. |
static void |
handleStaticError(java.lang.String string)
Perform the handleStaticException action method. |
static void |
handleStaticException(java.lang.Throwable exception)
Perform the handleStaticException action method. |
static boolean |
isBackward()
Gets the backward (boolean) value. |
static boolean |
isDebug()
Gets the Debug state. |
boolean |
isLogging(int severity)
Is logging with the specified severity parameter and return the boolean result. |
static boolean |
isTrace()
Gets the trace state. |
static boolean |
isUnmodifiable()
Gets the unmodifiable (boolean) value. |
static java.lang.Object |
loadService(java.lang.String serviceName,
java.lang.String defaultClassName)
Load the specified service name. |
void |
log(int severity,
java.lang.String message)
Log the event. |
void |
log(int severity,
java.lang.String message,
java.lang.Throwable exception)
Log the event. |
void |
log(java.lang.Throwable error,
int resourceId)
Log with the specified error and resource id parameters. |
void |
report(int reportNumber,
java.lang.Object[] errorObjects)
Report with the specified report number and error objects parameters. |
void |
report(java.lang.Throwable error,
int resourceId)
Report with the specified error and resource id parameters. |
void |
report(java.lang.Throwable error,
int resourceId,
java.lang.Object details)
Report with the specified error, resource id and details parameters. |
void |
report(java.lang.Throwable error,
int resourceId,
java.lang.Object details,
java.lang.Object details1)
Report with the specified error, resource id, details and details1 parameters. |
void |
report(java.lang.Throwable error,
int resourceId,
java.lang.Object details,
java.lang.Object details1,
java.lang.Object details2)
Report with the specified error, resource id, details, details1 and details2 parameters. |
void |
report(java.lang.Throwable error,
int resourceId,
java.lang.Object details,
java.lang.Object details1,
java.lang.Object details2,
java.lang.Object details3)
Report with the specified error, resource id, details, details1, details2 and details3 parameters. |
void |
report(java.lang.Throwable error,
int resourceId,
java.lang.Object details,
java.lang.Object details1,
java.lang.Object details2,
java.lang.Object details3,
java.lang.Object details4)
Report with the specified error, resource id, details, details1, details2 and details3 parameters. |
protected void |
reportError(int errorNumber,
java.lang.Throwable error,
java.lang.Object[] errorObjects)
Report error with the specified error number, error and error objects parameters. |
void |
reportSystemInfo()
Report system info. |
static void |
setBackward(boolean backward)
Sets the backward value. |
static void |
setDebug(boolean debug)
Sets the debug value. |
static void |
setDefaultLogService(org.osgi.service.log.LogService defaultLogService)
Sets the default log service value. |
void |
setLogService(org.osgi.service.log.LogService logService)
Set the LogService. |
static void |
setTraceLevel(int traceLevel)
Sets the trace level value. |
static void |
setUnmodifiable(boolean unmodifiable)
Sets the unmodifiable value. |
static boolean |
shouldLog(int code)
Returns true if the specified code should be logged. |
void |
sleep(long milliseconds)
Sleep the specified number of milliseconds. |
static java.lang.Long |
startupEscStatic()
Startup ESC static and return the Long result. |
java.lang.String |
toString()
Returns the string value. |
java.lang.String[] |
toStringConfigurationKeys()
Returns the string configuration keys (String[]) value. |
void |
toStringInfo(java.lang.StringBuffer buffer)
To string info with the specified buffer parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ID_KEY
public static final java.lang.String ID_NAME_KEY
public static final java.lang.String ID_FILTER_KEY
public static final java.lang.String ID_KEY_ANY
public static final java.lang.String KEY_KEY
public static final java.lang.String PREFIX_KEY
public static final java.lang.String LOG_LEVEL_KEY
public static final java.lang.String[] TO_STRING_CONFIGURATION_KEYS
public static final int LOG_DEFAULT
public static final int LOG_ERROR
public static final int LOG_WARNING
public static final int LOG_INFO
public static final int LOG_DEBUG
public static final int LOG_TRACE
public static final int TRACE_LEVEL_NONE
public static final int TRACE_LEVEL_MIN
public static final int TRACE_LEVEL_LOW
public static final int TRACE_LEVEL_NORMAL
public static final int TRACE_LEVEL_HIGH
public static final int TRACE_LEVEL_MAX
public static final java.lang.String EMPTY_STRING
public static final java.lang.String TRACELEVEL_KEY
public static final java.lang.String RESOURCE_BUNDLE
public static final byte[] EMPTY_BYTES
public static final int INTEGER_TABLE_SIZE
public static final java.lang.Integer[] INTEGER_TABLE
public static final int LONG_TABLE_SIZE
public static final java.lang.Long[] LONG_TABLE
public static final int UNKNOWN_ERROR_RESOURCE
public static final int ERROR_OCCURRED_EXCEPTION_RESOURCE
public static final int SLEEP_EXCEPTION_RESOURCE
public static final int CLONE_EXCEPTION_RESOURCE
public static final int SYSTEM_INFO_RESOURCE
public static final java.util.Map READONLY_EMPTY_MAP
public static final java.util.List READONLY_EMPTY_LIST
public static final java.util.List READONLY_EMPTY_COLLECTION
protected static boolean Unmodifiable
| Constructor Detail |
|---|
protected EscObject()
| Method Detail |
|---|
public static java.lang.Boolean createBoolean(boolean value)
value - The value (boolean) parameter.
Boolean) value.getStaticBoolean(String,boolean),
getBoolean(String,boolean)public static org.osgi.service.log.LogService createDefaultLogService()
LogService) value.getDefaultLogService(),
setDefaultLogService(LogService)public static java.lang.Integer createInteger(int value)
value - The value (int) parameter.
Integer) value.protected static final java.lang.Integer[] createIntegerTable(int size)
size - The size (int) parameter.
Integer[]) value.public static java.lang.Long createLong(long value)
value - The value (long) parameter.
Long) value.getStaticLong(String,long),
getLong(String,long)protected static final java.lang.Long[] createLongTable(int size)
size - The size (int) parameter.
Long[]) value.public static java.lang.Number createNumber(long value)
value - The value (long) parameter.
Number) value.public static java.lang.Object getCurrentTimestamp()
public static org.osgi.service.log.LogService getDefaultLogService()
LogService) value.createDefaultLogService(),
setDefaultLogService(LogService)public static java.lang.String getDefaultResource(int resourceId)
resourceId - The resource ID (int) parameter.
String) value.public static java.lang.String getLoadLibraryName(java.lang.String baseName)
baseName - The base name (String) parameter.
public static final java.util.Collection getReadOnlyEmptyCollection()
Collection) value.public static final java.util.List getReadOnlyEmptyList()
List) value.public static final java.util.Map getReadOnlyEmptyMap()
Map) value.
public static boolean getStaticBoolean(java.lang.String key,
boolean defaultBoolean)
key - The key (String) parameter.defaultBoolean - The default boolean (boolean) parameter.
boolean) value.
public static byte getStaticByte(java.lang.String key,
byte defaultByte)
key - The key (String) parameter.defaultByte - The default byte (byte) parameter.
byte) value.
public static char getStaticChar(java.lang.String key,
char defaultChar)
key - The key (String) parameter.defaultChar - The default char (char) parameter.
char) value.
public static double getStaticDouble(java.lang.String key,
double defaultDouble)
key - The key (String) parameter.defaultDouble - The default double (double) parameter.
double) value.
public static float getStaticFloat(java.lang.String key,
float defaultFloat)
key - The key (String) parameter.defaultFloat - The default float (float) parameter.
float) value.
public static int getStaticInt(java.lang.String key,
int defaultInt)
key - The key (String) parameter.defaultInt - The default int (int) parameter.
public static long getStaticLong(java.lang.String key,
long defaultLong)
key - The key (String) parameter.defaultLong - The default long (long) parameter.
long) value.
public static java.lang.Object getStaticObject(java.lang.String key,
java.lang.Object defaultObject)
key - The key (String) parameter.defaultObject - The default object (Object) parameter.
Object) value.
public static short getStaticShort(java.lang.String key,
short defaultShort)
key - The key (String) parameter.defaultShort - The default short (short) parameter.
short) value.
public static java.lang.String getStaticString(java.lang.String key,
java.lang.String defaultString)
key - The key (String) parameter.defaultString - The default string (String) parameter.
String) value.public static int getTraceLevel()
int) value.setTraceLevel(int)public static java.lang.String getVmLibraryVersion()
String) value.public static void handleStaticError(java.lang.String string)
string - The string (String) parameter.public static void handleStaticException(java.lang.Throwable exception)
exception - The exception (Throwable) parameter.public static boolean isBackward()
boolean) value.setBackward(boolean)public static boolean isDebug()
boolean) value.setDebug(boolean)public static boolean isTrace()
boolean) value.public static boolean isUnmodifiable()
boolean) value.setUnmodifiable(boolean)
public static java.lang.Object loadService(java.lang.String serviceName,
java.lang.String defaultClassName)
throws java.lang.RuntimeException
serviceName - The service name (String) parameter.defaultClassName - The default class name (String) parameter.
java.lang.RuntimeException - Runtime Exception.createDefaultLogService(),
getDefaultLogService(),
setDefaultLogService(LogService),
getConfigurationService(),
getLogService(),
setLogService(LogService)public static void setBackward(boolean backward)
backward - The backward (boolean) parameter.isBackward()public static void setDebug(boolean debug)
debug - The debug (boolean) parameter.isDebug()public static void setDefaultLogService(org.osgi.service.log.LogService defaultLogService)
defaultLogService - The default log service (LogService) parameter.createDefaultLogService(),
getDefaultLogService()public static void setTraceLevel(int traceLevel)
traceLevel - The trace level (int) parameter.getTraceLevel()public static void setUnmodifiable(boolean unmodifiable)
unmodifiable - The unmodifiable (boolean) parameter.isUnmodifiable()public static boolean shouldLog(int code)
code - The code (int) parameter.
public static java.lang.Long startupEscStatic()
Long) value.
protected boolean attemptRecoveryFromError(int errorNumber,
java.lang.Throwable error)
errorNumber - The error number (int) parameter.error - The error (Throwable) parameter.
public java.lang.RuntimeException createException(int resourceId)
resourceId - The resource ID (int) parameter.
handleStaticException(Throwable),
createException(int,Object[])
public java.lang.RuntimeException createException(int resourceId,
java.lang.Object[] objects)
resourceId - The resource ID (int) parameter.objects - The objects (Object[]) parameter.
handleStaticException(Throwable),
createException(int)
public java.lang.String format(int resourceId,
java.lang.Object object)
resourceId - The resource ID (int) parameter.object - The object (Object) parameter.
public boolean getBoolean(java.lang.String key,
boolean defaultBoolean)
key - The key (String) parameter.defaultBoolean - The default boolean (boolean) parameter.
boolean) value.createBoolean(boolean),
getStaticBoolean(String,boolean)
public byte getByte(java.lang.String key,
byte defaultByte)
key - The key (String) parameter.defaultByte - The default byte (byte) parameter.
byte) value.getStaticByte(String,byte)
public char getChar(java.lang.String key,
char defaultChar)
key - The key (String) parameter.defaultChar - The default char (char) parameter.
char) value.getStaticChar(String,char)public ConfigurationService getConfigurationService()
ConfigurationService) value.
public double getDouble(java.lang.String key,
double defaultDouble)
key - The key (String) parameter.defaultDouble - The default double (double) parameter.
double) value.getStaticDouble(String,double)
protected int getErrorSeverity(int errorNumber,
java.lang.Throwable error)
errorNumber - The error number (int) parameter.error - The error (Throwable) parameter.
LogService
public float getFloat(java.lang.String key,
float defaultFloat)
key - The key (String) parameter.defaultFloat - The default float (float) parameter.
float) value.getStaticFloat(String,float)public java.lang.String getId()
String) value.public java.lang.String getIdName()
String) value.
public int getInt(java.lang.String key,
int defaultInt)
key - The key (String) parameter.defaultInt - The default int (int) parameter.
int) value.getStaticInt(String,int)
public java.lang.Object[] getLogDetails(java.lang.Throwable error,
java.lang.Object details,
java.lang.Object details1,
java.lang.Object details2,
java.lang.Object details3)
error - The error (Throwable) parameter.details - The details (Object) parameter.details1 - The details1 (Object) parameter.details2 - The details2 (Object) parameter.details3 - The details3 (Object) parameter.
getLogDetails(Throwable,Object,Object,Object,Object,Object,Object,Object)
public java.lang.Object[] getLogDetails(java.lang.Throwable error,
java.lang.Object details,
java.lang.Object details1,
java.lang.Object details2,
java.lang.Object details3,
java.lang.Object details4,
java.lang.Object details5,
java.lang.Object details6)
error - The error (Throwable) parameter.details - The details (Object) parameter.details1 - The details1 (Object) parameter.details2 - The details2 (Object) parameter.details3 - The details3 (Object) parameter.details4 - The details4 (Object) parameter.details5 - The details5 (Object) parameter.details6 - The details6 (Object) parameter.
getLogDetails(Throwable,Object,Object,Object,Object)public java.lang.Object getLogDetails0()
public java.lang.Object getLogDetails1()
public java.lang.Object getLogDetails2()
public java.lang.Object getLogDetails3()
public java.lang.Object getLogDetails4()
public java.lang.Object getLogDetails5()
public java.lang.Object getLogDetails6()
public java.lang.Object getLogDetails7()
public int getLogLevel()
int) value.public org.osgi.service.log.LogService getLogService()
LogService) value.createDefaultLogService(),
getDefaultLogService(),
setDefaultLogService(LogService),
setLogService(LogService)
public long getLong(java.lang.String key,
long defaultLong)
key - The key (String) parameter.defaultLong - The default long (long) parameter.
long) value.createLong(long),
getStaticLong(String,long)
public java.lang.Object getObject(java.lang.String key,
java.lang.Object defaultObject)
key - The key (String) parameter.defaultObject - The default object (Object) parameter.
Object) value.EscObject(),
getStaticObject(String,Object)public java.lang.String getOutputName()
String) value.public java.lang.String getResource(int resourceId)
resourceId - The resource ID (int) parameter.
getDefaultResource(int)
public short getShort(java.lang.String key,
short defaultShort)
key - The key (String) parameter.defaultShort - The default short (short) parameter.
short) value.getStaticShort(String,short)public java.lang.String getSimpleClassName()
String) value.
public java.lang.String getString(java.lang.String key,
java.lang.String defaultString)
key - The key (String) parameter.defaultString - The default string (String) parameter.
String) value.getStaticString(String,String),
toString()
public void handleError(java.lang.Throwable error,
int resourceId)
error - The error (Throwable) parameter.resourceId - The resource ID (int) parameter.handleStaticError(String),
attemptRecoveryFromError(int,Throwable),
handleError(Throwable,int,Object),
handleError(Throwable,int,Object,Object),
handleError(Throwable,int,Object[]),
reportError(int,Throwable,Object[])
public void handleError(java.lang.Throwable error,
int resourceId,
java.lang.Object details)
error - The error (Throwable) parameter.resourceId - The resource ID (int) parameter.details - The details (Object) parameter.handleStaticError(String),
attemptRecoveryFromError(int,Throwable),
handleError(Throwable,int),
handleError(Throwable,int,Object,Object),
handleError(Throwable,int,Object[]),
reportError(int,Throwable,Object[])
public void handleError(java.lang.Throwable error,
int resourceId,
java.lang.Object details,
java.lang.Object details2)
error - The error (Throwable) parameter.resourceId - The resource ID (int) parameter.details - The details (Object) parameter.details2 - The details2 (Object) parameter.handleStaticError(String),
attemptRecoveryFromError(int,Throwable),
handleError(Throwable,int),
handleError(Throwable,int,Object),
handleError(Throwable,int,Object[]),
reportError(int,Throwable,Object[])
protected void handleError(java.lang.Throwable error,
int resourceId,
java.lang.Object[] details)
error - The error (Throwable) parameter.resourceId - The resource ID (int) parameter.details - The details (Object[]) parameter.handleStaticError(String),
attemptRecoveryFromError(int,Throwable),
handleError(Throwable,int),
handleError(Throwable,int,Object),
handleError(Throwable,int,Object,Object),
reportError(int,Throwable,Object[])
protected void handleErrorInternal(java.lang.Throwable error,
int resourceId,
java.lang.Object[] objects)
error - The error (Throwable) parameter.resourceId - The resource ID (int) parameter.objects - The objects (Object[]) parameter.public boolean isLogging(int severity)
severity - The severity (int) parameter.
boolean) value.
public void log(int severity,
java.lang.String message)
severity - The severity (int) parameter.message - The message (String) parameter.log(int,String,Throwable),
log(Throwable,int)
public void log(int severity,
java.lang.String message,
java.lang.Throwable exception)
severity - The severity (int) parameter.message - The message (String) parameter.exception - The exception (Throwable) parameter.log(int,String),
log(Throwable,int)
public void log(java.lang.Throwable error,
int resourceId)
error - The error (Throwable) parameter.resourceId - The resource ID (int) parameter.log(int,String),
log(int,String,Throwable)
public void report(int reportNumber,
java.lang.Object[] errorObjects)
reportNumber - The report number (int) parameter.errorObjects - The error objects (Object[]) parameter.report(Throwable,int),
report(Throwable,int,Object),
report(Throwable,int,Object,Object),
report(Throwable,int,Object,Object,Object),
report(Throwable,int,Object,Object,Object,Object),
report(Throwable,int,Object,Object,Object,Object,Object)
public void report(java.lang.Throwable error,
int resourceId)
error - The error (Throwable) parameter.resourceId - The resource ID (int) parameter.report(int,Object[]),
report(Throwable,int,Object),
report(Throwable,int,Object,Object),
report(Throwable,int,Object,Object,Object),
report(Throwable,int,Object,Object,Object,Object),
report(Throwable,int,Object,Object,Object,Object,Object)
public void report(java.lang.Throwable error,
int resourceId,
java.lang.Object details)
error - The error (Throwable) parameter.resourceId - The resource ID (int) parameter.details - The details (Object) parameter.report(int,Object[]),
report(Throwable,int),
report(Throwable,int,Object,Object),
report(Throwable,int,Object,Object,Object),
report(Throwable,int,Object,Object,Object,Object),
report(Throwable,int,Object,Object,Object,Object,Object)
public void report(java.lang.Throwable error,
int resourceId,
java.lang.Object details,
java.lang.Object details1)
error - The error (Throwable) parameter.resourceId - The resource ID (int) parameter.details - The details (Object) parameter.details1 - The details1 (Object) parameter.report(int,Object[]),
report(Throwable,int),
report(Throwable,int,Object),
report(Throwable,int,Object,Object,Object),
report(Throwable,int,Object,Object,Object,Object),
report(Throwable,int,Object,Object,Object,Object,Object)
public void report(java.lang.Throwable error,
int resourceId,
java.lang.Object details,
java.lang.Object details1,
java.lang.Object details2)
error - The error (Throwable) parameter.resourceId - The resource ID (int) parameter.details - The details (Object) parameter.details1 - The details1 (Object) parameter.details2 - The details2 (Object) parameter.report(int,Object[]),
report(Throwable,int),
report(Throwable,int,Object),
report(Throwable,int,Object,Object),
report(Throwable,int,Object,Object,Object,Object),
report(Throwable,int,Object,Object,Object,Object,Object)
public void report(java.lang.Throwable error,
int resourceId,
java.lang.Object details,
java.lang.Object details1,
java.lang.Object details2,
java.lang.Object details3)
error - The error (Throwable) parameter.resourceId - The resource ID (int) parameter.details - The details (Object) parameter.details1 - The details1 (Object) parameter.details2 - The details2 (Object) parameter.details3 - The details3 (Object) parameter.report(int,Object[]),
report(Throwable,int),
report(Throwable,int,Object),
report(Throwable,int,Object,Object),
report(Throwable,int,Object,Object,Object),
report(Throwable,int,Object,Object,Object,Object,Object)
public void report(java.lang.Throwable error,
int resourceId,
java.lang.Object details,
java.lang.Object details1,
java.lang.Object details2,
java.lang.Object details3,
java.lang.Object details4)
error - The error (Throwable) parameter.resourceId - The resource ID (int) parameter.details - The details (Object) parameter.details1 - The details1 (Object) parameter.details2 - The details2 (Object) parameter.details3 - The details3 (Object) parameter.details4 - The details4 (Object) parameter.report(int,Object[]),
report(Throwable,int),
report(Throwable,int,Object),
report(Throwable,int,Object,Object),
report(Throwable,int,Object,Object,Object),
report(Throwable,int,Object,Object,Object,Object)
protected void reportError(int errorNumber,
java.lang.Throwable error,
java.lang.Object[] errorObjects)
throws java.lang.RuntimeException
errorNumber - The error number (int) parameter.error - The error (Throwable) parameter.errorObjects - The error objects (Object[]) parameter.
java.lang.RuntimeException - Runtime Exception.handleStaticError(String),
attemptRecoveryFromError(int,Throwable),
handleError(Throwable,int),
handleError(Throwable,int,Object),
handleError(Throwable,int,Object,Object),
handleError(Throwable,int,Object[])public void reportSystemInfo()
public void setLogService(org.osgi.service.log.LogService logService)
logService - The log service (LogService) parameter.createDefaultLogService(),
getDefaultLogService(),
setDefaultLogService(LogService),
getLogService()public void sleep(long milliseconds)
milliseconds - The milliseconds (long) parameter.public java.lang.String toString()
toString in class java.lang.ObjectString) value.getStaticString(String,String),
getString(String,String)public java.lang.String[] toStringConfigurationKeys()
String[]) value.public void toStringInfo(java.lang.StringBuffer buffer)
buffer - The buffer (StringBuffer) parameter.
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||