EventCatalog MBean

Partial ObjectName:
WebSphere:*,type=EventCatalog


MBean EventCatalog

Management operations for the Common Event Infrastructure catalog


Operation Summary
com.ibm.events.catalog.EventDefinitiongetEventDefinition(java.lang.String name, java.lang.Boolean resolve)
           Export selected event definition.
java.util.CollectiongetEventExtensionToSourceCategoryBindings(java.lang.String eventExtensionNamePattern, java.lang.String eventSourceCategoryPattern)
           List all mappings between CBE extensions and event source categories in a human-readable format
com.ibm.events.catalog.EventDefinition[]getEventDefinitions(java.lang.String pattern, java.lang.Boolean resolve)
           Export selected event definitions.
voidaddEventDefinitions(com.ibm.events.catalog.EventDefinition[] definitions, java.lang.Boolean replace)
           Import event definitions.

Operation Detail

getEventDefinition

public com.ibm.events.catalog.EventDefinition getEventDefinition(java.lang.String name, java.lang.Boolean resolve)
Export selected event definition.
Parameters:
name - The name of the event definition.
resolve - If true, the inheritance hierarchy is resolved and the returned object is a composite of the raw event definition and all the extended data element and property descriptions it inherits. If false, the returned object is the raw event definition only.
Security Roles:
administrator
operator

getEventExtensionToSourceCategoryBindings

public java.util.Collection getEventExtensionToSourceCategoryBindings(java.lang.String eventExtensionNamePattern, java.lang.String eventSourceCategoryPattern)
List all mappings between CBE extensions and event source categories in a human-readable format
Parameters:
eventExtensionNamePattern - A pattern to be matched against the names of Common Base Event extensions. % matches any sequence of zero or more characters. _ matches any single character. All other characters match exactly.
eventSourceCategoryPattern - A pattern to be matched against event source categories. % matches any sequence of zero or more characters. _ matches any single character. All other characters match exactly.
Security Roles:
administrator
operator

getEventDefinitions

public com.ibm.events.catalog.EventDefinition[] getEventDefinitions(java.lang.String pattern, java.lang.Boolean resolve)
Export selected event definitions.
Parameters:
pattern - A pattern to be matched against the names of event definitions. % matches any sequence of zero or more characters. _ matches any single character. All other characters match exactly.
resolve - If true, the inheritance hierarchy is resolved and the returned objects are a composite of the raw event definition and all the extended data element and property descriptions it inherits. If false, the returned objects are the raw event definition onlys.
Security Roles:
administrator
operator

addEventDefinitions

public void addEventDefinitions(com.ibm.events.catalog.EventDefinition[] definitions, java.lang.Boolean replace)
Import event definitions.
Parameters:
definitions - An array of event definitions.
replace - Indicates to replace any existing event definitions having the same names as ones being imported. If false, an exception is returned and the import operation is rolled back if a name clash occurs.
Security Roles:
administrator
operator

Copyright IBM Corp. 1996-2005