public class RandomIDGenerator extends BeanSupport implements SessionIDGenerator
SESSION_ID_LENGTH_DEFAULT
Constructor and Description |
---|
RandomIDGenerator() |
Modifier and Type | Method and Description |
---|---|
String |
generateSessionID()
生成session ID。
|
int |
getLength() |
protected void |
init()
初始化bean。
|
void |
setLength(int length) |
String |
toString()
转换成字符串。
|
afterPropertiesSet, assertInitialized, destroy, dispose, getBeanDescription, getBeanDescription, getBeanInterface, getBeanName, isInitialized, postDispose, postInit, preDispose, preInit, resolveBeanInterface, setBeanName
public int getLength()
public void setLength(int length)
protected void init()
BeanSupport
init
in class BeanSupport
public String generateSessionID()
SessionIDGenerator
generateSessionID
in interface SessionIDGenerator
public String toString()
BeanSupport
toString
in class BeanSupport
Copyright © 2006–2018 TinyGroup. All rights reserved.