org.jboss.jms.message
Class MessageIdGeneratorFactory

java.lang.Object
  extended by org.jboss.jms.message.MessageIdGeneratorFactory

public class MessageIdGeneratorFactory
extends java.lang.Object

This class manages instances of MessageIdGenerator. It ensures there is one instance per instance of JMS server as specified by the server id.

Version:
$Revision: 2883 $ $Id: MessageIdGeneratorFactory.java 2883 2007-07-12 23:36:16Z timfox $
Author:
Tim Fox

Field Summary
static MessageIdGeneratorFactory instance
           
 
Method Summary
 void checkInGenerator(int serverId)
           
 MessageIdGenerator checkOutGenerator(int serverId)
           
 void clear()
           
 boolean containsMessageIdGenerator(int serverId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static MessageIdGeneratorFactory instance
Method Detail

containsMessageIdGenerator

public boolean containsMessageIdGenerator(int serverId)

checkOutGenerator

public MessageIdGenerator checkOutGenerator(int serverId)
                                     throws JMSException
Throws:
JMSException

checkInGenerator

public void checkInGenerator(int serverId)

clear

public void clear()


Copyright © 2006 JBoss Inc. All Rights Reserved.