IDEMPIERE-4056 Implement cluster support for idempiere Monitor and Server Manager

This commit is contained in:
Heng Sin Low 2019-10-02 13:30:06 +08:00
parent 2cecee1a0c
commit c1d0f137cd
1 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ public class AdempiereServerMgr implements ServiceTrackerCustomizer<IServerFacto
* Get Adempiere Server Manager * Get Adempiere Server Manager
* @return mgr * @return mgr
*/ */
public synchronized static IServerManager get() public synchronized static AdempiereServerMgr get()
{ {
return get(true); return get(true);
} }
@ -65,7 +65,7 @@ public class AdempiereServerMgr implements ServiceTrackerCustomizer<IServerFacto
* Get Adempiere Server Manager * Get Adempiere Server Manager
* @return mgr * @return mgr
*/ */
public synchronized static IServerManager get(boolean createNew) public synchronized static AdempiereServerMgr get(boolean createNew)
{ {
if (m_serverMgr == null && createNew) if (m_serverMgr == null && createNew)
{ {