Class ActiveMQPacketParserFactory
- java.lang.Object
-
- org.apache.qpid.jms.provider.discovery.multicast.PacketParserFactory
-
- org.apache.qpid.jms.provider.discovery.multicast.parsers.ActiveMQPacketParserFactory
-
public class ActiveMQPacketParserFactory extends PacketParserFactory
Factory class for the ActiveMQ Packet Parser used to process data set over multicast when discovering ActiveMQ Brokers.
-
-
Constructor Summary
Constructors Constructor Description ActiveMQPacketParserFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PacketParsercreatePacketParser(java.lang.String key)Creates an instance of the given PacketParserjava.lang.StringgetName()java.lang.StringtoString()-
Methods inherited from class org.apache.qpid.jms.provider.discovery.multicast.PacketParserFactory
createAgent, findAgentFactory
-
-
-
-
Method Detail
-
createPacketParser
public PacketParser createPacketParser(java.lang.String key) throws java.lang.Exception
Description copied from class:PacketParserFactoryCreates an instance of the given PacketParser- Specified by:
createPacketParserin classPacketParserFactory- Parameters:
key- the name of the required packet parser for the agent.- Returns:
- a new PacketParser instance.
- Throws:
java.lang.Exception- if an error occurs while creating the PacketParser instance.
-
getName
public java.lang.String getName()
- Specified by:
getNamein classPacketParserFactory- Returns:
- the name of this packet parser, e.g ActiveMQ.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-