public class UUIDKeyGeneratorFactory extends Object implements KeyGeneratorFactory, org.jboss.msc.service.Service<KeyGeneratorFactory>
| Modifier and Type | Field and Description |
|---|---|
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
| Constructor and Description |
|---|
UUIDKeyGeneratorFactory() |
| Modifier and Type | Method and Description |
|---|---|
KeyGenerator |
getKeyGenerator()
Returns a newly constructed key generator
|
KeyGeneratorFactory |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<KeyGeneratorFactory>org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<KeyGeneratorFactory>public KeyGeneratorFactory getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<KeyGeneratorFactory>IllegalStateExceptionIllegalArgumentExceptionpublic KeyGenerator getKeyGenerator() throws Exception
getKeyGenerator in interface KeyGeneratorFactoryExceptionCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.