|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ow2.jasmine.monitoring.eos.probemanager.service.ProbeManagerService
public class ProbeManagerService
Server part of the ProbeManager EoS module. Works with a JasmineProbeManager that can be either mbeancmd-osgi or JasmineProbe
| Field Summary | |
|---|---|
protected JasmineListener |
jasmineListener
|
protected org.ow2.util.log.Log |
logger
|
protected org.ow2.jasmine.monitoring.mbeancmd.api.JasmineProbeManager |
probeService
|
protected ProbeTopicProducer |
producer
|
protected boolean |
usembc
true if JasmineProbeManager is the old mbeancmd-osgi module. |
| Constructor Summary | |
|---|---|
ProbeManagerService()
|
|
| Method Summary | |
|---|---|
ArrayList<Probe> |
copyProbe(Probe probe)
copy a Probe |
ArrayList<String> |
getMBeans(String filter,
ProbeTarget target)
|
ArrayList<ProbeOutput> |
getOutputs()
Retrieve list of outputs defined on this server |
ArrayList<Probe> |
getProbes()
Retrieve list of probes defined on this server |
ArrayList<ProbeTarget> |
getTargets()
Retrieve list of targets defined on this server |
ArrayList<Probe> |
loadConf(String url)
|
ArrayList<ProbeOutput> |
modifyOutput(ProbeOutput output)
modify an Output |
ArrayList<Probe> |
modifyProbe(Probe probe)
modify a probe |
ArrayList<ProbeTarget> |
modifyTarget(ProbeTarget target)
modify a Target |
ArrayList<ProbeOutput> |
newOutput(ProbeOutput output)
Create a new output |
ArrayList<Probe> |
newProbe(Probe probe)
Create a new probe |
ArrayList<ProbeTarget> |
newTarget(ProbeTarget target)
Create a new target |
ArrayList<Probe> |
removeAllProbes()
|
ArrayList<ProbeOutput> |
removeOutput(String name)
Remove an output |
ArrayList<Probe> |
removeProbe(int ident)
remove a Probe |
ArrayList<ProbeTarget> |
removeTarget(String name)
Remove a target |
void |
saveConfig()
Save configuration in xml |
void |
startAllProbes()
start all Probes |
void |
startListen(int cmdId)
Start listening probe results |
void |
startProbe(int ident)
start a Probe |
void |
stopAllProbes()
stop all started Probes |
void |
stopListen(int cmdId)
Stop listening probe results |
void |
stopProbe(int ident)
stop a Probe |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.ow2.util.log.Log logger
protected JasmineListener jasmineListener
protected ProbeTopicProducer producer
protected boolean usembc
protected org.ow2.jasmine.monitoring.mbeancmd.api.JasmineProbeManager probeService
| Constructor Detail |
|---|
public ProbeManagerService()
| Method Detail |
|---|
public ArrayList<ProbeTarget> getTargets()
throws ProbeManagerException
ProbeManagerException
public ArrayList<ProbeTarget> newTarget(ProbeTarget target)
throws ProbeManagerException
ProbeManagerException
public ArrayList<ProbeTarget> removeTarget(String name)
throws ProbeManagerException
ProbeManagerException
public ArrayList<ProbeTarget> modifyTarget(ProbeTarget target)
throws ProbeManagerException
target - value object
ProbeManagerException
public ArrayList<ProbeOutput> getOutputs()
throws ProbeManagerException
ProbeManagerException
public ArrayList<ProbeOutput> newOutput(ProbeOutput output)
throws ProbeManagerException
ProbeManagerException
public ArrayList<ProbeOutput> removeOutput(String name)
throws ProbeManagerException
ProbeManagerException
public ArrayList<ProbeOutput> modifyOutput(ProbeOutput output)
throws ProbeManagerException
output - value object
ProbeManagerException
public ArrayList<Probe> newProbe(Probe probe)
throws ProbeManagerException
ProbeManagerException
public ArrayList<Probe> getProbes()
throws ProbeManagerException
ProbeManagerException
public ArrayList<Probe> removeProbe(int ident)
throws ProbeManagerException
ident - Probe Ident
ProbeManagerException
public void startProbe(int ident)
throws ProbeManagerException
ident - Probe Ident
ProbeManagerException
public void startAllProbes()
throws ProbeManagerException
ProbeManagerException
public void stopProbe(int ident)
throws ProbeManagerException
ident - Probe Ident
ProbeManagerException
public void stopAllProbes()
throws ProbeManagerException
ProbeManagerException
public ArrayList<Probe> removeAllProbes()
throws ProbeManagerException
ProbeManagerException
public ArrayList<Probe> modifyProbe(Probe probe)
throws ProbeManagerException
probe - value object
ProbeManagerException
public ArrayList<Probe> copyProbe(Probe probe)
throws ProbeManagerException
probe - Probe to be duplicated
ProbeManagerException
public void saveConfig()
throws ProbeManagerException
ProbeManagerException
public void startListen(int cmdId)
throws ProbeManagerException
ProbeManagerException
public void stopListen(int cmdId)
throws ProbeManagerException
ProbeManagerException
public ArrayList<Probe> loadConf(String url)
throws ProbeManagerException
ProbeManagerException
public ArrayList<String> getMBeans(String filter,
ProbeTarget target)
throws ProbeManagerException
ProbeManagerException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||