public class DefaultMXSessionFactory extends java.lang.Object implements MXSessionImplFactory
| Constructor and Description |
|---|
DefaultMXSessionFactory()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
MXSession |
getNewSession()
Always creates a new session and returns it.
|
MXSession |
getSession()
Returns one and only session for the current class loader.
|
public MXSession getSession()
getSession in interface MXSessionImplFactorypublic MXSession getNewSession()
getNewSession in interface MXSessionImplFactory