|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.hq.bizapp.server.session.BizappSessionEJB
org.hyperic.hq.bizapp.server.session.EventLogBossEJBImpl
public class EventLogBossEJBImpl
The BizApp's interface to the Events/Logs
Field Summary |
---|
Fields inherited from class org.hyperic.hq.bizapp.server.session.BizappSessionEJB |
---|
ctx |
Constructor Summary | |
---|---|
EventLogBossEJBImpl()
|
Method Summary | |
---|---|
void |
ejbActivate()
|
void |
ejbCreate()
|
void |
ejbPassivate()
|
void |
ejbRemove()
|
java.util.List |
getEvents(int sessionId,
AppdefEntityID aeid,
java.lang.String[] eventTypes,
long beginTime,
long endTime)
Find events based on event type and time range for multiple resources |
java.util.List |
getEvents(int sessionId,
AppdefEntityID aeid,
java.lang.String status,
long beginTime,
long endTime)
Find events based on status and time range for multiple resources |
java.util.List |
getEvents(int sessionId,
java.lang.String eventType,
AppdefEntityID[] ids,
long beginTime,
long endTime)
Find events based on event type and time range for multiple resources |
java.util.List |
getEvents(int sessionId,
java.lang.String eventType,
AppdefEntityID id,
long beginTime,
long endTime)
Find events based on event type and time range for a resource |
static org.hyperic.hq.bizapp.shared.EventLogBossLocal |
getOne()
|
boolean[] |
logsExistPerInterval(int sessionId,
AppdefEntityID aeid,
long beginTime,
long endTime,
int intervals)
Get an array of boolean indicating if logs exist per interval, for an entity over a given time range. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
|
void |
startup()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventLogBossEJBImpl()
Method Detail |
---|
public java.util.List getEvents(int sessionId, java.lang.String eventType, AppdefEntityID id, long beginTime, long endTime) throws SessionNotFoundException, SessionTimeoutException
eventType
- Event classname (ControlEvent.class.getName())
SessionNotFoundException
SessionTimeoutException
public java.util.List getEvents(int sessionId, java.lang.String eventType, AppdefEntityID[] ids, long beginTime, long endTime) throws SessionNotFoundException, SessionTimeoutException
eventType
- Event classname (ControlEvent.class.getName())
SessionNotFoundException
SessionTimeoutException
public java.util.List getEvents(int sessionId, AppdefEntityID aeid, java.lang.String[] eventTypes, long beginTime, long endTime) throws SessionNotFoundException, SessionTimeoutException
eventTypes
- Array of event class names. (ControlEvent.class.getName())
SessionNotFoundException
SessionTimeoutException
public java.util.List getEvents(int sessionId, AppdefEntityID aeid, java.lang.String status, long beginTime, long endTime) throws SessionNotFoundException, SessionTimeoutException
SessionNotFoundException
SessionTimeoutException
public boolean[] logsExistPerInterval(int sessionId, AppdefEntityID aeid, long beginTime, long endTime, int intervals) throws SessionNotFoundException, SessionTimeoutException
aeid
- the entity ID
SessionNotFoundException
SessionTimeoutException
public void startup()
public static org.hyperic.hq.bizapp.shared.EventLogBossLocal getOne()
public void ejbCreate()
public void ejbRemove()
ejbRemove
in interface javax.ejb.SessionBean
public void ejbActivate()
ejbActivate
in interface javax.ejb.SessionBean
public void ejbPassivate()
ejbPassivate
in interface javax.ejb.SessionBean
public void setSessionContext(javax.ejb.SessionContext ctx)
setSessionContext
in interface javax.ejb.SessionBean
setSessionContext
in class BizappSessionEJB
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |