Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[hyades-dev] Updates to CBE


Here are proposed updates to the CBE object in the org.eclipse.hyades.logging.events package. There are 2 main changes.
1- The data in IExtendedDataElements is now typed. Instead of returning String the data is returned as the native types. If the wrong get or set method is called a runime exception is thrown. There are also now numeric values assigned to the different datatypes so that the a case statement can be used when processing extended data elements. There is one possible issue with backward compatability. The data type must be set before setting the data value otherwise a runtime exception is thrown.
2 - Method in ICommonBaseEvent and ExtendedDataElement to return the datetime format as a long representing milliseconds so that a java date object can be created. The parsing method is located in CbeFormatter.








Regards,
Jason Cornpropst
 IBM/Tivoli Systems
 P&A
 ITEC Development
 (919) 224-1723
 jhcornpr@xxxxxxxxxx

Attachment: IExtendedDataElement.java
Description: Binary data

Attachment: CommonBaseEventImpl.java
Description: Binary data

Attachment: ExtendedDataElementImpl.java
Description: Binary data

Attachment: ICommonBaseEvent.java
Description: Binary data

Attachment: CbeFormatter.java
Description: Binary data

Attachment: InvalidExtendedDataElementTypeException.java
Description: Binary data


Back to the top