|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.impl.DefaultEndpoint
org.apache.camel.component.jmx.JMXEndpoint
public class JMXEndpoint
JMXEndpoint for monitoring JMX attributs using CounterMonitor
.
Constructor Summary | |
---|---|
JMXEndpoint()
|
|
JMXEndpoint(String endpointUri)
|
|
JMXEndpoint(String endpointUri,
JMXComponent component)
|
Method Summary | |
---|---|
Consumer |
createConsumer(Processor proc)
Creates a new Event Driven Consumer which consumes messages from the endpoint using the given processor |
Exchange |
createExchange(Notification notification)
|
Producer |
createProducer()
Creates a new producer which is used send messages into the endpoint |
String |
getAttributeName()
|
long |
getGranularityPeriod()
|
MBeanServer |
getMbeanServer()
|
String |
getName()
|
Number |
getOffset()
|
Number |
getThreshold()
|
boolean |
isSingleton()
Wheter this class supports being singleton or not. |
void |
setAttributeName(String attributeName)
|
void |
setGranularityPeriod(long granularityPeriod)
|
void |
setMbeanServer(MBeanServer mbeanServer)
|
void |
setName(String name)
|
void |
setOffset(Number offset)
|
void |
setThreshold(Number threshold)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JMXEndpoint()
public JMXEndpoint(String endpointUri, JMXComponent component)
public JMXEndpoint(String endpointUri)
Method Detail |
---|
public Producer createProducer() throws Exception
Endpoint
Exception
- can be thrownpublic Consumer createConsumer(Processor proc) throws Exception
Endpoint
proc
- the given processor
Exception
- can be thrownpublic boolean isSingleton()
IsSingleton
public Exchange createExchange(Notification notification)
public String getAttributeName()
public void setAttributeName(String attributeName)
public long getGranularityPeriod()
public void setGranularityPeriod(long granularityPeriod)
public String getName()
public void setName(String name)
public Number getOffset()
public void setOffset(Number offset)
public Number getThreshold()
public void setThreshold(Number threshold)
public MBeanServer getMbeanServer()
public void setMbeanServer(MBeanServer mbeanServer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |