|
||||||||||
| 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 String |
ID_SEPARATOR
|
| Fields inherited from class org.apache.activemq.broker.BrokerFilter |
|---|
next |
| Constructor Summary | |
|---|---|
ConnectionDotFileInterceptor(Broker next,
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 String |
asID(String name)
Lets strip out any non supported characters |
protected void |
generateFile(PrintWriter writer)
|
protected String |
getPath(DestinationMapNode node)
|
protected void |
printNodeLinks(PrintWriter writer,
DestinationMapNode node,
String prefix)
|
protected void |
printNodes(PrintWriter writer,
DestinationMapNode node,
String prefix)
|
protected void |
printProducers(PrintWriter writer,
Map<String,String> clients,
Map<String,String> queues,
Map<String,String> topics)
|
protected void |
printProducers(PrintWriter writer,
Map<String,String> clients,
Map<String,String> queues,
Map<String,String> topics,
ProducerId producerId,
Set destinationSet)
|
protected void |
printSubscribers(PrintWriter writer,
Map<String,String> clients,
Map<String,String> destinations,
String type,
ObjectName[] subscribers)
|
void |
removeConsumer(ConnectionContext context,
ConsumerInfo info)
Removes a consumer. |
void |
removeProducer(ConnectionContext context,
ProducerInfo info)
Removes a producer. |
void |
send(ProducerBrokerExchange producerExchange,
Message messageSend)
Send a message to the broker to using the specified destination. |
protected void |
writeLabels(PrintWriter writer,
String color,
String prefix,
Map<String,String> 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 String ID_SEPARATOR
| Constructor Detail |
|---|
public ConnectionDotFileInterceptor(Broker next,
String file,
boolean redrawOnRemove)
throws IOException
IOException| Method Detail |
|---|
public Subscription addConsumer(ConnectionContext context,
ConsumerInfo info)
throws Exception
Region
addConsumer in interface RegionaddConsumer in class BrokerFiltercontext - the environment the operation is being executed under.
Exception - TODO
public void addProducer(ConnectionContext context,
ProducerInfo info)
throws Exception
Broker
addProducer in interface BrokeraddProducer in interface RegionaddProducer in class BrokerFiltercontext - the enviorment the operation is being executed under.
Exception - TODO
public void removeConsumer(ConnectionContext context,
ConsumerInfo info)
throws Exception
Region
removeConsumer in interface RegionremoveConsumer in class BrokerFiltercontext - the environment the operation is being executed under.
Exception - TODO
public void removeProducer(ConnectionContext context,
ProducerInfo info)
throws Exception
Broker
removeProducer in interface BrokerremoveProducer in interface RegionremoveProducer in class BrokerFiltercontext - the enviorment the operation is being executed under.
Exception - TODO
public void send(ProducerBrokerExchange producerExchange,
Message messageSend)
throws Exception
Region
send in interface Regionsend in class BrokerFilterproducerExchange - the environment the operation is being executed under.
Exception - TODO
protected void generateFile(PrintWriter writer)
throws Exception
generateFile in class DotFileInterceptorSupportException
protected void printProducers(PrintWriter writer,
Map<String,String> clients,
Map<String,String> queues,
Map<String,String> topics)
protected void printProducers(PrintWriter writer,
Map<String,String> clients,
Map<String,String> queues,
Map<String,String> topics,
ProducerId producerId,
Set destinationSet)
protected void printSubscribers(PrintWriter writer,
Map<String,String> clients,
Map<String,String> destinations,
String type,
ObjectName[] subscribers)
protected void writeLabels(PrintWriter writer,
String color,
String prefix,
Map<String,String> map)
protected String asID(String name)
protected void printNodes(PrintWriter writer,
DestinationMapNode node,
String prefix)
protected void printNodeLinks(PrintWriter writer,
DestinationMapNode node,
String prefix)
protected String getPath(DestinationMapNode node)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||