Examples of ResetLicenseServerAction


Examples of com.dotcms.enterprise.cluster.action.ResetLicenseServerAction

       
        try {
            //If we are removing a remote Server we need to create a ServerAction.
            if(UtilMethods.isSet(remoteServerId) && !remoteServerId.equals("undefined")){
              ResetLicenseServerAction resetLicenseServerAction = new ResetLicenseServerAction();
              Long timeoutSeconds = new Long(1);
             
              ServerActionBean resetLicenseServerActionBean =
                  resetLicenseServerAction.getNewServerAction(localServerId, remoteServerId, timeoutSeconds);
             
              resetLicenseServerActionBean = APILocator.getServerActionAPI()
                  .saveServerActionBean(resetLicenseServerActionBean);
             
              //Waits for 3 seconds in order all the servers respond.
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.