| java.lang.Object com.sun.portal.ubt.UBTEvent
UBTEvent | public class UBTEvent (Code) | | This class represents the UBT event type.
Any UBT event that need to be logged, need to be of this type.
|
Method Summary | |
public String | getID() gets Event ID. | public static UBTEvent | getInstance(String name) Method to get instance of an event of UBTEvent type, given the name.
This method configures the event based on UBT configurations.
The configurations involve the level, logger.
Parameters: name - Name of the event. | public Level | getLevel() Get the level associated. | public Hashtable | getLogTable() Gets the table of log fields. | public String | getLoggerName() Get the logger name associated with the event. | public void | put(UBTLogField field, Object value) Puts the give UBTLogField object into an internal hashtable, along with the value specified. |
getInstance | public static UBTEvent getInstance(String name)(Code) | | Method to get instance of an event of UBTEvent type, given the name.
This method configures the event based on UBT configurations.
The configurations involve the level, logger.
Parameters: name - Name of the event. UBTEvent object |
getLevel | public Level getLevel()(Code) | | Get the level associated.
Level |
getLogTable | public Hashtable getLogTable()(Code) | | Gets the table of log fields.
table of log fields. |
getLoggerName | public String getLoggerName()(Code) | | Get the logger name associated with the event.
logger name. |
put | public void put(UBTLogField field, Object value)(Code) | | Puts the give UBTLogField object into an internal hashtable, along with the value specified.
The value object should be such that value.toString() should return meaningful value so that the
formatter publishes properly.
Parameters: field - UBTLogField Parameters: value - Field value |
|
|