当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
HiLoKeyGeneratorFactory (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.ejb.plugins.keygenerator.hilo
Class HiLoKeyGeneratorFactory
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory
- All Implemented Interfaces:
- HiLoKeyGeneratorFactoryMBean, KeyGeneratorFactory, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, Serializable, org.jboss.system.Service, org.jboss.system.ServiceMBean
- public class HiLoKeyGeneratorFactory
- extends org.jboss.system.ServiceMBeanSupport
- implements KeyGeneratorFactory, HiLoKeyGeneratorFactoryMBean, Serializable
- Version:
- $Revision: 1.5.2.2 $
- Author:
- Alexey Loubyansky
- See Also:
- Serialized Form
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
HiLoKeyGeneratorFactory
public HiLoKeyGeneratorFactory()
setFactoryName
public void setFactoryName(String factoryName)
- Specified by:
setFactoryName
in interface HiLoKeyGeneratorFactoryMBean
getFactoryName
public String getFactoryName()
- Description copied from interface:
KeyGeneratorFactory
- Returns the name of the factory
- Specified by:
getFactoryName
in interface KeyGeneratorFactory
setDataSource
public void setDataSource(javax.management.ObjectName dataSource)
throws Exception
- Specified by:
setDataSource
in interface HiLoKeyGeneratorFactoryMBean
- Throws:
Exception
getDataSource
public javax.management.ObjectName getDataSource()
- Specified by:
getDataSource
in interface HiLoKeyGeneratorFactoryMBean
getTableName
public String getTableName()
- Specified by:
getTableName
in interface HiLoKeyGeneratorFactoryMBean
setTableName
public void setTableName(String tableName)
throws Exception
- Specified by:
setTableName
in interface HiLoKeyGeneratorFactoryMBean
- Throws:
Exception
getSequenceColumn
public String getSequenceColumn()
- Specified by:
getSequenceColumn
in interface HiLoKeyGeneratorFactoryMBean
setSequenceColumn
public void setSequenceColumn(String sequenceColumn)
- Specified by:
setSequenceColumn
in interface HiLoKeyGeneratorFactoryMBean
getSequenceName
public String getSequenceName()
- Specified by:
getSequenceName
in interface HiLoKeyGeneratorFactoryMBean
setSequenceName
public void setSequenceName(String sequenceName)
- Specified by:
setSequenceName
in interface HiLoKeyGeneratorFactoryMBean
getIdColumnName
public String getIdColumnName()
- Specified by:
getIdColumnName
in interface HiLoKeyGeneratorFactoryMBean
setIdColumnName
public void setIdColumnName(String idColumnName)
- Specified by:
setIdColumnName
in interface HiLoKeyGeneratorFactoryMBean
getCreateTableDdl
public String getCreateTableDdl()
- Specified by:
getCreateTableDdl
in interface HiLoKeyGeneratorFactoryMBean
setCreateTableDdl
public void setCreateTableDdl(String createTableDdl)
- Specified by:
setCreateTableDdl
in interface HiLoKeyGeneratorFactoryMBean
getBlockSize
public long getBlockSize()
- Specified by:
getBlockSize
in interface HiLoKeyGeneratorFactoryMBean
setBlockSize
public void setBlockSize(long blockSize)
- Specified by:
setBlockSize
in interface HiLoKeyGeneratorFactoryMBean
getKeyGenerator
public KeyGenerator getKeyGenerator()
throws Exception
- Description copied from interface:
KeyGeneratorFactory
- Returns a new key generator
- Specified by:
getKeyGenerator
in interface KeyGeneratorFactory
- Throws:
Exception
startService
public void startService()
throws Exception
- Throws:
Exception
stopService
public void stopService()
throws Exception
- Throws:
Exception
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.