Package org.apache.activemq.util

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
Suspendable Interface implemented by services that can be suspended and resumed.
TypeConversionSupport.Converter  
 

Class Summary
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 Used by xbean to set booleans.
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  
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.
LFUCache<Key,Value> LFU cache implementation based on http://dhruvbird.com/lfu.pdf, with some notable differences: Frequency list is stored as an array with no next/prev pointers between nodes: looping over the array should be faster and more CPU-cache friendly than using an ad-hoc linked-pointers structure.
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.
LockFile Used to lock a File.
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
MapHelper A bunch of utility methods for working with maps
MarshallingSupport The fixed version of the UTF8 encoding function.
MemoryIntPropertyEditor Used by xbean to set integers.
MemoryPropertyEditor Used by xbean to set longs.
Promise<T> Used to implement callback based result passing of a promised computation.
PromiseCallback<T>  
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.
StopWatch A very simple stop watch.
StringArrayConverter Class for converting to/from String[] to be used instead of a PropertyEditor which otherwise causes memory leaks as the JDK PropertyEditorManager is a static class and has strong references to classes, causing problems in hot-deployment environments.
StringToListOfActiveMQDestinationConverter Special converter for String -> List to be used instead of a PropertyEditor which otherwise causes memory leaks as the JDK PropertyEditorManager is a static class and has strong references to classes, causing problems in hot-deployment environments.
SubscriptionKey  
ThreadPoolUtils Utility methods for working with thread pools ExecutorService.
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"); ...
TimeUtils Time utils.
TransactionTemplate A helper class for running code with a PersistenceAdapter in a transaction.
TypeConversionSupport Type conversion support for ActiveMQ.
URISupport Utility class that provides methods for parsing URI's This class can be used to split composite URI's into their component parts and is used to extract any URI options from each URI in order to set specific properties on Beans.
URISupport.CompositeData A composite URI can be split into one or more CompositeData object which each represent the individual URIs that comprise the composite one.
 

Exception Summary
WrappedException  
 



Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.