public class SimpleWebAppSession extends RMISession
adminLogout, baseCurrency, clientAddr, clientHost, connected, credential, hostname, interactive, langCode, locale, password, remoteServer, servername, timeZone, username
Constructor and Description |
---|
SimpleWebAppSession() |
Modifier and Type | Method and Description |
---|---|
void |
connect()
Connect to the server.
|
protected MXServerRemote |
getMXServer()
Returns MXServer object depending on some settings.
|
disconnect, getBaseLang, getBranding, getLanguageList, getMboSet, getMessage, getMessage, getMessages, getMXServerRemote, getProfile, getProperty, getTaggedMessage, isSupportedLangCode, loadUserInfo, lookup
addMXSessionListener, connectAsRegUser, getBaseCurrency, getClientAddr, getClientHost, getCredential, getDate, getForUser, getHost, getLocale, getNewSession, getPassword, getServer, getSession, getTenant, getTimeZone, getURLAsString, getUserInfo, getUserName, hasAdminLogout, isConnected, removeMXSessionListener, setClientAddr, setClientHost, setCredential, setForUser, setHost, setInteractive, setLangCode, setLocale, setMXSessionImplFactory, setPassword, setTenant, setTimeZone, setUserName
protected MXServerRemote getMXServer() throws MXException, java.net.MalformedURLException, java.rmi.NotBoundException, java.rmi.RemoteException, java.net.UnknownHostException
RMISession
getMXServer
in class RMISession
MXException
java.net.MalformedURLException
java.rmi.NotBoundException
java.rmi.RemoteException
java.net.UnknownHostException
public void connect() throws MXException, java.rmi.RemoteException
connect
in class RMISession
MXException
java.rmi.RemoteException
MXSession.isConnected()
,
MXSession.disconnect()
,
MXSession.setHost(String)
,
MXSession.setUserName(String)
,
MXSession.setPassword(String)