public class MXClientSessionFactory extends java.lang.Object implements MXSessionImplFactory
Constructor and Description |
---|
MXClientSessionFactory() |
Modifier and Type | Method and Description |
---|---|
MXSession |
getNewSession()
Always creates a new session and returns it.
|
MXSession |
getSession()
Always returns the same session.
|
public MXSession getSession()
getSession
in interface MXSessionImplFactory
public MXSession getNewSession()
getNewSession
in interface MXSessionImplFactory