org.exolab.jms.messagemgr
Class DestinationCacheFactory

java.lang.Object
  |
  +--org.exolab.jms.messagemgr.DestinationCacheFactory

public class DestinationCacheFactory
extends java.lang.Object

Factory for DestinationCache instances.

Version:
$Revision: 1.2 $ $Date: 2005/11/12 12:27:40 $
Author:
Tim Anderson

Constructor Summary
DestinationCacheFactory(LeaseManager leases, DatabaseService database, ServerConnectionManager connections)
          Construct a new DestinationCacheFactory.
 
Method Summary
 DestinationCache createDestinationCache(JmsDestination destination)
          Create a new destination cache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DestinationCacheFactory

public DestinationCacheFactory(LeaseManager leases,
                               DatabaseService database,
                               ServerConnectionManager connections)
Construct a new DestinationCacheFactory.
Parameters:
leases - the lease mananger
connections - the connection manager
Method Detail

createDestinationCache

public DestinationCache createDestinationCache(JmsDestination destination)
                                        throws javax.jms.JMSException
Create a new destination cache.
Parameters:
destination - the destination to create the cache for
Returns:
a new cache
Throws:
javax.jms.JMSException - if the cache can't be created


Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.