|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.monitoring.mbeancmd.sampling.SamplerFactory
public class SamplerFactory
Sampler factory.
| Constructor Summary | |
|---|---|
protected |
SamplerFactory()
Dummy constructor to avoid the class from being used in any other way than calling the CommandDispatcher.newSampler method. |
| Method Summary | |
|---|---|
static Sampler |
newSampler(java.lang.String type)
Creates a sampler of a given type. |
static Sampler |
newSampler(java.lang.String type,
JmxContext context)
Creates a sampler of a given type and a given JMX URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SamplerFactory()
| Method Detail |
|---|
public static Sampler newSampler(java.lang.String type)
SamplerFactory#newSampler(String, String)
with urlString set to null.
type - Sampler type.
public static Sampler newSampler(java.lang.String type,
JmxContext context)
type - Sampler type.urlString - JMX URL.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||