org.jboss.ejb.plugins.keygenerator.uuid
Class UUIDKeyGeneratorFactory

java.lang.Object
  extended by org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory
All Implemented Interfaces:
Serializable, KeyGeneratorFactory

public class UUIDKeyGeneratorFactory
extends Object
implements KeyGeneratorFactory, Serializable

This is the factory for UUID key generator

Version:
$Revision: 1.3.6.2 $
Author:
Alex Loubyansky
See Also:
Serialized Form

Field Summary
static String JNDI_NAME
           
 
Constructor Summary
UUIDKeyGeneratorFactory()
           
 
Method Summary
 String getFactoryName()
          Returns the factory name
 KeyGenerator getKeyGenerator()
          Returns a newly constructed key generator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JNDI_NAME

public static final String JNDI_NAME
See Also:
Constant Field Values
Constructor Detail

UUIDKeyGeneratorFactory

public UUIDKeyGeneratorFactory()
Method Detail

getFactoryName

public String getFactoryName()
Returns the factory name

Specified by:
getFactoryName in interface KeyGeneratorFactory

getKeyGenerator

public KeyGenerator getKeyGenerator()
                             throws Exception
Returns a newly constructed key generator

Specified by:
getKeyGenerator in interface KeyGeneratorFactory
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.