Package org.apache.activemq.util

Some utility classes

See:
          Description

Interface Summary
Callback A simple callback object used by the TransactionTemplate and org.apache.activemq.util.ExceptionTemplate objects to provide automatic transactional or exception handling blocks.
FactoryFinder.ObjectFactory The strategy that the FactoryFinder uses to find load and instantiate Objects can be changed out by calling the FactoryFinder.setObjectFactory(org.apache.activemq.util.FactoryFinder.ObjectFactory) method with a custom implementation of ObjectFactory.
Handler<T>  
IOExceptionHandler  
ServiceListener A listener for service start, stop events
 

Class Summary
ActiveMQMessageUtils Message utilities
BitArray Simple BitArray to enable setting multiple boolean values efficently Used instead of BitSet because BitSet does not allow for efficent serialization.
BitArrayBin Holder for many bitArrays - used for message audit
BooleanEditor  
BrokerSupport Utility class for broker operations
ByteArrayInputStream Very similar to the java.io.ByteArrayInputStream but this version is not thread safe.
ByteArrayOutputStream Very similar to the java.io.ByteArrayOutputStream but this version is not thread safe and the resulting data is returned in a ByteSequence to avoid an extra byte[] allocation.
ByteSequence  
ByteSequenceData Used to write and read primitives to and from a ByteSequence.
ClassLoadingAwareObjectInputStream  
DataByteArrayInputStream Optimized ByteArrayInputStream that can be used more than once
DataByteArrayOutputStream Optimized ByteArrayOutputStream
DefaultIOExceptionHandler  
FactoryFinder  
FactoryFinder.StandaloneObjectFactory The default implementation of Object factory which works well in standalone applications.
FilenameGuardFilter  
GenerateJDBCStatements  
HexSupport Used to convert to hex from byte arrays and back.
IdGenerator Generator for Globally unique Strings.
IndentPrinter A helper class for printing indented text
InetAddressUtil  
IntrospectionSupport  
IntSequenceGenerator  
IOExceptionSupport  
IOHelper  
JettisonMappedXmlDriver Temporary used until XStream 1.3.2 is released Simple XStream driver wrapping Jettison's Mapped reader and writer.
JMSExceptionSupport  
JmsLogAppender A JMS 1.1 log4j appender which uses ActiveMQ by default and does not require any JNDI configurations
JmsLogAppenderSupport An abstract base class for implementation inheritence for a log4j JMS appender
JMXSupport  
JndiJmsLogAppender A JMS 1.1 log4j appender which uses JNDI to locate a JMS ConnectionFactory to use for logging events.
LinkedNode Provides a base class for you to extend when you want object to maintain a doubly linked list to other objects without using a collection class.
ListEditor Used to serialize lists of ActiveMQDestinations.
LogWriterFinder Class used to find a LogWriter implementation, and returning a LogWriter object, taking as argument the name of a log writer.
LongSequenceGenerator  
LRUCache<K,V> A Simple LRU Cache
LRUSet<E> A Simple LRU Set
MapHelper A bunch of utility methods for working with maps
MarshallingSupport The fixed version of the UTF8 encoding function.
MemoryIntPropertyEditor Converts string values like "20 Mb", "1024kb", and "1g" to int values in bytes.
MemoryPropertyEditor Converts string values like "20 Mb", "1024kb", and "1g" to long values in bytes.
MessageComparatorSupport A base class for comparators which works on JMS Message objects
MessageDestinationComparator A comparator which works on SendCommand objects to compare the destinations
RestFilter Adds support for HTTP PUT, MOVE and DELETE methods.
ServiceStopper A helper class used to stop a bunch of services, catching and logging any exceptions and then throwing the first exception when everything is stoped.
ServiceSupport A helper class for working with services together with a useful base class for service implementations.
StringArrayEditor  
SubscriptionKey  
ThreadTracker Debugging tool to track entry points through code, useful to see runtime call paths To use, add to a method as follows: public void someMethod() { ThreadTracker.track("someMethod"); ...
TransactionTemplate A helper class for running code with a PersistenceAdapter in a transaction.
TypeConversionSupport  
URISupport  
URISupport.CompositeData  
XStreamFactoryBean  
 

Exception Summary
WrappedException  
 

Package org.apache.activemq.util Description

Some utility classes



Copyright © 2005-2011 FuseSource, Corp.. All Rights Reserved.