|
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.measurement.server.session.SessionEJB
org.hyperic.hq.measurement.server.session.MeasurementProcessorEJBImpl
public class MeasurementProcessorEJBImpl
| Field Summary |
|---|
| Fields inherited from class org.hyperic.hq.measurement.server.session.SessionEJB |
|---|
_mpm, DATASOURCE_NAME |
| Constructor Summary | |
|---|---|
MeasurementProcessorEJBImpl()
|
|
| Method Summary | |
|---|---|
void |
ejbActivate()
|
void |
ejbCreate()
|
void |
ejbPassivate()
|
void |
ejbPostCreate()
|
void |
ejbRemove()
|
static org.hyperic.hq.measurement.shared.MeasurementProcessorLocal |
getOne()
|
boolean |
ping(Agent a)
Ping the agent to make sure it's up |
void |
scheduleEnabled(Agent agent,
java.util.Collection eids)
|
void |
scheduleHierarchyAfterCommit(java.util.Collection resources)
Schedules enabled measurements for the entire ResourceEdge hierarchy based on the "containment" relationship. |
void |
scheduleHierarchyAfterCommit(Resource resource)
Schedules enabled measurements for the entire ResourceEdge hierarchy based on the "containment" relationship. |
void |
scheduleSynchronous(java.util.List aeids)
|
void |
setSessionContext(javax.ejb.SessionContext ctx)
|
void |
unschedule(AppdefEntityID agentEnt,
AppdefEntityID[] entIds)
Unschedule metrics of multiple appdef entities |
void |
unschedule(java.util.Collection aeids)
Unschedule measurements |
void |
unschedule(java.lang.String agentToken,
java.util.Collection entIds)
Unschedule metrics of multiple appdef entities |
| Methods inherited from class org.hyperic.hq.measurement.server.session.SessionEJB |
|---|
checkDeletePermission, checkModifyPermission, checkTimeArguments, deleteMetricProblems, getAgent, getAgent, getAgentMan, getAuthzSubjectManager, getAvailabilityDataDAO, getBaselineDAO, getCategoryDAO, getDataMan, getInitialContext, getMeasurementDAO, getMeasurementTemplateDAO, getMetricProblemDAO, getMonitorableTypeDAO, getMPM, getProductMan, getResource, getScheduleRevNumDAO, getSRNManager, getTemplateMan |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MeasurementProcessorEJBImpl()
| Method Detail |
|---|
public boolean ping(Agent a)
throws PermissionException
PermissionExceptionpublic void scheduleHierarchyAfterCommit(java.util.Collection resources)
public void scheduleHierarchyAfterCommit(Resource resource)
public void scheduleSynchronous(java.util.List aeids)
aeids - List of AppdefEntityID
public void scheduleEnabled(Agent agent,
java.util.Collection eids)
throws MonitorAgentException
eids - ListMonitorAgentException
public void unschedule(java.lang.String agentToken,
java.util.Collection entIds)
throws MeasurementUnscheduleException
agentToken - the entity whose agent will be contacted for the
unscheduleentIds - the entity IDs whose metrics should be unscheduled
MeasurementUnscheduleException - if an error occurs
public void unschedule(AppdefEntityID agentEnt,
AppdefEntityID[] entIds)
throws MeasurementUnscheduleException
agentEnt - the entity whose agent will be contacted for the unscheduleentIds - the entity IDs whose metrics should be unscheduled
MeasurementUnscheduleException - if an error occurs
public void unschedule(java.util.Collection aeids)
throws MeasurementUnscheduleException
aeids - List of AppdefEntityID
MeasurementUnscheduleException - if an error occurspublic static org.hyperic.hq.measurement.shared.MeasurementProcessorLocal getOne()
public void ejbCreate()
public void ejbPostCreate()
public void ejbActivate()
ejbActivate in interface javax.ejb.SessionBeanpublic void ejbPassivate()
ejbPassivate in interface javax.ejb.SessionBeanpublic void ejbRemove()
ejbRemove in interface javax.ejb.SessionBeanpublic void setSessionContext(javax.ejb.SessionContext ctx)
setSessionContext in interface javax.ejb.SessionBean
|
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 | ||||||||