|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Taken from "Canonical Situation Data Format: The Common Base Event V1.0.1 ACAB.BO0301.0.1" In problem reporting there are two general categories of components that should be considered for problem diagnosis, the component observing and reporting the situation (reporter), and the actual component that is experiencing the situation (affected). Component Identification provides a collection of attributes required to uniquely identify a component. The same data is used to identify both the component that is reporting an event or situation and the component that is affected or experiencing the situation. In some cases, these components will be the same. For example, in a typical IT environment, commonly, the activities of applications running in that environment are often monitored using events received or collected from the applications via management agents or adapters. Example 1: Consider the case where a WebSphere application, called myWebApp, times out on a table query due to a DB2 server problem that is located on a remote system. The web app then issues an event indicating the failure situation. In this case, myWebApp is the 'affected' or the 'source' component. Example 2: Consider a case where there is application X running on a Windows server. The application encounters an error and adds an entry to the Widows error log. Then there is a separate application (ie: an adapter) that reads messages from the error log and generates a common base event and submits it. In this case the 'affected' or the 'source' of the event is the application X and the reporting component is the adapter that generated and submitted the event.
| Field Summary | |
|---|---|
static java.lang.String |
COMPONENT_ID_TYPE_APPLICATION
Well-known type for the 'Component Id Type' attribute. |
static java.lang.String |
COMPONENT_ID_TYPE_DEVICE_NAME
Well-known type for the 'Component Id Type' attribute. |
static java.lang.String |
COMPONENT_ID_TYPE_PROCESS
Well-known type for the 'Component Id Type' attribute. |
static java.lang.String |
COMPONENT_ID_TYPE_PRODUCT_NAME
Well-known type for the 'Component Id Type' attribute. |
static java.lang.String |
COMPONENT_ID_TYPE_SERVICE_NAME
Well-known type for the 'Component Id Type' attribute. |
static java.lang.String |
COMPONENT_ID_TYPE_SYSTEM_NAME
Well-known type for the 'Component Id Type' attribute. |
static java.lang.String |
COMPONENT_ID_TYPE_UNKNOWN
Well-known type for the 'Component Id Type' attribute. |
static java.lang.String |
LOCATION_TYPE_DCC
Well-known type for the 'Location Type' attribute. |
static java.lang.String |
LOCATION_TYPE_DEVICE_NAME
Well-known type for the 'Location Type' attribute. |
static java.lang.String |
LOCATION_TYPE_DIAL
Well-known type for the 'Location Type' attribute. |
static java.lang.String |
LOCATION_TYPE_E_164
Well-known type for the 'Location Type' attribute. |
static java.lang.String |
LOCATION_TYPE_FQ_HOSTNAME
Well-known type for the 'Location Type' attribute. |
static java.lang.String |
LOCATION_TYPE_HID
Well-known type for the 'Location Type' attribute. |
static java.lang.String |
LOCATION_TYPE_HOSTNAME
Well-known type for the 'Location Type' attribute. |
static java.lang.String |
LOCATION_TYPE_HWA
Well-known type for the 'Location Type' attribute. |
static java.lang.String |
LOCATION_TYPE_ICD
Well-known type for the 'Location Type' attribute. |
static java.lang.String |
LOCATION_TYPE_IPV4
Well-known type for the 'Location Type' attribute. |
static java.lang.String |
LOCATION_TYPE_IPV6
Well-known type for the 'Location Type' attribute. |
static java.lang.String |
LOCATION_TYPE_IPX
Well-known type for the 'Location Type' attribute. |
static java.lang.String |
LOCATION_TYPE_ISDN
Well-known type for the 'Location Type' attribute. |
static java.lang.String |
LOCATION_TYPE_NWA
Well-known type for the 'Location Type' attribute. |
static java.lang.String |
LOCATION_TYPE_OID_OSI
Well-known type for the 'Location Type' attribute. |
static java.lang.String |
LOCATION_TYPE_SNA
Well-known type for the 'Location Type' attribute. |
static java.lang.String |
LOCATION_TYPE_UNKNOWN
Well-known type for the 'Location Type' attribute. |
static java.lang.String |
LOCATION_TYPE_X25
Well-known type for the 'Location Type' attribute. |
| Method Summary | |
|---|---|
java.lang.String |
getApplication()
Returns the application. |
java.lang.String |
getComponent()
Returns the component. |
java.lang.String |
getComponentIdType()
Returns the componentIdType. |
java.lang.String |
getComponentType()
Returns the componentType. |
java.lang.String |
getExecutionEnvironment()
Returns the executionEnvironment. |
java.lang.String |
getInstanceId()
Returns the instanceId. |
java.lang.String |
getLocation()
Returns the location. |
java.lang.String |
getLocationType()
Returns the locationType. |
java.lang.String |
getProcessId()
Returns the processId. |
java.lang.String |
getSubComponent()
Returns the subComponent. |
java.lang.String |
getThreadId()
Returns the threadId. |
void |
init()
Resets the object's properties to their initial (e.g. |
void |
setApplication(java.lang.String application)
Sets the application. |
void |
setComponent(java.lang.String component)
Sets the component. |
void |
setComponentIdType(java.lang.String componentIdType)
Sets the componentIdType. |
void |
setComponentType(java.lang.String componentType)
Sets the componentType. |
void |
setExecutionEnvironment(java.lang.String executionEnvironment)
Sets the executionEnvironment. |
void |
setInstanceId(java.lang.String instanceId)
Sets the instanceId. |
void |
setLocation(java.lang.String location)
Sets the location. |
void |
setLocationType(java.lang.String locationType)
Sets the locationType. |
void |
setProcessId(java.lang.String processId)
Sets the processId. |
void |
setSubComponent(java.lang.String subComponent)
Sets the subComponent. |
void |
setThreadId(java.lang.String threadId)
Sets the threadId. |
| Field Detail |
public static final java.lang.String COMPONENT_ID_TYPE_PRODUCT_NAME
getComponentIdType(),
Constant Field Valuespublic static final java.lang.String COMPONENT_ID_TYPE_DEVICE_NAME
getComponentIdType(),
Constant Field Valuespublic static final java.lang.String COMPONENT_ID_TYPE_SYSTEM_NAME
getComponentIdType(),
Constant Field Valuespublic static final java.lang.String COMPONENT_ID_TYPE_SERVICE_NAME
getComponentIdType(),
Constant Field Valuespublic static final java.lang.String COMPONENT_ID_TYPE_PROCESS
getComponentIdType(),
Constant Field Valuespublic static final java.lang.String COMPONENT_ID_TYPE_APPLICATION
getComponentIdType(),
Constant Field Valuespublic static final java.lang.String COMPONENT_ID_TYPE_UNKNOWN
getComponentIdType(),
Constant Field Valuespublic static final java.lang.String LOCATION_TYPE_UNKNOWN
getLocationType(),
Constant Field Valuespublic static final java.lang.String LOCATION_TYPE_IPV4
getLocationType(),
Constant Field Valuespublic static final java.lang.String LOCATION_TYPE_IPV6
getLocationType(),
Constant Field Valuespublic static final java.lang.String LOCATION_TYPE_NWA
getLocationType(),
Constant Field Valuespublic static final java.lang.String LOCATION_TYPE_ISDN
getLocationType(),
Constant Field Valuespublic static final java.lang.String LOCATION_TYPE_ICD
getLocationType(),
Constant Field Valuespublic static final java.lang.String LOCATION_TYPE_OID_OSI
getLocationType(),
Constant Field Valuespublic static final java.lang.String LOCATION_TYPE_DIAL
getLocationType(),
Constant Field Valuespublic static final java.lang.String LOCATION_TYPE_HWA
getLocationType(),
Constant Field Valuespublic static final java.lang.String LOCATION_TYPE_HID
getLocationType(),
Constant Field Valuespublic static final java.lang.String LOCATION_TYPE_X25
getLocationType(),
Constant Field Valuespublic static final java.lang.String LOCATION_TYPE_DCC
getLocationType(),
Constant Field Valuespublic static final java.lang.String LOCATION_TYPE_SNA
getLocationType(),
Constant Field Valuespublic static final java.lang.String LOCATION_TYPE_IPX
getLocationType(),
Constant Field Valuespublic static final java.lang.String LOCATION_TYPE_E_164
getLocationType(),
Constant Field Valuespublic static final java.lang.String LOCATION_TYPE_HOSTNAME
getLocationType(),
Constant Field Valuespublic static final java.lang.String LOCATION_TYPE_FQ_HOSTNAME
getLocationType(),
Constant Field Valuespublic static final java.lang.String LOCATION_TYPE_DEVICE_NAME
getLocationType(),
Constant Field Values| Method Detail |
public java.lang.String getApplication()
public java.lang.String getComponent()
public java.lang.String getExecutionEnvironment()
public java.lang.String getInstanceId()
public java.lang.String getLocation()
public java.lang.String getLocationType()
public java.lang.String getProcessId()
public java.lang.String getSubComponent()
public java.lang.String getThreadId()
public void setApplication(java.lang.String application)
application - The application to setpublic void setComponent(java.lang.String component)
component - The component to setpublic void setExecutionEnvironment(java.lang.String executionEnvironment)
executionEnvironment - The executionEnvironment to setpublic void setInstanceId(java.lang.String instanceId)
instanceId - The instanceId to setpublic void setLocation(java.lang.String location)
location - The location to setpublic void setLocationType(java.lang.String locationType)
locationType - The locationType to setpublic void setProcessId(java.lang.String processId)
processId - The processId to setpublic void setSubComponent(java.lang.String subComponent)
subComponent - The subComponent to setpublic void setThreadId(java.lang.String threadId)
threadId - The threadId to setpublic java.lang.String getComponentIdType()
public void setComponentIdType(java.lang.String componentIdType)
componentIdType - The componentIdType to setpublic void init()
public void setComponentType(java.lang.String componentType)
componentType - The componentType to be set.public java.lang.String getComponentType()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||