public class SimpleSessionFactory extends Object implements SessionFactory
SessionFactory implementation that generates SimpleSession instances.
创建session| 构造器和说明 |
|---|
SimpleSessionFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
Session |
get(SessionContext ctx) |
SessionIdGenerator<SessionContext> |
getIdGenerator() |
void |
setIdGenerator(SessionIdGenerator<SessionContext> idGenerator) |
public Session get(SessionContext ctx)
get 在接口中 SessionFactoryget 在接口中 Factory<SessionContext,Session>get 在接口中 Supplier<SessionContext,Session>public SessionIdGenerator<SessionContext> getIdGenerator()
getIdGenerator 在接口中 SessionFactorypublic void setIdGenerator(SessionIdGenerator<SessionContext> idGenerator)
setIdGenerator 在接口中 SessionFactoryCopyright © 2022. All rights reserved.