public class MXServer extends java.lang.Object implements MXServerRemote, FixedLoggers, MaxRemoteProxy
Service,
ConfigFile,
MaximoDD,
psdi.mbo.Connection| Modifier and Type | Class and Description |
|---|---|
static class |
MXServer.SecurityContextFlag |
class |
MXServer.SmtpAuthenticator
Authentication class for mail session.
|
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
adminNameDefault
The default login name for administration control of the MXServer
|
protected static java.lang.String |
adminNameProperty
The property used for configuring the administration login name
|
protected static java.lang.String |
adminPasswdDefault
The default login password for administration control of the MXServer
|
protected static java.lang.String |
adminPasswdProperty
The property used for configuring the administration password
|
protected static java.lang.String |
allowLocalObjectsProperty |
static java.lang.String |
API_KEY |
static java.lang.String |
bundleProperties |
protected static int |
CATALOG_REGISTRY_COLUMNS
Catalog registry columns.
|
static boolean |
db2UseWithURforViews |
protected DBManager |
dbManager
Database connections, user and client authentification etc.
|
protected static java.lang.String |
DBMANAGERCLASSPATH |
protected static TenantLevelObj |
eventTopicsCaches |
protected static TenantLevelObj |
eventTopicTrees |
boolean |
failToGetOracleSID |
protected static java.util.Map |
globalEventTopicsCache |
protected static EventTopicTree |
globalEventTopicTree
EventTopicTree - The n-ary tree that stores all the subscription
information in the server.
|
static java.lang.String |
HTML_CONTENT
Used for the HTML content type for sending emails.
|
protected java.util.HashMap |
maximoCache
Hashtable that holds all cached objects so they can be refreshed without
restarting the server
|
protected java.util.concurrent.ConcurrentSkipListMap |
mboCounter |
protected java.util.concurrent.ConcurrentSkipListMap |
mboSetCounter |
protected java.util.HashMap |
mboSetIPCounter |
static java.lang.String |
MTENABLEDPROPERTY |
protected java.util.Properties |
mxServerConfig
Configuration information as an extension of java.util.Properties
|
protected static java.lang.String |
nameDefault
This is the default value for the nameProperty.
|
protected static java.lang.String |
nameProperty
The property for the name of the object that is registered in
the rmiregistry for this server.
|
boolean |
printMboCount |
protected static java.lang.String |
registryPortProperty
This is the property for configuring the port the MXServer will
try contact the registry host on.
|
static java.lang.String |
REQ_PARAM_S2STOKEN |
static int |
RMIPORT
Port number used by RMI to communicate, set in the properties file
|
static int |
RMIREGISTRYPORT
Port number used by RMI Registry.
|
static int |
serverTimeStampUpdateRate
The frequency in seconds for the server to update server timestamp to
indicate that it is alive.
|
protected ServiceCoordinator |
serviceCoordinator
Intelligent Collection of Serivces.
|
protected boolean |
shutdown
Set by shutdown().
|
protected SrvComm |
srvComm
This is an RMI command interface to the MXServer.
|
protected static java.lang.String |
systemBaseCalendar
The property used for configuring the System Base Calendar
|
static java.lang.String |
TEXT_CONTENT
Used for the text content type for sending emails.
|
protected static java.lang.String |
useAppServerSecurityProperty
A property to indicate whether MAXIMO application is enabled
to use Application server security or not.
|
protected static java.lang.String |
UserLicenseKey |
static java.lang.String[][] |
validLanguageList |
BRAND_MAXIMO, BRAND_MAXIMO_AND_TIVOLI, BRAND_NONE, BRAND_TIVOLIAPPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGERappenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix| Modifier and Type | Method and Description |
|---|---|
void |
addApp(java.lang.String app)
Add the specified app to the
validApps HashSet. |
void |
addToMaximoCache(java.lang.String name,
MaximoCache obj)
Adds the cache object to maximo cache.
|
void |
addWarning(MXException e,
java.lang.Object id) |
protected void |
boot(java.util.Properties propsFromFile)
Boot-strap the server.
|
void |
checkAdminRestart()
When booting, check maxvar to see whether MXServer should be started in Admin Mode.
|
void |
checkFailedTenants() |
void |
clearLongOpPipe()
Clear out the long op message pipe.
|
void |
clearSecurityContext()
Clear security context flag
|
static void |
clearTenantContext()
Clear the tenant context.
|
void |
clearTenantRealmMap() |
void |
clearUserInput(UserInfo ui)
Remove the old enough entries (older than 5min).
|
void |
clearWarnings(java.lang.Object id) |
void |
collectTenantDBConForThisServer(UserInfo info) |
void |
collectTenantDBConnInfo(UserInfo info) |
protected void |
configure(java.util.Properties propsFromFile)
Reads in the MXServer.properties file.
|
MXTransaction |
createMXTransaction()
Create a new transaction.
|
void |
decrementMboCount(java.lang.String name,
int tenantID)
Decrement the mbocount for the mbo and teantnt.
|
void |
decrementMbosetCount(java.lang.String name)
Deprecated.
|
void |
decrementMbosetCount(java.lang.String name,
int tenantID) |
void |
decrementMbosetIPCount(java.lang.String objName,
java.lang.String clientHost,
java.lang.String clientAddr)
Used to count AddUser and ForgotPassword sets by IP for IP Blocking checks.
|
void |
destroy()
Calls destroy() on each AppService and System Service.
|
void |
disableService(java.lang.String svc)
Disable ( unbind ) a service.
|
void |
enableService(java.lang.String svc)
Enable a service.
|
byte[] |
encData(java.lang.String in,
int type)
Encrypt the input string.
|
protected void |
finalize()
Calls destroy()
|
java.util.List |
getAllTenantIdsList(UserInfo landlordInfo)
Get a list of all the tenant ids except for configuration administrator, ordered by
tenant ID.
|
com.ibm.json.java.JSONObject |
getAllTenantsMboCountAsJSON() |
java.lang.String |
getAppServerNameandVersion()
Returns the App Srever Name and Version
|
java.lang.String[] |
getAppServiceNames()
Deprecated.
|
AutoKeyCache |
getAutoKeyCache() |
java.lang.String |
getBaseCalendar()
Gets The System Calendar Type
|
java.lang.String |
getBaseLang()
Returns the base language code
|
int |
getBranding()
Return the branding for this instance.
|
UserInputBulletin |
getBulletin() |
static BulletinBoardServiceRemote |
getBulletinBoard()
Return the Bulletin board service object.
|
MaxConditionCache |
getConditionCache()
return the maximo condition cache.
|
java.util.Properties |
getConfig()
Deprecated.
|
java.util.Properties |
getConfig(UserInfo userInfo)
Deprecated.
|
CronTaskManager |
getCronTaskManager()
Return the CronTaskManager.
|
java.lang.String |
getDatabaseProductName()
Returns the name of the database product name.
|
java.lang.String |
getDatabaseProductSimpleVersion()
Returns the database product version Major.Minor.
|
java.lang.String |
getDatabaseProductVersion()
Returns the database product version string.
|
DataRestrictionCache |
getDataRestrictionCache() |
java.util.Date |
getDate()
Returns the current date sync'ed with the database server.
|
java.util.Date |
getDate(java.util.Locale l,
java.util.TimeZone tz)
Returns the date in timezone and locale
|
int |
getDBConnUsed()
Returns the number of coonections used from the DBManager
|
DBManager |
getDBManager() |
int |
getDBPlatform()
Returns the database platform as integer.
|
int |
getEvalDaysRemaining()
Return the number of days remaining in the evaluation period.
|
static java.util.Map |
getEventTopicsCache() |
static EventTopicTree |
getEventTopicTree()
Static method to access event topic tree.
|
java.lang.String[] |
getFreeMemory()
Returns a String array of JVM runtime free memory for this server
|
java.lang.Object |
getFromMaximoCache(java.lang.String name)
Returns the cache object to maximo cache.
|
static java.util.Map |
getGlobalEventTopicsCache() |
java.util.UUID |
getGuid()
Return the Guid for this instance of MXServer.
|
java.lang.String[][] |
getLanguageList()
Returns the language ID and name in corresponding language
|
java.util.HashSet |
getLicenseKeys()
Return a HashSet of license keys.
|
java.util.Map |
getLoadedTenants()
unload tenant from all maximo caches
|
java.util.Set |
getLoadedTenants(java.lang.String cacheName)
remove tenant from specific cache
|
java.lang.String[] |
getLocalAppList() |
static MXServer.SmtpAuthenticator |
getMailAuth()
Authentication for mail session.
|
MboValueInfo |
getMasterMboValueInfo(MboRemote tenantMbo)
Get MboValueInfo for Master for given object and atribute
|
java.util.Map |
getMasterModifiedObjects()
Get lsit of objects which were changted (but not configured yet) by Master
|
MaxDomainCache |
getMaxDomainCache() |
java.util.Set |
getMaximoCacheNames()
Return the names of cache currently in MaximoCache.
|
MaximoDD |
getMaximoDD() |
MaximoMLDD |
getMaximoMLDD()
Return the MaximoMLDD
|
MaxMessageCache |
getMaxMessageCache()
Return the MaximoMessageCache
|
static long |
getMaxSessionID()
Returns a unique maxsession id as object.
|
java.lang.String |
getMaxupgValue()
Returns the MAXUPG value of MAXVARS table
|
java.lang.String |
getMAXUPGValue(java.sql.Connection con,
java.lang.String name)
Gets the MAXUPG.
|
java.lang.String |
getMboCount()
Prints the list of mbosets and the mbo count.
|
java.util.ArrayList |
getMboCounts()
Deprecated.
|
java.util.ArrayList |
getMboCounts(int tenantID)
This method returns an ArrayList of MboSet and Mbo counts
The Array list contains a list of String[] in the following
format
For non-MT
String["Server Name","MboSet Name", "MboSet Count", "Mbo Count"]
For MT["Server Name-Tenant Code","MboSet Name", "MboSet Count", "Mbo Count"]
String
|
MboSetRemote |
getMboSet(java.lang.String name,
UserInfo user)
Lookup a MboSet and return to the caller
|
int |
getMboSetCount(java.lang.String objName)
Get the number of sets in memory for the specified object.
|
int |
getMboSetIPCount(java.lang.String objName,
java.lang.String clientHost,
java.lang.String clientAddr)
Get count by IP.
|
java.util.ArrayList |
getMEAServerVersion()
Returns the MEA Version
|
java.lang.String |
getMessage(MXException mxe,
java.lang.String langCode)
Returns message for the exception and langcode
|
java.lang.String |
getMessage(java.lang.String group,
java.lang.String key,
java.lang.String langCode)
Returns the maxmessage entry for group and key
|
java.lang.String[] |
getMessages(java.lang.String group,
java.lang.String[] key,
java.lang.String langCode)
Return list of translated strings from the maxmessages table in the order specified by the array of keys passed
|
MXCipher |
getMXCipher()
Returns instance of MXCipher for encryption / decrypption, for CRYPTO maxtype.
|
MXCipherX |
getMXCipherX()
Returns instance of MXCipherX for encryption, for CRYPTOX maxtype.
|
static MXServer |
getMXServer() |
java.util.Properties |
getMxServerConfig()
Expose the properties.
|
MXServerInfo |
getMXServerInfo()
Returns the MXServerInfo object for additional properties.
|
java.lang.String[] |
getMXServerVersion()
Return the version for MXServer and any add-ons.
|
java.lang.String |
getName() |
java.lang.String |
getNativeSql(java.lang.String jdbcSql)
Deprecated.
|
CronTaskManager |
getNewCronTaskManager() |
java.lang.String |
getOrganization(java.lang.String siteId)
Returns organization id for the given siteid.
|
void |
getPackagingInfo(UserInfo ui)
Output info to Maximo Logger re: packaging in array of Strings.
|
java.util.HashSet |
getProductKeys()
Return a HashSet of product keys.
|
java.lang.String |
getProperty(java.lang.String propName)
Return the cached property value.
|
java.lang.String |
getProperty(java.lang.String propName,
boolean checkExists)
Return the cached property value.
|
java.lang.String |
getProperty(java.lang.String propName,
java.lang.String lang)
Return the cached property value.
|
java.lang.String |
getProperty(java.lang.String propName,
java.lang.String lang,
UserInfo userInfo)
Return the cached property value for a property not flagged as "private".
|
java.lang.String |
getProperty(java.lang.String propName,
UserInfo userInfo)
Return the cached property value for a property not flagged as "private".
|
java.rmi.Remote |
getProxy() |
java.lang.String |
getPublicProperty(java.lang.String propName)
Return a property that is flagged as public.
|
java.lang.String |
getPublicProperty(java.lang.String propName,
java.lang.String lang)
Return a property that is flagged as public.
|
java.lang.String |
getRegistryHostName()
Returns the Host name of the registry.
|
java.lang.String |
getRegistryPort()
Returns the port number of the host on which the registry is running.
|
java.util.Hashtable |
getRemoteUsers()
Return the remoteUser Hashtable
NOT IMPLEMENTED YET |
MXServer.SecurityContextFlag |
getSecurityContext()
Get security context flag if transaction can be saved or readonly
|
SrvCommRemote |
getServerCommandRemote(java.lang.String name,
java.lang.String passwd)
Deprecated.
|
SrvCommRemote |
getServerCommandRemote(UserInfo userInfo) |
java.lang.String |
getServerHost()
returns server's ip address
|
int |
getSQLServerPrefetchRows()
returns the number of rows to be prefetched for SQLServer.
|
SrvCommRemote |
getSrvComm(java.lang.String name,
java.lang.String passwd)
Return the Server Command "interface"
|
java.util.Properties |
getSystemProperties()
Returns system properties.
|
java.lang.String |
getSystemType()
Return a HashSet of license keys.
|
UserInfo |
getSystemUserInfo()
Returns the system user information for the system user.
|
java.lang.String |
getTaggedMessage(MXException mxe,
java.lang.String langCode)
Returns message with Messageidfor the exception and langcode
|
java.lang.String |
getTaggedMessage(java.lang.String group,
java.lang.String key,
java.lang.String langCode)
Returns the maxmessage with MessageID tagged (BMX id)entry for group and key
|
static int |
getTenantContext()
Return the tenant ID of the current tenant context.
|
static int |
getTenantContext(boolean tenantNotSetCheck)
get the tenant context.
|
java.util.List |
getTenantIdsList(UserInfo landlordInfo,
int status)
Get a list of tenant ids except for configuration administrator, ordered by
tenant ID.
|
java.util.HashMap |
getTenantRealmMap()
Returns the tenant code and real name map
|
static java.lang.Object |
getUID()
Returns a unique id as object.
|
java.lang.String |
getURL()
Returns the URL of the MXServer.
|
UserInfo |
getUserInfo(java.lang.String userIdentity)
Returns the user information for the given user.
|
java.lang.Object |
getUserInput(java.lang.String id,
UserInfo ui)
Get the user input of the id.
|
java.lang.String |
getUserLicenseKey()
Deprecated.
|
java.util.HashSet |
getValidApps()
Return a HashSet of valid apps, according to packaging rules.
|
java.util.ArrayList |
getWarnings(java.lang.Object id) |
static boolean |
hasFeatureToggle() |
boolean |
hasWarnings(java.lang.Object id) |
void |
incrementMboCount(java.lang.String name,
int tenantID)
Deprecated.
|
void |
incrementMbosetCount(java.lang.String name,
int tenantID)
This is to count the mbosets to debug gc.
|
void |
incrementMbosetIPCount(java.lang.String objName,
java.lang.String clientHost,
java.lang.String clientAddr)
Used to count AddUser and ForgotPassword sets by IP for IP Blocking checks.
|
void |
init(java.sql.Connection sysCon)
Initialize all the System Services in this environment.
|
protected void |
initEventTopicTree() |
protected void |
initRegistryInfo() |
boolean |
isAdminModeOff(boolean allInstances)
Tests whether MXServer Admin Mode is OFF.
|
boolean |
isAdminModeOn(boolean allInstances)
Tests whether MXServer is in Admin Mode.
|
boolean |
isAdminModePending()
Tests whether this instance of MXServer is starting to enter Admin Mode.
|
static boolean |
isBotcInstalled() |
static boolean |
isInlineThreadLog() |
boolean |
isLocal(java.lang.String serviceUrl) |
boolean |
isManage()
returns true if the license MANAGE is present
|
static boolean |
isMasterContext()
utility method for determining if the current thread context is for the master.
|
static boolean |
isMTEnabled() |
boolean |
isMxserverStarted()
returns true or false if mxserver has started or not
|
boolean |
isPermanentLicense()
Identifies whether this is a permanent license of Maximo.
|
boolean |
isReadOnlyApp(java.lang.String app)
Return a HashSet of license keys.
|
static boolean |
isRMIEnabled() |
boolean |
isSiteInOrganization(java.lang.String siteId,
java.lang.String orgId)
Returns whether the site belongs to the org or not.
|
boolean |
isSQLServerPrefetchRowsNeeded()
returns whether to prefetch rows or not.
|
static boolean |
isTenantRegContext() |
boolean |
isValidApp(java.lang.String app)
Identify whether this app is valid as far as packaging is concerned.
|
boolean |
isValidOrganization(java.lang.String orgId)
Returns whether the orgid is valid or not.
|
boolean |
isValidSite(java.lang.String siteId)
Returns whether the siteid is valid or not.
|
void |
listenToAdmin(MboRemote listenerMbo,
boolean listen)
Listen to messages from AdminModeManager when changing Admin Mode.
|
void |
loadCustomApps() |
void |
loadCustomApps(java.sql.Connection con) |
ServiceRemote |
lookup(java.lang.String name) |
ServiceRemote |
lookup(java.lang.String name,
UserInfo ui)
Return the specified remote service
|
ServiceRemote |
lookupLocal(java.lang.String name) |
void |
needToRunUpdateDB(java.lang.String product,
java.lang.String maxupg,
java.lang.String newRelDBVersion,
java.lang.String lastRelDBVersion,
java.lang.String varName,
boolean checkHF)
Checks maxupg,new realease version and old release version to see if updbdb needed.
|
void |
postUserInput(java.lang.String id,
java.lang.Object value,
UserInfo ui)
Post the object to the bulletin board maintained by the server.
|
java.lang.String |
printMaxsessionInfo()
Prints user information from maxsession table.
|
void |
reloadAdminModeByThread(java.lang.String key,
MboRemote listenerMbo)
This is the same as reloadCache for ADMINMODE, but it is done in a separate thread so that
the caller does not have to keep waiting.
|
void |
reloadMaximoCache(boolean flag)
reloads all maximo caches
|
void |
reloadMaximoCache(java.lang.String cacheName,
boolean updateAllServers)
reloads specific cache
|
void |
reloadMaximoCache(java.lang.String cacheName,
java.lang.String key,
boolean flag)
Reloads a specific sub component of the cache object.
|
void |
removeApp(java.lang.String app)
Remove the specified app from the
validApps HashSet. |
void |
removeFromMaximoCache(java.lang.String name)
Removes the cache object from maximo cache.
|
void |
removeMaxSessionEntriesDeadForAnHour()
Remove maxsession server entry and related user entries if server is not running for 8 minutes.
|
void |
removeMaxSessionEntriesDeadForAnHour(java.sql.Connection con)
Remove maxsession server entry and related user entries if server is not running for 8 minutes.
|
void |
removeUserInput(java.lang.String id,
UserInfo ui)
Remove the user input from the bulletin board.
|
java.lang.String |
resolveApiKey(java.lang.String apikey) |
void |
retryAsyncTask(java.sql.Connection con,
java.lang.String serverName,
java.lang.String serverHost)
Submit the inprogress async task if server was shut down when the task was running before.
|
void |
run()
A place holder incase the MXServer needs to run as a thread.
|
static void |
sendEMail(java.lang.String[] to,
java.lang.String from,
java.lang.String subject,
java.lang.String message)
Send an email
|
static void |
sendEMail(java.lang.String[] to,
java.lang.String from,
java.lang.String subject,
java.lang.String message,
java.lang.String attachment,
java.lang.String filename)
This method takes array of to addresses.
|
static void |
sendEMail(java.lang.String[] to,
java.lang.String from,
java.lang.String subject,
java.lang.Throwable t) |
static void |
sendEMail(java.lang.String to,
java.lang.String from,
java.lang.String subject,
java.lang.String message)
Send an email
|
static void |
sendEMail(java.lang.String to,
java.lang.String from,
java.lang.String subject,
java.lang.String message,
java.lang.String attachment,
java.lang.String filename)
Send an email
|
static void |
sendEMail(java.lang.String to,
java.lang.String cc,
java.lang.String bcc,
java.lang.String from,
java.lang.String subject,
java.lang.String message,
java.lang.String ReplyTo,
java.lang.String[] fileName,
java.lang.String[] urlName) |
static void |
sendEMail(java.lang.String to,
java.lang.String cc,
java.lang.String bcc,
java.lang.String from,
java.lang.String subject,
java.lang.String message,
java.lang.String ReplyTo,
java.lang.String[] fileName,
java.lang.String[] urlName,
java.util.Properties overrideProps)
This method uses Internetaddress parse to get email address.
|
static void |
sendEMail(java.lang.String to,
java.lang.String from,
java.lang.String subject,
java.lang.Throwable t)
Send an email
|
protected void |
setMXServerInfo(MXServerInfo mxServerInfo) |
protected void |
setName(java.lang.String name) |
void |
setProxy(java.rmi.Remote proxy) |
protected void |
setRegistryHostName(java.lang.String host) |
protected void |
setRegistryPort(java.lang.String port) |
void |
setSecurityCheck(MXServer.SecurityContextFlag securityFlag)
Sets the security context flag
|
void |
setServerHost(java.lang.String address)
sets server's ip address
|
static void |
setTenantContext(UserInfo ui)
Set security context to the tenant of the passed in UserInfo.
|
static int |
setTenantContext(UserInfo ui,
int tenantID)
Set the security context to the tenant by giving a landlord's userinfo.
|
static void |
setTenantRegContext(java.lang.Integer tenantID)
Set security context to the tenant of the passed in UserInfo.
|
java.io.InputStream |
setupLongOpPipe()
Set up the piped output stream for writing warnings.
|
protected void |
setURL(java.lang.String url) |
protected void |
shutdown(java.lang.Object key)
Schedules a shutdown
|
static void |
start(java.util.Properties propsFromFile)
Start MXServer.
|
void |
unloadInactiveCaches(long interval)
unload tenant from all maximo caches
|
void |
unloadTenantCache()
unload tenant from all maximo caches
|
void |
unloadTenantCache(java.lang.String cacheName)
remove tenant from specific cache
|
protected void |
upgradeDatabaseCheck(java.sql.Connection con)
This method checks if we need to upgrade database and throw a message to run the
utility if needed
|
static boolean |
useClassicMaximo() |
java.lang.String |
validateApiKeyConfigValue() |
void |
validateS2stokenConfigValue() |
java.lang.String |
validateThisApiKeyConfigValue(java.lang.String apiKey) |
void |
writeLongOpMsg(java.lang.String msg) |
protected static final java.lang.String nameProperty
public static final int serverTimeStampUpdateRate
protected static final java.lang.String nameDefault
protected static final java.lang.String DBMANAGERCLASSPATH
protected static final java.lang.String registryPortProperty
protected static final java.lang.String adminNameProperty
protected static final java.lang.String adminNameDefault
protected static final java.lang.String adminPasswdProperty
protected static final java.lang.String systemBaseCalendar
protected static final java.lang.String adminPasswdDefault
protected static final java.lang.String allowLocalObjectsProperty
protected static final java.lang.String useAppServerSecurityProperty
protected static final java.lang.String UserLicenseKey
protected SrvComm srvComm
protected java.util.HashMap maximoCache
protected DBManager dbManager
protected java.util.Properties mxServerConfig
protected ServiceCoordinator serviceCoordinator
protected boolean shutdown
protected static EventTopicTree globalEventTopicTree
protected static TenantLevelObj eventTopicTrees
protected static TenantLevelObj eventTopicsCaches
protected static java.util.Map globalEventTopicsCache
public static int RMIPORT
public static int RMIREGISTRYPORT
protected static final int CATALOG_REGISTRY_COLUMNS
public static java.lang.String[][] validLanguageList
public boolean printMboCount
public boolean failToGetOracleSID
public static boolean db2UseWithURforViews
public static final java.lang.String HTML_CONTENT
public static final java.lang.String TEXT_CONTENT
public static final java.lang.String MTENABLEDPROPERTY
public static final java.lang.String REQ_PARAM_S2STOKEN
public static final java.lang.String API_KEY
public static final java.lang.String bundleProperties
protected java.util.concurrent.ConcurrentSkipListMap mboCounter
protected java.util.concurrent.ConcurrentSkipListMap mboSetCounter
protected java.util.HashMap mboSetIPCounter
public static MXServer getMXServer() throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static java.lang.Object getUID()
public static long getMaxSessionID()
public java.util.UUID getGuid()
public java.lang.String getServerHost()
public void setServerHost(java.lang.String address)
public void addToMaximoCache(java.lang.String name,
MaximoCache obj)
public void removeFromMaximoCache(java.lang.String name)
public java.lang.Object getFromMaximoCache(java.lang.String name)
@TracePrimary public void reloadMaximoCache(boolean flag) throws MXException, java.rmi.RemoteException
reloadMaximoCache in interface MXServerRemoteboolean - flag to indicate if reloadMaximoCache called from crontask
or from other sources. True if from other sources , false if from cron taskMXException,RemoteExceptionjava.rmi.RemoteExceptionMXExceptionMXServer.reloadMaximoCache(boolean)@TracePrimary public void unloadTenantCache() throws MXException, java.rmi.RemoteException
MXException,RemoteExceptionMXExceptionjava.rmi.RemoteException@TracePrimary public void unloadInactiveCaches(long interval) throws MXException, java.rmi.RemoteException
MXException,RemoteExceptionMXExceptionjava.rmi.RemoteException@TracePrimary public java.util.Map getLoadedTenants() throws MXException, java.rmi.RemoteException
MXException,RemoteExceptionMXExceptionjava.rmi.RemoteException@TracePrimary public void reloadMaximoCache(java.lang.String cacheName, boolean updateAllServers) throws MXException, java.rmi.RemoteException
reloadMaximoCache in interface MXServerRemotecachename - updateAllServers - True to update all other instances of MXServer, false
to update only this instance. When true, maxsession.reloadcache is updated
for the other instances with the names of cache to be reloaded.java.rmi.RemoteExceptionMXExceptionMXServer.reloadMaximoCache(boolean)@TracePrimary public void unloadTenantCache(java.lang.String cacheName) throws MXException, java.rmi.RemoteException
cachename - MXExceptionjava.rmi.RemoteException@TracePrimary public java.util.Set getLoadedTenants(java.lang.String cacheName) throws MXException, java.rmi.RemoteException
cachename - MXExceptionjava.rmi.RemoteException@TracePrimary public void reloadMaximoCache(java.lang.String cacheName, java.lang.String key, boolean flag) throws MXException, java.rmi.RemoteException
reloadMaximoCache in interface MXServerRemotecachename - boolean - flag to indicate if reloadMaximoCache called from crontask
or from other sources. True if from other sources , false if from cron taskMXException,RemoteExceptionjava.rmi.RemoteExceptionMXExceptionMXServer.reloadMaximoCache(boolean)public void reloadAdminModeByThread(java.lang.String key,
MboRemote listenerMbo)
throws MXException,
java.rmi.RemoteException
reloadAdminModeByThread in interface MXServerRemoteON - or OFFlistenerMbo - instance of ProcessMonitor mbo (can be null)MXExceptionjava.rmi.RemoteExceptionMXServer.reloadAdminModeByThread(java.lang.String, psdi.mbo.MboRemote)public void destroy()
protected void finalize()
finalize in class java.lang.Objectprotected void boot(java.util.Properties propsFromFile)
throws java.lang.Exception
propsFromFile - Properties from the maximo properties file (not from the database).
These will include properties required for database connectivity.java.lang.Exceptionpublic java.util.HashSet getValidApps()
MXServer.packagingCheck(psdi.server.DBManager)public boolean isValidApp(java.lang.String app)
MXServer.packagingCheck(psdi.server.DBManager)public void addApp(java.lang.String app)
validApps HashSet.
This is to support the Application Designer application.app - Application namepublic void removeApp(java.lang.String app)
validApps HashSet.
This is to support the Application Designer application.app - Application namepublic java.util.HashSet getLicenseKeys()
throws java.rmi.RemoteException
getLicenseKeys in interface MXServerRemotejava.rmi.RemoteExceptionMXServer.packagingCheck(psdi.server.DBManager)public boolean isReadOnlyApp(java.lang.String app)
MXServer.packagingCheck(psdi.server.DBManager)public java.lang.String getSystemType()
MXServer.packagingCheck(psdi.server.DBManager)public boolean isPermanentLicense()
throws MXException,
java.rmi.RemoteException
isPermanentLicense in interface MXServerRemoteMXExceptionjava.rmi.RemoteExceptionMXServer.isPermanentLicensepublic java.util.HashSet getProductKeys()
throws java.rmi.RemoteException
getProductKeys in interface MXServerRemotejava.rmi.RemoteExceptionMXServer.packagingCheck(psdi.server.DBManager)public int getEvalDaysRemaining()
throws MXException,
java.rmi.RemoteException
getEvalDaysRemaining in interface MXServerRemoteMXExceptionjava.rmi.RemoteExceptionMXServer.evalEndDatepublic int getBranding()
getBranding in interface MXServerRemoteMXServer.getBranding()public void getPackagingInfo(UserInfo ui) throws MXException, java.rmi.RemoteException
getPackagingInfo in interface MXServerRemoteMXExceptionjava.rmi.RemoteExceptionMXServer.getPackagingInfo(psdi.security.UserInfo)public java.lang.String getMaxupgValue()
protected void configure(java.util.Properties propsFromFile)
throws java.lang.Exception
java.lang.Exceptionpublic MboSetRemote getMboSet(java.lang.String name, UserInfo user) throws MXException, java.rmi.RemoteException
getMboSet in interface MXServerRemoteMXExceptionjava.rmi.RemoteExceptionpublic void init(java.sql.Connection sysCon)
throws java.lang.Exception
java.lang.Exceptionprotected void initRegistryInfo()
throws java.lang.Exception
java.lang.Exceptionprotected void initEventTopicTree()
public static EventTopicTree getEventTopicTree()
public static java.util.Map getEventTopicsCache()
public static java.util.Map getGlobalEventTopicsCache()
public java.util.Set getMaximoCacheNames()
public void run()
public DBManager getDBManager()
public CronTaskManager getCronTaskManager()
public CronTaskManager getNewCronTaskManager()
public boolean isAdminModeOn(boolean allInstances)
throws MXException,
java.rmi.RemoteException
isAdminModeOn in interface MXServerRemoteallInstances - True to test Admin Mode for all instances using this database.
False to test Admin Mode for this instance only.MXExceptionjava.rmi.RemoteExceptionMXServer.isAdminModePending(),
AdminModeManagerpublic boolean isAdminModeOff(boolean allInstances)
throws MXException,
java.rmi.RemoteException
isAdminModeOff in interface MXServerRemoteallInstances - True to test for all instances using this database.
False to test for this instance only.MXExceptionjava.rmi.RemoteExceptionMXServer.isAdminModePending(),
AdminModeManagerpublic boolean isAdminModePending()
MXServer.isAdminModeOn(boolean),
AdminModeManagerpublic void listenToAdmin(MboRemote listenerMbo, boolean listen) throws MXException, java.rmi.RemoteException
listenToAdmin in interface MXServerRemotelistenerMbo - Instance of ProcessMonitor Mbolisten - True to listen, False to stop listeningMXExceptionjava.rmi.RemoteExceptionAdminModeManagerpublic MaximoDD getMaximoDD()
public MaximoMLDD getMaximoMLDD()
public MaxMessageCache getMaxMessageCache()
public AutoKeyCache getAutoKeyCache()
@Deprecated
public java.lang.String[] getAppServiceNames()
throws java.rmi.RemoteException
getAppServiceNames in interface MXServerRemotejava.rmi.RemoteExceptionpublic ServiceRemote lookup(java.lang.String name) throws java.rmi.RemoteException, MXException
lookup in interface MXServerRemotejava.rmi.RemoteExceptionMXExceptionpublic ServiceRemote lookup(java.lang.String name, UserInfo ui) throws java.rmi.RemoteException, MXException
lookup in interface MXServerRemotejava.rmi.RemoteExceptionMXExceptionpublic ServiceRemote lookupLocal(java.lang.String name) throws java.rmi.RemoteException, MXException
lookupLocal in interface MXServerRemotejava.rmi.RemoteExceptionMXExceptionpublic java.lang.String[] getLocalAppList()
throws java.rmi.RemoteException
getLocalAppList in interface MXServerRemotejava.rmi.RemoteExceptionpublic SrvCommRemote getSrvComm(java.lang.String name, java.lang.String passwd) throws MXApplicationException
getSrvComm in interface MXServerRemoteMXApplicationExceptionprotected void shutdown(java.lang.Object key)
public java.util.Hashtable getRemoteUsers()
public java.util.Date getDate()
throws java.rmi.RemoteException
getDate in interface MXServerRemotejava.rmi.RemoteExceptionpublic java.util.Date getDate(java.util.Locale l,
java.util.TimeZone tz)
throws java.rmi.RemoteException
l - tz - java.rmi.RemoteExceptionpublic static boolean isRMIEnabled()
public static void start(java.util.Properties propsFromFile)
throws java.lang.Exception
propsFromFile - Properties from the maximo properties file (not from the database).
These will include properties required for database connectivity.java.lang.Exceptionpublic static boolean isMTEnabled()
public static boolean isBotcInstalled()
public static boolean isInlineThreadLog()
public static boolean useClassicMaximo()
public static boolean hasFeatureToggle()
public static void setTenantRegContext(java.lang.Integer tenantID)
public static boolean isTenantRegContext()
public static void setTenantContext(UserInfo ui)
public static void clearTenantContext()
public static int setTenantContext(UserInfo ui, int tenantID) throws MXException
ui - tenantID - MXExceptionpublic static int getTenantContext()
public static int getTenantContext(boolean tenantNotSetCheck)
tenantNotSetCheck - MXExceptionpublic static boolean isMasterContext()
public void removeMaxSessionEntriesDeadForAnHour()
con - java.lang.Exceptionpublic void removeMaxSessionEntriesDeadForAnHour(java.sql.Connection con)
throws java.lang.Exception
con - java.lang.Exceptionpublic void retryAsyncTask(java.sql.Connection con,
java.lang.String serverName,
java.lang.String serverHost)
throws java.lang.Exception
con - serverName - serverHost - java.lang.Exceptionprotected void upgradeDatabaseCheck(java.sql.Connection con)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getMAXUPGValue(java.sql.Connection con,
java.lang.String name)
con - Database connection.public void needToRunUpdateDB(java.lang.String product,
java.lang.String maxupg,
java.lang.String newRelDBVersion,
java.lang.String lastRelDBVersion,
java.lang.String varName,
boolean checkHF)
throws java.lang.Exception
product - maxupg - Actual level (from varName).
If checking hotfix level and this is null on database, then param will be empty string.newRelDBVersion - Required level.
If checking hotfix level and none are required, this will be empty string.lastRelDBVersion - If checking hotfix level, this will be empty string.varName - Varname for getting actual level from maxvars table.checkHF - True if checking hotfix level, false is checking base level.java.lang.Exception@Deprecated public java.util.Properties getConfig()
getProperty for
getting the value of a single property.
This method should not be exposed remotely.@Deprecated public java.util.Properties getConfig(UserInfo userInfo)
getProperty for
getting the value of a single property.
If userInfo is null, this will return null.getConfig in interface MXServerRemoteuserInfo - UserInfo making the requestMXServer.getConfig(UserInfo userInfo)public java.lang.String getProperty(java.lang.String propName)
propName - Property nameMaxPropCache.getProperty(String)public java.lang.String getProperty(java.lang.String propName,
boolean checkExists)
propName - Property namecheckExists - Suppress log message if falseMaxPropCache.getProperty(String)public java.lang.String getProperty(java.lang.String propName,
UserInfo userInfo)
getProperty in interface MXServerRemotepropName - Property nameuserInfo - UserInfo making the requestMaxPropCache.getProperty(String)public java.lang.String getProperty(java.lang.String propName,
java.lang.String lang)
propName - Property namelang - Language codeMaxPropCache.getProperty(String, String)public java.lang.String getProperty(java.lang.String propName,
java.lang.String lang,
UserInfo userInfo)
getProperty in interface MXServerRemotepropName - Property namelang - Language codeuserInfo - UserInfo making the requestMaxPropCache.getProperty(String, String)public java.lang.String getPublicProperty(java.lang.String propName)
getPublicProperty in interface MXServerRemotepropName - Property nameMaxPropCache.getProperty(String)public java.lang.String getPublicProperty(java.lang.String propName,
java.lang.String lang)
getPublicProperty in interface MXServerRemotepropName - Property namelang - Language codeMaxPropCache.getProperty(String)public UserInfo getSystemUserInfo() throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic UserInfo getUserInfo(java.lang.String userIdentity) throws MXException, java.rmi.RemoteException
SecurityService
for the available forms of authenticateUser.MXExceptionjava.rmi.RemoteExceptionSecurityService.getUserInfo(String)public void enableService(java.lang.String svc)
throws MXException
MXExceptionpublic void disableService(java.lang.String svc)
public java.lang.String getURL()
protected void setURL(java.lang.String url)
public java.lang.String getRegistryHostName()
protected void setRegistryHostName(java.lang.String host)
public java.lang.String getRegistryPort()
protected void setRegistryPort(java.lang.String port)
public MXServerInfo getMXServerInfo()
protected void setMXServerInfo(MXServerInfo mxServerInfo)
public java.lang.String getName()
getName in interface MXServerRemoteMXServer.getName()protected void setName(java.lang.String name)
public void validateS2stokenConfigValue()
throws MXApplicationException
MXApplicationExceptionpublic java.lang.String validateThisApiKeyConfigValue(java.lang.String apiKey)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String resolveApiKey(java.lang.String apikey)
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic java.lang.String validateApiKeyConfigValue()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean isLocal(java.lang.String serviceUrl)
public MXTransaction createMXTransaction() throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static BulletinBoardServiceRemote getBulletinBoard() throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic static void sendEMail(java.lang.String to,
java.lang.String from,
java.lang.String subject,
java.lang.Throwable t)
throws javax.mail.MessagingException
javax.mail.MessagingExceptionpublic static void sendEMail(java.lang.String to,
java.lang.String from,
java.lang.String subject,
java.lang.String message)
throws javax.mail.MessagingException
javax.mail.MessagingExceptionpublic static void sendEMail(java.lang.String to,
java.lang.String from,
java.lang.String subject,
java.lang.String message,
java.lang.String attachment,
java.lang.String filename)
throws javax.mail.MessagingException
javax.mail.MessagingExceptionpublic static void sendEMail(java.lang.String[] to,
java.lang.String from,
java.lang.String subject,
java.lang.Throwable t)
throws javax.mail.MessagingException
javax.mail.MessagingExceptionpublic static void sendEMail(java.lang.String[] to,
java.lang.String from,
java.lang.String subject,
java.lang.String message)
throws javax.mail.MessagingException
javax.mail.MessagingExceptionpublic static void sendEMail(java.lang.String[] to,
java.lang.String from,
java.lang.String subject,
java.lang.String message,
java.lang.String attachment,
java.lang.String filename)
throws javax.mail.MessagingException
to - from - subject - message - attachment - filename - javax.mail.MessagingExceptionMXServer.sendEMail( String,String,String,String,String,String,String,String[],String[])public static void sendEMail(java.lang.String to,
java.lang.String cc,
java.lang.String bcc,
java.lang.String from,
java.lang.String subject,
java.lang.String message,
java.lang.String ReplyTo,
java.lang.String[] fileName,
java.lang.String[] urlName)
throws javax.mail.MessagingException
javax.mail.MessagingExceptionMXServer.sendEMail(String, String, String, String, String, String, String, String[], String[], Properties)public static void sendEMail(java.lang.String to,
java.lang.String cc,
java.lang.String bcc,
java.lang.String from,
java.lang.String subject,
java.lang.String message,
java.lang.String ReplyTo,
java.lang.String[] fileName,
java.lang.String[] urlName,
java.util.Properties overrideProps)
throws javax.mail.MessagingException
to - cc - bcc - from - subject - message - ReplyTo - fileName - urlName - overrideProps - Properties that should override the system mail properties for
this message. For example, "mail.smtp.sendpartial", "true".
Usually this parameter will be null or empty.javax.mail.MessagingExceptionpublic java.util.Properties getSystemProperties()
getSystemProperties in interface MXServerRemotepublic java.lang.String getDatabaseProductName()
getDatabaseProductName in interface MXServerRemotepublic java.lang.String getDatabaseProductSimpleVersion()
getDatabaseProductSimpleVersion in interface MXServerRemotepublic java.lang.String getDatabaseProductVersion()
getDatabaseProductVersion in interface MXServerRemotepublic int getDBPlatform()
UpgConstantspublic int getDBConnUsed()
throws java.rmi.RemoteException
getDBConnUsed in interface MXServerRemotejava.rmi.RemoteExceptionpublic java.lang.String[] getFreeMemory()
throws java.rmi.RemoteException
getFreeMemory in interface MXServerRemotejava.rmi.RemoteException@Deprecated public java.lang.String getUserLicenseKey()
getUserLicenseKey in interface MXServerRemotepublic java.lang.String getAppServerNameandVersion()
MXServerRemotegetAppServerNameandVersion in interface MXServerRemotepublic java.util.ArrayList getMEAServerVersion()
getMEAServerVersion in interface MXServerRemotepublic java.lang.String[] getMXServerVersion()
Version.getStringForHelpAboutDialog()public boolean isValidSite(java.lang.String siteId)
throws java.rmi.RemoteException
isValidSite in interface MXServerRemotejava.rmi.RemoteExceptionpublic boolean isValidOrganization(java.lang.String orgId)
throws java.rmi.RemoteException
isValidOrganization in interface MXServerRemotejava.rmi.RemoteExceptionpublic boolean isSiteInOrganization(java.lang.String siteId,
java.lang.String orgId)
throws java.rmi.RemoteException
isSiteInOrganization in interface MXServerRemotejava.rmi.RemoteExceptionpublic java.lang.String getOrganization(java.lang.String siteId)
throws java.rmi.RemoteException
getOrganization in interface MXServerRemotejava.rmi.RemoteExceptionpublic boolean isMxserverStarted()
public void checkAdminRestart()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void checkFailedTenants()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic MXCipher getMXCipher()
public byte[] encData(java.lang.String in,
int type)
throws MXException,
java.rmi.RemoteException
encData in interface MXServerRemotein - type - MaxTypeMXExceptionjava.rmi.RemoteExceptionpublic MXCipherX getMXCipherX()
@Deprecated public java.lang.String getNativeSql(java.lang.String jdbcSql)
jdbcSql - The sql string in jdbc format.userInfo - The UserInfo objectpublic UserInputBulletin getBulletin()
public void postUserInput(java.lang.String id,
java.lang.Object value,
UserInfo ui)
throws java.rmi.RemoteException
postUserInput in interface MXServerRemoteid - value - ui - MXExceptionjava.rmi.RemoteExceptionpublic java.lang.Object getUserInput(java.lang.String id,
UserInfo ui)
throws java.rmi.RemoteException
getUserInput in interface MXServerRemoteid - ui - java.rmi.RemoteExceptionpublic void removeUserInput(java.lang.String id,
UserInfo ui)
throws java.rmi.RemoteException
removeUserInput in interface MXServerRemoteid - ui - java.rmi.RemoteExceptionpublic void clearUserInput(UserInfo ui)
clearUserInput in interface MXServerRemoteui - java.rmi.RemoteExceptionpublic java.lang.String getBaseLang()
throws MXException,
java.rmi.RemoteException
getBaseLang in interface MXServerRemoteMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String[][] getLanguageList()
throws MXException,
java.rmi.RemoteException
getLanguageList in interface MXServerRemoteMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getMessage(java.lang.String group,
java.lang.String key,
java.lang.String langCode)
throws MXException,
java.rmi.RemoteException
getMessage in interface MXServerRemotegroup - key - MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getTaggedMessage(java.lang.String group,
java.lang.String key,
java.lang.String langCode)
throws MXException,
java.rmi.RemoteException
getTaggedMessage in interface MXServerRemotegroup - key - MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String[] getMessages(java.lang.String group,
java.lang.String[] key,
java.lang.String langCode)
throws MXException,
java.rmi.RemoteException
getMessages in interface MXServerRemotegroup - key - MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getMessage(MXException mxe, java.lang.String langCode) throws MXException, java.rmi.RemoteException
getMessage in interface MXServerRemotemxe - langCode - MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getTaggedMessage(MXException mxe, java.lang.String langCode) throws MXException, java.rmi.RemoteException
getTaggedMessage in interface MXServerRemotemxe - langCode - MXExceptionjava.rmi.RemoteExceptionpublic java.util.Map getMasterModifiedObjects()
throws MXException
serverName - MXExceptionpublic MboValueInfo getMasterMboValueInfo(MboRemote tenantMbo) throws MXException
tenantMbo - Tenant MboMXExceptionpublic java.util.ArrayList getWarnings(java.lang.Object id)
public void clearWarnings(java.lang.Object id)
public void addWarning(MXException e, java.lang.Object id)
public boolean hasWarnings(java.lang.Object id)
@Deprecated
public void incrementMboCount(java.lang.String name,
int tenantID)
public void decrementMboCount(java.lang.String name,
int tenantID)
name - tenantID - public void incrementMbosetCount(java.lang.String name,
int tenantID)
@Deprecated public void decrementMbosetCount(java.lang.String name)
public void decrementMbosetCount(java.lang.String name,
int tenantID)
public void incrementMbosetIPCount(java.lang.String objName,
java.lang.String clientHost,
java.lang.String clientAddr)
objName - MboSet nameclientHost - clientAddr - public void decrementMbosetIPCount(java.lang.String objName,
java.lang.String clientHost,
java.lang.String clientAddr)
objName - MboSet nameclientHost - clientAddr - public int getMboSetIPCount(java.lang.String objName,
java.lang.String clientHost,
java.lang.String clientAddr)
public java.lang.String printMaxsessionInfo()
public java.lang.String getMboCount()
public int getMboSetCount(java.lang.String objName)
objName - Object namepublic com.ibm.json.java.JSONObject getAllTenantsMboCountAsJSON()
public MaxConditionCache getConditionCache()
public DataRestrictionCache getDataRestrictionCache()
public MaxDomainCache getMaxDomainCache()
public java.io.InputStream setupLongOpPipe()
throws MXException
os - MXExceptionpublic void clearLongOpPipe()
public void writeLongOpMsg(java.lang.String msg)
public int getSQLServerPrefetchRows()
public MXServer.SecurityContextFlag getSecurityContext()
public void clearSecurityContext()
public void setSecurityCheck(MXServer.SecurityContextFlag securityFlag)
securityFlag - public boolean isSQLServerPrefetchRowsNeeded()
public java.util.Properties getMxServerConfig()
@Deprecated public SrvCommRemote getServerCommandRemote(java.lang.String name, java.lang.String passwd) throws MXApplicationException
getServerCommandRemote in interface MXServerRemotename - passwd - MXApplicationExceptionpublic SrvCommRemote getServerCommandRemote(UserInfo userInfo) throws MXApplicationException
getServerCommandRemote in interface MXServerRemoteMXApplicationException@Deprecated
public java.util.ArrayList getMboCounts()
throws MXApplicationException
getMboCounts in interface MXServerRemoteMXApplicationExceptionpublic java.util.ArrayList getMboCounts(int tenantID)
throws MXApplicationException
getMboCounts in interface MXServerRemoteMXApplicationExceptionpublic static MXServer.SmtpAuthenticator getMailAuth()
public java.lang.String getBaseCalendar()
public java.util.List getTenantIdsList(UserInfo landlordInfo, int status) throws java.rmi.RemoteException, MXException
landlordInfo - status - java.rmi.RemoteExceptionMXExceptionpublic java.util.List getAllTenantIdsList(UserInfo landlordInfo) throws java.rmi.RemoteException, MXException
landlordInfo - java.rmi.RemoteExceptionMXExceptionpublic void collectTenantDBConnInfo(UserInfo info) throws java.rmi.RemoteException, MXException
collectTenantDBConnInfo in interface MXServerRemotejava.rmi.RemoteExceptionMXExceptionpublic void collectTenantDBConForThisServer(UserInfo info) throws java.rmi.RemoteException, MXException
collectTenantDBConForThisServer in interface MXServerRemotejava.rmi.RemoteExceptionMXExceptionpublic void setProxy(java.rmi.Remote proxy)
setProxy in interface MaxRemoteProxypublic java.rmi.Remote getProxy()
getProxy in interface MaxRemoteProxypublic java.util.HashMap getTenantRealmMap()
throws MXException,
java.rmi.RemoteException
getTenantRealmMap in interface MXServerRemoteMXExceptionjava.rmi.RemoteExceptionpublic void clearTenantRealmMap()
throws java.rmi.RemoteException
clearTenantRealmMap in interface MXServerRemotejava.rmi.RemoteExceptionpublic void loadCustomApps()
public void loadCustomApps(java.sql.Connection con)
public boolean isManage()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteException