| 程序包 | 说明 |
|---|---|
| com.jn.langx.distributed.session | |
| com.jn.langx.distributed.session.impl |
| 限定符和类型 | 方法和说明 |
|---|---|
SessionIdGenerator<SessionContext> |
SessionFactory.getIdGenerator() |
| 限定符和类型 | 方法和说明 |
|---|---|
Session |
SessionFactory.get(SessionContext ctx) |
Session |
SessionManager.getSession(SessionContext context)
基于context获取session,若存在则获取,若不存在则创建
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SessionFactory.setIdGenerator(SessionIdGenerator<SessionContext> idGenerator) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
SimpleSessionContext |
| 限定符和类型 | 方法和说明 |
|---|---|
SessionIdGenerator<SessionContext> |
SimpleSessionFactory.getIdGenerator() |
| 限定符和类型 | 方法和说明 |
|---|---|
Session |
SimpleSessionFactory.get(SessionContext ctx) |
Session |
DefaultSessionManager.getSession(SessionContext context) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SimpleSessionFactory.setIdGenerator(SessionIdGenerator<SessionContext> idGenerator) |
Copyright © 2021. All rights reserved.