org.ow2.jasmine.monitoring.eventswitch.beans.impl
Class JasmineEventSLBImpl

java.lang.Object
  extended by org.ow2.jasmine.monitoring.eventswitch.beans.impl.JasmineEventSLBImpl
All Implemented Interfaces:
org.ow2.jasmine.monitoring.eventswitch.beans.JasmineEventSLBRemote

public class JasmineEventSLBImpl
extends java.lang.Object
implements org.ow2.jasmine.monitoring.eventswitch.beans.JasmineEventSLBRemote

Implementation of the JasmineEvent stateless bean.


Constructor Summary
JasmineEventSLBImpl()
           
 
Method Summary
 org.ow2.jasmine.event.beans.JasmineEventEB[] getEvents(java.lang.String domain, java.lang.String server, java.lang.String source, java.lang.String probe, java.lang.String value, java.util.Date startTimestamp, java.util.Date endTimestamp, java.lang.String orderBy, int limit)
          Implementation of inherited method: looks for the beans searched for, converts the search into an array of JasmineEventEB objects and returns.
 org.ow2.jasmine.event.beans.JasmineEventEB[] getEvents(java.lang.String domain, java.lang.String server, java.lang.String source, java.lang.String probe, java.lang.String value, java.util.Date startTimestamp, java.util.Date endTimestamp, java.lang.String orderBy, int indexFirstResult, int limit)
          Implementation of inherited method: looks for the beans searched for, converts the search into an array of JasmineEventEB objects and returns.
 void saveEvent(org.ow2.jasmine.event.beans.JasmineEventEB e)
          Implementation of inherited method: creates the JasmineEvent entity bean corresponding to given datum and saves an event on the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JasmineEventSLBImpl

public JasmineEventSLBImpl()
Method Detail

saveEvent

public void saveEvent(org.ow2.jasmine.event.beans.JasmineEventEB e)
Implementation of inherited method: creates the JasmineEvent entity bean corresponding to given datum and saves an event on the database.

Specified by:
saveEvent in interface org.ow2.jasmine.monitoring.eventswitch.beans.JasmineEventSLBRemote
Parameters:
e - Event to save.
See Also:
JasmineEventSLBRemote.saveEvent(JasmineEventEB)

getEvents

public org.ow2.jasmine.event.beans.JasmineEventEB[] getEvents(java.lang.String domain,
                                                              java.lang.String server,
                                                              java.lang.String source,
                                                              java.lang.String probe,
                                                              java.lang.String value,
                                                              java.util.Date startTimestamp,
                                                              java.util.Date endTimestamp,
                                                              java.lang.String orderBy,
                                                              int limit)
Implementation of inherited method: looks for the beans searched for, converts the search into an array of JasmineEventEB objects and returns.

Specified by:
getEvents in interface org.ow2.jasmine.monitoring.eventswitch.beans.JasmineEventSLBRemote
Parameters:
domain - Domain of the probed server.
server - Name of the probed servers.
source - Event source (for example, MBeanCmd or JMX).
probe - Probes type.
value - Probed value.
startTimestamp - Probe time bigger than.
endTimestamp - Probe time smaller than.
orderBy - Order using column.
limit - Maximal number of results to get.
Returns:
Events corresponding to the given search, null if none found.
See Also:
JasmineEventSLBRemote.getEvents(String, String, String, String, String, Date, Date, String, int)

getEvents

public org.ow2.jasmine.event.beans.JasmineEventEB[] getEvents(java.lang.String domain,
                                                              java.lang.String server,
                                                              java.lang.String source,
                                                              java.lang.String probe,
                                                              java.lang.String value,
                                                              java.util.Date startTimestamp,
                                                              java.util.Date endTimestamp,
                                                              java.lang.String orderBy,
                                                              int indexFirstResult,
                                                              int limit)
Implementation of inherited method: looks for the beans searched for, converts the search into an array of JasmineEventEB objects and returns.

Specified by:
getEvents in interface org.ow2.jasmine.monitoring.eventswitch.beans.JasmineEventSLBRemote
Parameters:
domain - Domain of the probed server.
server - Name of the probed servers.
source - Event source (for example, MBeanCmd or JMX).
probe - Probes type.
value - Probed value.
startTimestamp - Probe time bigger than.
endTimestamp - Probe time smaller than.
orderBy - Order using column.
indexFirstResult - Set the index (position) of the first result to retrieve (start at 0).
limit - Maximal number of results to get.
Returns:
Events corresponding to the given search, null if none found.
See Also:
JasmineEventSLBRemote.getEvents(String, String, String, String, String, Date, Date, String, int, int)


Copyright © 2009 OW2 Consortium. All Rights Reserved.