public class MXClientSessionFactory extends java.lang.Object implements MXSessionImplFactory
| Constructor and Description |
|---|
MXClientSessionFactory()
Default constructor.
|
MXClientSessionFactory(java.util.Hashtable environment)
Constructs the session factory based on environment sepecific
bindings.
|
| Modifier and Type | Method and Description |
|---|---|
MXSession |
getNewSession()
Always creates a new session and returns it.
|
MXSession |
getSession()
Always returns the same session.
|
public MXClientSessionFactory()
public MXClientSessionFactory(java.util.Hashtable environment)
environment - public MXSession getSession()
getSession in interface MXSessionImplFactorypublic MXSession getNewSession()
getNewSession in interface MXSessionImplFactory