public class IDGenerator extends Object implements org.springframework.context.ApplicationContextAware
| 构造器和说明 |
|---|
IDGenerator() |
| 限定符和类型 | 方法和说明 |
|---|---|
static IDGenerator |
getInstance() |
long |
nextId() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setBlockSize(int blockSize) |
void |
setCommandService(CommandService commandService) |
public long nextId()
public static IDGenerator getInstance()
public void setCommandService(CommandService commandService)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void setBlockSize(int blockSize)
Copyright © 2019 Bstek. All rights reserved.