Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Managing Event Types | Event Type Definitions
Event Type Definitions
Obtaining Event Type Names
Obtaining Event Type Definitions
Obtaining Event Field Information
Obtaining Broker Information
The BrokerTypeDef class contains important information about a particular event type, including the event's fields and their data type. Both the Broker and the webMethods Broker API use event type definitions to verify that an event's fields are set with the correct data types. Event type definitions are also used if you call the BrokerEvent.validate method to validate an event that your application might have received or created.
Several methods are provided to enable your Broker client to obtain event type definitions. After you have obtained an event type definition, you can obtain information on all of the event's fields and their associated data types. Your Broker client might need to obtain event type information to be able to dynamically handle event types whose format has changed since the client application was compiled.