org.jboss.management.j2ee
Interface EventProvider
- All Known Subinterfaces:
- StateManageable (src)
- public interface EventProvider
Indicates the emitting of Events and also
indicates what types of events it emits.
Attention: This interface is not indented to be used by the client
but it is morely a desription of what the client will get when he/she
receives attributes from the JSR-77 server or what method can be
invoked.
All attributes (getXXX) can be received by
Management.getAttribute()
or in bulk by:
Management.getAttributes()
Methods (all except getXXX()) can be invoked by:
Management.invoke()
Method Summary |
java.lang.String |
getEventType(int index)
Returns the given Type of Events it emits according to its index in the list |
java.lang.String[] |
getEventTypes()
|
getEventTypes
public java.lang.String[] getEventTypes()
- Returns:
- The actual list of Types of Events this Managed Object emits.
The list is never null nor empty
getEventType
public java.lang.String getEventType(int index)
- Returns the given Type of Events it emits according to its index in the list
- Parameters:
index
- Index of the requested Event Type
- Returns:
- Event Type if given Index is within the boundaries otherwise null