|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.activemq.broker.BrokerFilter
org.apache.activemq.broker.view.DotFileInterceptorSupport
org.apache.activemq.broker.view.ConnectionDotFileInterceptor
public class ConnectionDotFileInterceptor
| Field Summary | |
|---|---|
protected static java.lang.String |
ID_SEPARATOR
|
| Fields inherited from class org.apache.activemq.broker.BrokerFilter |
|---|
next |
| Constructor Summary | |
|---|---|
ConnectionDotFileInterceptor(Broker next,
java.lang.String file,
boolean redrawOnRemove)
|
|
| Method Summary | |
|---|---|
Subscription |
addConsumer(ConnectionContext context,
ConsumerInfo info)
Adds a consumer. |
void |
addProducer(ConnectionContext context,
ProducerInfo info)
Adds a producer. |
protected java.lang.String |
asID(java.lang.String name)
Lets strip out any non supported characters |
protected void |
generateFile(java.io.PrintWriter writer)
|
protected java.lang.String |
getPath(DestinationMapNode node)
|
protected void |
printNodeLinks(java.io.PrintWriter writer,
DestinationMapNode node,
java.lang.String prefix)
|
protected void |
printNodes(java.io.PrintWriter writer,
DestinationMapNode node,
java.lang.String prefix)
|
protected void |
printProducers(java.io.PrintWriter writer,
java.util.Map clients,
java.util.Map queues,
java.util.Map topics)
|
protected void |
printProducers(java.io.PrintWriter writer,
java.util.Map clients,
java.util.Map queues,
java.util.Map topics,
ProducerId producerId,
java.util.Set destinationSet)
|
protected void |
printSubscribers(java.io.PrintWriter writer,
java.util.Map clients,
java.util.Map destinations,
java.lang.String type,
javax.management.ObjectName[] subscribers)
|
void |
removeConsumer(ConnectionContext context,
ConsumerInfo info)
Removes a consumer. |
void |
removeProducer(ConnectionContext context,
ProducerInfo info)
Removes a producer. |
void |
send(ConnectionContext context,
Message messageSend)
Send a message to the broker to using the specified destination. |
protected void |
writeLabels(java.io.PrintWriter writer,
java.lang.String color,
java.lang.String prefix,
java.util.Map map)
|
| Methods inherited from class org.apache.activemq.broker.view.DotFileInterceptorSupport |
|---|
generateFile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String ID_SEPARATOR
| Constructor Detail |
|---|
public ConnectionDotFileInterceptor(Broker next,
java.lang.String file,
boolean redrawOnRemove)
throws javax.management.MalformedObjectNameException
javax.management.MalformedObjectNameException| Method Detail |
|---|
public Subscription addConsumer(ConnectionContext context,
ConsumerInfo info)
throws java.lang.Exception
Region
addConsumer in interface RegionaddConsumer in class BrokerFiltercontext - the environment the operation is being executed under.
java.lang.Exception - TODO
public void addProducer(ConnectionContext context,
ProducerInfo info)
throws java.lang.Exception
Broker
addProducer in interface BrokeraddProducer in class BrokerFiltercontext - the enviorment the operation is being executed under.
java.lang.Exception - TODO
public void removeConsumer(ConnectionContext context,
ConsumerInfo info)
throws java.lang.Exception
Region
removeConsumer in interface RegionremoveConsumer in class BrokerFiltercontext - the environment the operation is being executed under.
java.lang.Exception - TODO
public void removeProducer(ConnectionContext context,
ProducerInfo info)
throws java.lang.Exception
Broker
removeProducer in interface BrokerremoveProducer in class BrokerFiltercontext - the enviorment the operation is being executed under.
java.lang.Exception - TODO
public void send(ConnectionContext context,
Message messageSend)
throws java.lang.Exception
Region
send in interface Regionsend in class BrokerFiltercontext - the environment the operation is being executed under.
java.lang.Exception - TODO
protected void generateFile(java.io.PrintWriter writer)
throws java.lang.Exception
generateFile in class DotFileInterceptorSupportjava.lang.Exception
protected void printProducers(java.io.PrintWriter writer,
java.util.Map clients,
java.util.Map queues,
java.util.Map topics)
protected void printProducers(java.io.PrintWriter writer,
java.util.Map clients,
java.util.Map queues,
java.util.Map topics,
ProducerId producerId,
java.util.Set destinationSet)
protected void printSubscribers(java.io.PrintWriter writer,
java.util.Map clients,
java.util.Map destinations,
java.lang.String type,
javax.management.ObjectName[] subscribers)
protected void writeLabels(java.io.PrintWriter writer,
java.lang.String color,
java.lang.String prefix,
java.util.Map map)
protected java.lang.String asID(java.lang.String name)
protected void printNodes(java.io.PrintWriter writer,
DestinationMapNode node,
java.lang.String prefix)
protected void printNodeLinks(java.io.PrintWriter writer,
DestinationMapNode node,
java.lang.String prefix)
protected java.lang.String getPath(DestinationMapNode node)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||